public void RebuildForms()
 {
     //Codes
     FrmAccTreeOptions = new AccTreeOptionsFrm();
     FrmEditorYear = new EditorYearFrm();
     FrmEditorAccountNature = new EditorAccountNatureFrm();
     FrmEditorSalesUnit = new EditorSalesUnitFrm();
     FrmEditorStore = new EditorStoreFrm();
     FrmEditorBank = new EditorBankFrm();
     FrmEditorCustomer = new EditorCustomerFrm();
     FrmEditorCDCategories = new EditorCDCategoriesFrm();
     FrmEditorSuppliers = new EditorSuppliersFrm();
     FrmEditorCompanies = new EditorCompaniesFrm();
     FrmEditorBillPayTypes = new EditorBillPayTypesFrm();
     FrmEditorJob = new EditorJobFrm();
     FrmEditorCDASNAF = new EditorCDASNAFFrm();
     //Data
     FrmAccTypesDlg = new AccTypesDlgFrm();
     FrmAccTypes = new AccTypesFrm();
     FrmConstraintsDaily = new ConstraintsDailyFrm();
     FrmDataEmp = new DataEmpFrm();
     FrmDataBill = new DataBillFrm();
     FrmDataSellBill = new DataSellBillFrm();
     FrmDataSellBillBarCode = new DataSellBillBarCodeFrm();
     FrmDataTblPricelists = new DataTblPricelistsFrm();
     //Queries
     FrmQrysells = new QrysellsFrm();
     FrmQryBuys = new QryBuysFrm();
     FrmItemAvailability = new ItemAvailabilityFrm();
     FrmQryBarcode = new QryBarcodeFrm();
     //Roles
     FrmEditorRole = new EditorRoleFrm();
     FrmEditorRoleMenu = new EditorRoleMenuFrm();
     FrmEditorUser = new EditorUserFrm();
     FrmEditorUserInRole = new EditorUserInRoleFrm();
     //Tools
     FrmSkins = new SkinsFrm();
 }
 private void dataTblPricelistsFrmToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (FrmDataTblPricelists.IsDisposed)
     {
         FrmDataTblPricelists = new DataTblPricelistsFrm();
         FrmDataTblPricelists.MdiParent = this;
         FrmDataTblPricelists.Show();
     }
     else
     {
         if (FrmDataTblPricelists.Visible)
         {
             FrmDataTblPricelists.WindowState = FormWindowState.Normal;
             FrmDataTblPricelists.Focus();
         }
         else
         {
             FrmDataTblPricelists.MdiParent = this;
             FrmDataTblPricelists.Show();
         }
     }
     FrmDataTblPricelists.Icon = MCls.MakeIcon(global::StoreAccount.Properties.Resources.dataTblPricelistsFrm, 16, false);
 }