コード例 #1
0
ファイル: UIFormHelper.cs プロジェクト: yymgub1/SunnyUI
 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
ファイル: UIFormHelper.cs プロジェクト: yymgub1/SunnyUI
 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
ファイル: UIFormHelper.cs プロジェクト: yymgub1/SunnyUI
 public static bool ShowSelectDialog(this UIForm form, ref int selectIndex, IList items)
 {
     return(form.ShowSelectDialog(ref selectIndex, items, form.Style));
 }
コード例 #4
0
ファイル: UIFormHelper.cs プロジェクト: yymgub1/SunnyUI
 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
ファイル: UIFormHelper.cs プロジェクト: yymgub1/SunnyUI
 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));
 }