Esempio n. 1
0
 // Open/close the location recorder window
 private void showRecordButton_Click(object sender, EventArgs e)
 {
     if (_recordForm.Visible)
     {
         _recordForm.Hide();
     }
     else
     {
         _recordForm.Location = Point.Add(this.Location, new Size(0, this.Height));
         _recordForm.Show();
     }
 }