private void PictureBoxRecordButton_Click(object sender, EventArgs e) { if (this.RecordForm.Created) { this.RecordForm.Activate(); this.RecordForm.Focus(); } else { this.RecordForm = new Record.FormMain(); this.RecordForm.Show(); } }
public void CloseRecordForm() { this.RecordForm = null; }