private void init(ScrumQueueDialogType Dialogtype, int XLocation, int YLocation)
 {
     // set the dialog type
     if (Dialogtype == ScrumQueueDialogType.OK)
     {
         this.button_Yes.Visible = false;
         this.button_No.Text     = "OK";
         this.Size = new Size(385, 150);
     }
 }
 public ScrumQueueDialog(string message, string detailedMessage, ScrumQueueDialogType Dialogtype, int XLocation, int YLocation)
 {
     // UI init
     InitializeComponent();
     // set the dialog type
     this.Dialogtype = Dialogtype;
     // set the message
     this.label_LabelMessage.Text = message;
     // set the detailed message in textbpx
     this.textBox_Message.Text = detailedMessage;
     // make sure cursor is at the start
     this.textBox_Message.SelectionStart = 0;
     // contiue UI set up based on input
     this.init(Dialogtype, XLocation, YLocation);
 }
 public ScrumQueueDialog(string message, string detailedMessage, ScrumQueueDialogType Dialogtype, int XLocation, int YLocation)
 {
     // UI init
     InitializeComponent();
     // set the dialog type
     this.Dialogtype = Dialogtype;
     // set the message
     this.label_LabelMessage.Text = message;
     // set the detailed message in textbpx
     this.textBox_Message.Text = detailedMessage;
     // make sure cursor is at the start
     this.textBox_Message.SelectionStart = 0;
     // contiue UI set up based on input
     this.init(Dialogtype,  XLocation,  YLocation);
 }
 public ScrumQueueDialog()
 {
     InitializeComponent();
     this.Dialogtype = ScrumQueueDialogType.OK;
     this.init(Dialogtype, -1, -1);
 }
 private void init(ScrumQueueDialogType Dialogtype, int XLocation, int YLocation)
 {
     // set the dialog type
     if (Dialogtype == ScrumQueueDialogType.OK)
     {
         this.button_Yes.Visible = false;
         this.button_No.Text = "OK";
         this.Size = new Size(385, 150);
     }
 }