Пример #1
0
 public static void showMessage(String title, String text)
 {
     if (dialog == null || dialog.IsDisposed)
     {
         dialog = new SmallDialog_ShowMessage();
     }
     if (text == null)
     {
         text = "";
     }
     dialog.Text = title;
     dialog.richTextBox_Content.Text = text;
     dialog.ShowDialog();
 }
 public static void showMessage(String title,String text)
 {
     if (dialog == null || dialog.IsDisposed)
     {
         dialog = new SmallDialog_ShowMessage();
     }
     if (text == null)
     {
         text = "";
     }
     dialog.Text = title;
     dialog.richTextBox_Content.Text = text;
     dialog.ShowDialog();
 }