public CollectionRenameView() { InitializeComponent(); textBox_newCollectionName.TextChanged += (s, a) => CollectionNameChanged?.Invoke(this, EventArgs.Empty); button_rename.Click += (s, a) => Submited?.Invoke(this, EventArgs.Empty); button_cancel.Click += (s, a) => Canceled?.Invoke(this, EventArgs.Empty); }
private void Button_renameOnClick(object sender, EventArgs e) { ActiveControl = textBox_newCollectionName; Submited?.Invoke(this, EventArgs.Empty); }
public void EmitSubmited() { Submited?.Invoke(this, EventArgs.Empty); }
private void ActionBtn_Tapped(object sender, TappedRoutedEventArgs e) { Submited?.Invoke(this, e); }