Exemplo n.º 1
0
 private void OnTextBoxLeave(object sender, EventArgs e)
 {
     if (LeaveEditor != null)
     {
         LeaveEditor.Invoke(this, e);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Leaving the textbox event
 /// </summary>
 /// <param name="o">The calling object</param>
 /// <param name="e">The event arguments</param>
 private void OnTextBoxLeave(object o, EventArgs e)
 {
     ((o as Widget).Toplevel as Gtk.Window).RemoveAccelGroup(accel);
     if (LeaveEditor != null)
     {
         LeaveEditor.Invoke(this, e);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// Leaving the textbox event
 /// </summary>
 /// <param name="o">The calling object</param>
 /// <param name="e">The event arguments</param>
 private void OnTextBoxLeave(object o, EventArgs e)
 {
     try
     {
         ((o as Widget).Toplevel as Gtk.Window).RemoveAccelGroup(accel);
         if (LeaveEditor != null)
         {
             LeaveEditor.Invoke(this, e);
         }
     }
     catch (Exception err)
     {
         ShowError(err);
     }
 }