Example #1
0
 private void Form1_Move(object sender, EventArgs e)
 {
     if (imgForm == null || imgForm.IsDisposed)
     {
         imgForm = new FormImage();
     }
     imgForm.Location = new Point(this.Location.X + this.Width, this.Location.Y);
 }
Example #2
0
 private void dgvAlarms_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (imgForm == null || imgForm.IsDisposed)
     {
         imgForm          = new FormImage();
         imgForm.Location = new Point(this.Location.X + this.Width, this.Location.Y);
     }
     imgForm.Show();
 }