private void timer1_Tick(object sender, EventArgs e)
        {
            SetTimeInterval();

            try
            {
                CommonClass.CommonFunctions clsCommon = new CommonClass.CommonFunctions();
                clsCommon.Logger(System.Reflection.MethodBase.GetCurrentMethod().Name, "Batch Process Started--------------------");

                BatchProcessLife();
                clsCommon.Logger(System.Reflection.MethodBase.GetCurrentMethod().Name, "-Life Batch Done");

                BatchProcessGeneral();
                clsCommon.Logger(System.Reflection.MethodBase.GetCurrentMethod().Name, "-General Batch Done");

                BatchProcessNonTCS();
                clsCommon.Logger(System.Reflection.MethodBase.GetCurrentMethod().Name, "-NonTCS Batch Done");

                TCSReversedFeedBack();
                clsCommon.Logger(System.Reflection.MethodBase.GetCurrentMethod().Name, "-TCS Reversed Feedback Done");
            }
            catch (Exception ex)
            {
                CommonClass.CommonFunctions clsCommon = new CommonClass.CommonFunctions();
                clsCommon.Logger(System.Reflection.MethodBase.GetCurrentMethod().Name, ex.Message.ToString());

                CommonClass.ClsEmail clsEmail = new CommonClass.ClsEmail();
                clsEmail.ErrorNotifyEmail(ex);
                //Error Email/SMS Auto Generate
            }
        }
        private void Form1_Load(object sender, EventArgs e)
        {
            try
            {
                this.WindowState = FormWindowState.Minimized;

                notifyIcon1.BalloonTipText  = "Application Minimized.";
                notifyIcon1.BalloonTipTitle = "IBT-Application Minimized";

                ShowInTaskbar       = false;
                notifyIcon1.Visible = true;
                notifyIcon1.ShowBalloonTip(10);

                CommonClass.CommonFunctions clsCommon = new CommonClass.CommonFunctions();
                clsCommon.Logger(System.Reflection.MethodBase.GetCurrentMethod().Name, "*************** Application Started at " + DateTime.Now + " ***************");
            }
            catch (Exception ex)
            {
                CommonClass.CommonFunctions clsCommon = new CommonClass.CommonFunctions();
                clsCommon.Logger(System.Reflection.MethodBase.GetCurrentMethod().Name, ex.InnerException.ToString());
                throw;
            }
        }