Beispiel #1
0
 private void OnRightClick()
 {
     //initialise le dialogue
     EditWnd wnd = new EditWnd("Propriétés du switch");
     wnd.DataContext = this;
     wnd.AddInput("Etat", "State");
     wnd.AddInput("Numéro PIN Entrée", "StatePin");
     wnd.AddInput("Numéro PIN Sortie", "PushPin");
     wnd.Owner = Application.Current.MainWindow;
     //affiche le dialogue
     wnd.ShowDialog();
 }