コード例 #1
0
ファイル: MessageBox.xaml.cs プロジェクト: shew990/github
 public LED_DialogParameters(string strHander, string strContent, LED_MessageBoxButton btnMessageBoxButton)
 {
     this.Hander = strHander;
     this.Content = strContent;
     this.MessageBoxButton = btnMessageBoxButton;
 }
コード例 #2
0
ファイル: MessageBox.xaml.cs プロジェクト: shew990/github
 /// <summary>
 /// 弹出自定义选择对话框
 /// </summary>
 /// <param name="strContent">需要提示的内容</param>
 /// <returns></returns>
 public static LED_MessageBoxResult Show(string strContent, LED_MessageBoxButton btnMessageBoxButton)
 {
     LED_DialogParameters paerameter = new LED_DialogParameters("询问", strContent, btnMessageBoxButton);
     return Show(paerameter);
 }