Inheritance: System.Windows.Forms.Form
Example #1
0
 public bool BeginUserSettings()
 {
     var form = new EnterStringForm();
     form.Value = Message;
     form.Text = "Введите сообщение для отображения";
     if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         this.Message = form.Value;
         return true;
     }
     else return false;
 }
Example #2
0
 public bool BeginUserSettings()
 {
     var form = new EnterStringForm()
     {
         Text = "Ввод названия процесса",
         Value = ProcessName
     };
     if (form.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         ProcessName = form.Value;
         return true;
     }
     return false;
 }