コード例 #1
0
ファイル: DialogEditor.cs プロジェクト: thomaswp/StoryArc
 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
ファイル: StoryGame.cs プロジェクト: thomaswp/StoryArc
 public Dialog AddDialog()
 {
     Dialog dialog = new Dialog(this);
     Dialogs.Add(dialog);
     return dialog;
 }