public static void Start() { FrmMenu frm = new FrmMenu(); FrmPassword frm1 = new FrmPassword(); FrmLanguage frm2 = new FrmLanguage(); FrmKeyBoard frm3 = new FrmKeyBoard(); FrmProgEnd frm4 = new FrmProgEnd(); }
private void TimerLogin_Tick(object sender, EventArgs e) { this.m_LoginTime++; if (this.m_LoginTime > this.m_maxTimeLogin) { this.m_LoginTime = 0; this.m_timerLogin.Enabled = false; this.m_parameter.ActualUser = "******"; this.m_parameter.PasswordOk = false; FrmMenu frm = (FrmMenu)this.m_formularManager.GetFormular("FrmMenu"); frm.SetBtnUser(); this.SetUserRight(); } }
/** * \brief Dem Formular Menu einen Button zum Oeffnen des gewuenschten Formulars hinzufuegen * * \param buttonStyle Gewuenschter Buttontype * \param formularName Formular zum Anzeigen */ public void AddButton(CompBitButtonStyle buttonStyle, string formularName) { FrmMenu frm = (FrmMenu)this.m_formulars["FrmMenu"]; frm.AddBitButton(buttonStyle, formularName); }
/** * \brief Dem Formular Menu der Button "Alle Formulare schliessen" hinzufuegen */ public void AddBitButtonCloseAll() { FrmMenu frm = (FrmMenu)this.m_formulars["FrmMenu"]; frm.AddBitButtonCloseAll(); }