public static bool InputIntegerDialog(this UIPage form, ref int value, int minimum, int maximum, bool checkEmpty = true, string desc = "请输入数字:") { return(InputIntegerDialog(ref value, minimum, maximum, checkEmpty, desc, form != null ? form.Style : UIStyle.Blue, form != null && form.TopMost)); }
public void AddPage(UIPage page) => Helper.AddPage(page);
public static bool InputPasswordDialog(this UIPage form, ref string value, bool checkEmpty = true, string desc = "请输入密码:") { return(InputPasswordDialog(ref value, checkEmpty, desc, form != null ? form.Style : UIStyle.Blue, form != null && form.TopMost)); }
public static bool ShowSelectDialog(this UIPage form, ref int selectIndex, IList items, string title, string description) { return(form.ShowSelectDialog(ref selectIndex, items, title, description, form.Style, form.TopMost)); }
public static bool ShowSelectDialog(this UIPage form, ref int selectIndex, IList items) { return(form.ShowSelectDialog(ref selectIndex, items, form.Style)); }
public static bool InputDoubleDialog(this UIPage form, ref double value, double minimum, double maximum, int decimals = 2, bool checkEmpty = true, string desc = "请输入数字:") { return(InputDoubleDialog(ref value, minimum, maximum, decimals, checkEmpty, desc, form.Style, form.TopMost)); }
public static bool InputIntegerDialog(this UIPage form, ref int value, bool checkEmpty = true, string desc = "请输入数字:") { return(InputIntegerDialog(ref value, checkEmpty, desc, form.Style, form.TopMost)); }
public static bool InputStringDialog(this UIPage form, ref string value, bool checkEmpty = true, string desc = "请输入字符串:") { return(InputStringDialog(ref value, checkEmpty, desc, form.Style, form.TopMost)); }