public MainForm()
        {
            InitializeComponent();

            try
            {
                ols   = new Ols();
                utils = new Util();

                CheckOlsStatus();
                ReadTimings();
            }
            catch (ApplicationException ex)
            {
                SplashForm.CloseForm();
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
                Dispose();
                Application.Exit();
            }
        }
 private void MainForm_Shown(object sender, EventArgs e)
 {
     SplashForm.CloseForm();
     ShowWindow();
     MinimizeFootprint();
 }