private void butLogOut_Click(object sender, EventArgs e)
        {
            config.Global.loggedUser = "";
            lblStatus.Text = "";
            this.mainForm_Load(null, null);
            frmLogin frm = new frmLogin();
            frm.ShowDialog();

            if (frm.BClosed)
            {
                this.Close();
            }
            lblStatus.Text = " " + config.Global.loggedUser + "  @ " + DateTime.Now.ToLongDateString() + "  " + DateTime.Now.ToShortTimeString();
        }
        private void mainForm_Load(object sender, EventArgs e)
        {
            disposeContainer();
            toolStripReport.Visible = true;
            toolStrip2.Visible = false;
            toolStrip3.Visible = false;
            combotypeSelect.SelectedText = "फारम ग";

            if (sender != null)
            {
                frmLogin frm = new frmLogin();
                frm.ShowDialog();
                if (frm.BClosed)
                {
                    this.Close();
                }
                lblStatus.Text = " " + config.Global.loggedUser + "  @ " + DateTime.Now.ToLongDateString() + "  " + DateTime.Now.ToShortTimeString();

            }
        }