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 イベントのページへのリンク