public Signature2(BaseForm sig1) { InitializeComponent(); prevForm = sig1; menuItemBack.Click += new EventHandler(menuItemBack_Click); menuItemSave.Click += new EventHandler(menuItemSave_Click); }
public AdressSIP2(BaseForm aSip1, BaseForm startForm) { InitializeComponent(); vKeyboard1.KeyBeep = conUt.GoodSound; prevForm = aSip1; this.menuItemSave.Enabled = true; this.menuItemSave.Text = "Ok"; this.menuItemSave.Click += new EventHandler(menuItemSave_Click); }
protected void GotoForm(BaseForm targetForm) { //HGO try { this.Deactivate -= new EventHandler(BaseForm_Deactivate); targetForm.Activate(); targetForm.Visible = true; //Kiosk Mode Stuff has to be done in the application and NOT in client or hosted controls shFullScreen.hideStartButton(targetForm); } catch (Exception ex) { MessageBox.Show("Kann Dialog " + targetForm.Text + " nicht öffnen. \n" + ex.Message); } }
private void GotoMenuItem(BaseForm targetForm) { exitKey = 0; this.KeyDown -= new KeyEventHandler(Form1_KeyDown); GotoForm(targetForm); }