Пример #1
0
 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));
 }
Пример #2
0
 public void AddPage(UIPage page) => Helper.AddPage(page);
Пример #3
0
 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));
 }
Пример #4
0
 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));
 }
Пример #5
0
 public static bool ShowSelectDialog(this UIPage form, ref int selectIndex, IList items)
 {
     return(form.ShowSelectDialog(ref selectIndex, items, form.Style));
 }
Пример #6
0
 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));
 }
Пример #7
0
 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));
 }
Пример #8
0
 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));
 }