bool ITextCellViewFrontend.RaiseTextChanged() { if (TextChanged != null) { var args = new WidgetEventArgs (); TextChanged (this, args); return args.Handled; } return false; }
/// <summary> /// Raises the SelectionChanged event /// </summary> /// <returns><c>true</c>, if the event was handled, <c>false</c> otherwise.</returns> public bool RaiseSelectionChanged() { if (SelectionChanged != null) { var args = new WidgetEventArgs (); SelectionChanged (this, args); return args.Handled; } return false; }
/// <summary> /// Raises the toggled event /// </summary> /// <returns><c>true</c>, if the event was handled, <c>false</c> otherwise.</returns> public bool RaiseToggled() { if (Toggled != null) { var args = new WidgetEventArgs (); Toggled (this, args); return args.Handled; } return false; }
void SelectionChanged (object sender, WidgetEventArgs e) { Xwt.Application.Invoke (delegate { SaveChanges (); var panel = ParentDialog.GetPanel<SolutionRunConfigurationsPanel> ("General"); panel.RefreshList (); }); }
void CrtTextChanged (object sender, WidgetEventArgs e) { var crt = (TextCellView)sender; crt.TextChanged -= CrtTextChanged; var r = list.CurrentEventRow; NotifyChanged (); Xwt.Application.TimeoutInvoke (100, delegate { list.StartEditingCell (r, valueCell); return false; }); }