private void OnExit(object sender, EventArgs e)
 {
     NotifierHelper.StopSimulation();
     SampleHelper.RemoveSampleRepository(mSampleRep);
     SampleHelper.RemoveSampleRepository(mSecondRep);
     Application.Exit();
 }
        public Notifier()
        {
            ConfigureMenu();

            string server = Configuration.ServerName;

            mSampleRep = SampleHelper.GenerateRepositoryWithData(server);
            mSecondRep = SampleHelper.GenerateEmptyRepository(server);

            if (Configuration.IsSimulation)
            {
                NotifierHelper.StartSimulation(mSampleRep);
            }
        }