protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { if (Configuration.IsSimulation) { CMboxHelper.StopSimulation(); } SampleHelper.RemoveSampleRepository(mSampleRep); Application.Exit(); }
private void OnExit(object sender, EventArgs e) { if (Configuration.IsSimulation) { CMboxHelper.StopSimulation(); } SampleHelper.RemoveSampleRepository(mSampleRep); mTrayIcon.Visible = false; Application.Exit(); }
public CMbox() { ConfigureMenu(); string server = Configuration.ServerName; mSampleRep = SampleHelper.GenerateEmptyRepository(server); if (Configuration.IsSimulation) { CMboxHelper.StartSimulation(); } }
public MiniGUI() { InitializeComponent(); string server = Configuration.ServerName; mSampleRep = SampleHelper.GenerateEmptyRepository(server); if (Configuration.IsSimulation) { CMboxHelper.StartSimulation(); } }