Exemplo n.º 1
0
 public static void ShowDialog(string caption)
 {
     new System.Threading.Tasks.Task(() =>
     {
         var form = new KeyboardDialog { Text = caption };
         form.ShowDialog();
     }).Start();
 }
Exemplo n.º 2
0
        public static void ShowDialog(string caption, Point location, Size size)
        {
            new System.Threading.Tasks.Task(() =>
            {
                var form = new KeyboardDialog { Text = caption, ShownLocation = location, ClientSize = size };
                form.ShowDialog();

            }).Start();
        }
Exemplo n.º 3
0
 public static void ShowDialog(string caption)
 {
     new System.Threading.Tasks.Task(() =>
     {
         var form = new KeyboardDialog {
             Text = caption
         };
         form.ShowDialog();
     }).Start();
 }
Exemplo n.º 4
0
 public static void ShowDialog(string caption, Point location, Size size)
 {
     new System.Threading.Tasks.Task(() =>
     {
         var form = new KeyboardDialog {
             Text = caption, ShownLocation = location, ClientSize = size
         };
         form.ShowDialog();
     }).Start();
 }