Exemplo n.º 1
0
 bool ITextCellViewFrontend.RaiseTextChanged()
 {
     if (TextChanged != null) {
         var args = new WidgetEventArgs ();
         TextChanged (this, args);
         return args.Handled;
     }
     return false;
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 /// <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;
			});
		}