//VERSION BUTTON CLICK HANDLER private void version_MouseClick(object sender, MouseEventArgs e) { if (change_log_activation_state == false) { change_log change_log_instance = new change_log(); change_log_instance.Show(); } else { Form change_log_reference = Application.OpenForms["change_log"]; if (change_log_reference != null) { change_log_reference.Focus(); } } }
//TOOL STRIP ITEM(CHANGE LOG) private void changeLogToolStripMenuItem_Click(object sender, EventArgs e) { if (change_log_activation_state == false) { change_log change_log_instance = new change_log(); change_log_instance.Show(); } else { Form change_log_reference = Application.OpenForms["change_log"]; if (change_log_reference != null) { change_log_reference.Focus(); } } }