private void button1_Click_1(object sender, EventArgs e) { if (eventslog == null) { eventslog = new EventsLogForm(this); } eventslog.Show(); eventslog.WindowState = FormWindowState.Normal; eventslog.BringToFront(); m_debugmode = true; LogMessage(MethodInfo.GetCurrentMethod().Name, "Opened Events Log."); }
internal void ClearEventsLogReference() { m_debugmode = false; eventslog = null; }