2 using System.Collections.Generic;
3 using System.ComponentModel;
7 using System.Windows.Forms;
9 namespace Sample_Environment_Control_Interface.Dialogs.Messages
15 InitializeComponent();
18 this.txtMessage.Text = message;
22 public Generic_PopUp(String Title, String message, String yestext, String notext)
24 InitializeComponent();
27 this.txtMessage.Text = message;
29 this.button1.Text = yestext;
30 this.button1.Visible =
true;
32 this.button2.Text = notext;
33 this.button2.Visible =
true;
35 this.btnOK.Visible =
false;
53 DialogResult = DialogResult.Yes;
60 DialogResult = DialogResult.No;