program: Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MrSViews.HomeMain()); ------------------------------------ home form : load event : CompanyConfig.CheckData frml = new CompanyConfig.CheckData(); frml.ShowDialog(); ----------------------------------------------- login : if (loginCount != 0) { //true got to home } else { LBLerrorMSG.Text = strings.PASSWORD_IS_NOT_CORRECT; LBLerrorMSG.ForeColor = ProjectColors.ErrorNormal; return; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)