Control.Move イベント
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文public: event EventHandler^ Move { void add (EventHandler^ value); void remove (EventHandler^ value); }
/** @event */ public void add_Move (EventHandler value) /** @event */ public void remove_Move (EventHandler value)
解説
使用例Move イベントを使用して、フォームのキャプション バーにフォームの位置を画面座標で表示するコード例を次に示します。
' The following example displays the location of the form in screen coordinates ' on the caption bar of the form. Private Sub Form1_Move(sender As Object, e As System.EventArgs) Handles MyBase.Move Me.Text = "Form screen position = " + Me.Location.ToString() End Sub
// The following example displays the location of the form in screen coordinates // on the caption bar of the form. private void Form1_Move(object sender, System.EventArgs e) { this.Text = "Form screen position = " + this.Location.ToString(); }
プラットフォームWindows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からControl.Move イベントを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からControl.Move イベント
を検索
- Control.Move イベントのページへのリンク