private void changeWarehouseToolStripMenuItem_Click(object sender, EventArgs e)
        {
            LMSWarehouse.FrmPassword FPassword = new FrmPassword(CompanyID, UserID, WarehouseID);
            FPassword.ShowDialog();
            UserID      = FPassword.UserID;
            WarehouseID = FPassword.WarehouseID;
            CompanyID   = FPassword.CompanyID;

            this.Text = "LMS Warehouse Management :- " + FPassword.WarehouseName;

            if (WS.IsTest())
            {
                this.Text = "TESTING SYSTEM: - " + this.Text;
            }

            if (UserID == 0)
            {
                Close();
            }
            LoadReports();
        }
        private void FrmMain_Load(object sender, EventArgs e)
        {
            this.Text = "LMS Warehouse Management (" + Version + ")";
            versionToolStripMenuItem.Text = "Version " + Version;

            LMSWarehouse.FrmPassword FPassword = new FrmPassword(CompanyID, UserID, WarehouseID);
            FPassword.ShowDialog();
            UserID      = FPassword.UserID;
            WarehouseID = FPassword.WarehouseID;
            CompanyID   = FPassword.CompanyID;

            this.Text = "LMS Warehouse Management (" + Version + "): - " + FPassword.WarehouseName;

            if (WS.IsTest())
            {
                this.Text = "TESTING SYSTEM (" + Version + "): - " + this.Text;
            }

            if (UserID == 0)
            {
                Close();
            }
            LoadReports();
        }