private void viewScheduleToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ScheduleReportForm newMDIChild = new ScheduleReportForm();

            newMDIChild.MdiParent = this;
            newMDIChild.Show();
        }
        private void MainForm_Load(object sender, EventArgs e)
        {
            // Getting Sms Contact Number From Path
            string smsNumberPath = Path.GetDirectoryName(Application.ExecutablePath).ToString() + General.smsContact;

            string[] num     = File.ReadAllLines(smsNumberPath);
            string   numpath = string.Empty;

            if (num.Length > 0)
            {
                numpath = num[0];
            }


            string filepath = Path.GetDirectoryName(Application.ExecutablePath).ToString() + General.smsCount;

            string[] str  = File.ReadAllLines(filepath);
            string   path = string.Empty;

            if (str.Length > 0)
            {
                path = str[0];
            }

            if (todayDate != path)
            {
                //send_Sms();
            }

            ScheduleReportForm newMDIChild = new ScheduleReportForm();

            newMDIChild.MdiParent = this;
            newMDIChild.Show();
            if (IS_BATA_AUTO == false)
            {
                wagesLimitSettingToolStripMenuItem1.Visible = false;
            }
            if (IS_MILEAGE_AUTO == false)
            {
                mileageLimitSettingToolStripMenuItem.Visible = false;
            }
            if (IS_WAGES_AUTO == false)
            {
                wagesLimitSettingToolStripMenuItem.Visible = false;
            }
            if (IS_DIESEL_AUTO == false)
            {
                dieselPriceToolStripMenuItem.Visible = false;
            }
        }