public static T Show <T>(this Eto.Forms.Dialog <T> dialog, Eto.Forms.Control parent) { #if IDE return(dialog.ShowModal(null)); #else return(dialog.ShowModal(parent)); #endif }
public static Eto.Forms.DialogResult Show(this Eto.Forms.CommonDialog dialog, Eto.Forms.Control parent) { #if IDE return(dialog.ShowDialog(null)); #else return(dialog.ShowDialog(parent)); #endif }
public static int ToRight(Eto.Forms.Control ctrl) { return(ctrl.Location.X + ctrl.Size.Width + 5); }
public static int ToBotton(Eto.Forms.Control ctrl) { return(ctrl.Location.Y + ctrl.Size.Height + 5); }