示例#1
0
 public static bool ShowSelectDialog(this UIForm form, ref int selectIndex, IList items, string title, string description)
 {
     return(form.ShowSelectDialog(ref selectIndex, items, title, description, form.Style));
 }
示例#2
0
 public static bool InputDoubleDialog(this UIForm 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));
 }
示例#3
0
 public static bool ShowSelectDialog(this UIForm form, ref int selectIndex, IList items)
 {
     return(form.ShowSelectDialog(ref selectIndex, items, form.Style));
 }
示例#4
0
 public static bool InputPasswordDialog(this UIForm form, ref string value, bool checkEmpty = true, string desc = "请输入密码:")
 {
     return(InputPasswordDialog(ref value, checkEmpty, desc, form.Style));
 }
示例#5
0
 public static bool InputIntegerDialog(this UIForm form, ref int value, int minimum, int maximum, bool checkEmpty = true, string desc = "请输入数字:")
 {
     return(InputIntegerDialog(ref value, minimum, maximum, checkEmpty, desc, form.Style));
 }
示例#6
0
 public static bool ShowSelectDialog(this UIForm form, ref int selectIndex, IList items, string title, string description)
 {
     return(form.ShowSelectDialog(ref selectIndex, items, title, description, form != null ? form.Style : UIStyle.Blue, form != null && form.TopMost));
 }
示例#7
0
 public static bool InputDoubleDialog(this UIForm form, ref double value, int decimals = 2, bool checkEmpty = true, string desc = "请输入数字:")
 {
     return(InputDoubleDialog(ref value, decimals, checkEmpty, desc, form != null ? form.Style : UIStyle.Blue, form != null && form.TopMost));
 }
示例#8
0
 public static bool InputIntegerDialog(this UIForm form, ref int value, bool checkEmpty = true, string desc = "请输入数字:")
 {
     return(InputIntegerDialog(ref value, checkEmpty, desc, form != null ? form.Style : UIStyle.Blue, form != null && form.TopMost));
 }
示例#9
0
 public static bool InputPasswordDialog(this UIForm 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));
 }
示例#10
0
 public static bool InputStringDialog(this UIForm form, ref string value, bool checkEmpty = true, string desc = "请输入字符串:")
 {
     return(InputStringDialog(ref value, checkEmpty, desc, form.Style, form.TopMost));
 }