private void OnCameraSettingsClick(object sender, EventArgs e) { if (m_camCtlDlg.IsVisible()) { m_camCtlDlg.Hide(); } else { m_camCtlDlg.Show(); } }
private void toolStripButtonCameraControl_Click(object sender, EventArgs e) { if (m_camCtlDlg.IsVisible()) { m_camCtlDlg.Hide(); toolStripButtonCameraControl.Checked = false; } else { m_camCtlDlg.Show(); toolStripButtonCameraControl.Checked = true; } }