Inheritance: System.Windows.Forms.Form
Exemplo n.º 1
0
 private void list_DoubleClick(object sender, EventArgs e)
 {
     if (this.list.SelectedItems.Count == 0)
         return;
     ListViewItem item = this.list.SelectedItems[0];
     if (mover == null)
         mover = new WindowMover();
     mover.SetWindowHandle((IntPtr)item.Tag);
     mover.ShowDialog(this);
 }
Exemplo n.º 2
0
        private void list_DoubleClick(object sender, EventArgs e)
        {
            if (this.list.SelectedItems.Count == 0)
            {
                return;
            }
            ListViewItem item = this.list.SelectedItems[0];

            if (mover == null)
            {
                mover = new WindowMover();
            }
            mover.SetWindowHandle((IntPtr)item.Tag);
            mover.ShowDialog(this);
        }