// -------- Initializator -------- public StatementEditor() { InitializeComponent(); LoadEvents(); LoadConditions(); instance = this; }
private void PlayerStatementButton_Click(object sender, RoutedEventArgs e) { newStatement = new Statement(string.Empty, string.Empty); ConversationsPage.Instance.OpenEditorNoEffect(StatementEditor.Open(newStatement, false)); }