Exemple #1
0
        private void newToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewClient newClient = new NewClient();

            newClient.MdiParent = this;
            newClient.Show();
        }
Exemple #2
0
 private void Edit_Click(object sender, RoutedEventArgs e)
 {
     if (lb.SelectedItem != null)
     {
         NewClient win = new NewClient(lb.SelectedItem as DB.Kunde);
         win.Show();
     }
 }
Exemple #3
0
 private void barButtonItem8_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (newcl == null)
     {
         newcl           = new NewClient();
         newcl.MdiParent = Accueil.ActiveForm;
         newcl.Show();
         newcl.BringToFront();
     }
     else
     {
         newcl.MdiParent = Accueil.ActiveForm;
         newcl.Show();
         newcl.BringToFront();
     }
 }
Exemple #4
0
        private void New_Click(object sender, RoutedEventArgs e)
        {
            NewClient NewClient = new NewClient();

            NewClient.Show();
        }