Beispiel #1
0
 public Signature2(BaseForm sig1)
 {
     InitializeComponent();
     prevForm = sig1;
     menuItemBack.Click += new EventHandler(menuItemBack_Click);
     menuItemSave.Click += new EventHandler(menuItemSave_Click);
 }
Beispiel #2
0
        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);

        }
Beispiel #3
0
 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);
     }
 }
Beispiel #4
0
 private void GotoMenuItem(BaseForm targetForm)
 {
     exitKey = 0;
     this.KeyDown -= new KeyEventHandler(Form1_KeyDown);
     GotoForm(targetForm);
 }