예제 #1
0
 private void selectDialog()
 {
     int index = comboBoxDialog.SelectedIndex;
     if (index < 0 || index > Dialogs.Count) selectedDialog = null;
     else selectedDialog = Dialogs[index];
     bindings.Target = selectedDialog;
     if (selectedDialog == null) this.comboBoxDialog.Text = "";
     updateDialogName();
 }
예제 #2
0
 public Dialog AddDialog()
 {
     Dialog dialog = new Dialog(this);
     Dialogs.Add(dialog);
     return dialog;
 }