private void Button_Confirm_Click(object sender, RoutedEventArgs e) { Data.Name = TextBox_Name.Text; Data.Description = TextBox_Description.Text; Data.Text = TextBox_Command.Text; PopupDialog.OnConfirmInvoke(); PopupDialog.Close(); }
protected void Update() { if (Input.GetKeyDown(KeyCode.C)) { PopupDialog.Close(); } if (Input.GetKeyDown(KeyCode.Alpha0)) { OpenNoOptions(); } if (Input.GetKeyDown(KeyCode.Alpha1)) { OpenOneOption(); } if (Input.GetKeyDown(KeyCode.Alpha2)) { OpenTwoOptions(); } }
private void Button_Cancel_Click(object sender, RoutedEventArgs e) { PopupDialog.OnCancelInvoke(); PopupDialog.Close(); }
private void Button_Confirm_Click(object sender, RoutedEventArgs e) { PopupDialog.Close(); }
private void Button_Redo_Click(object sender, RoutedEventArgs e) { ButtonRedoAction?.Invoke(); PopupDialog.Close(); }