public frmSelectBigfileType() : base() { //mMinWidth = 700; mMinWidth = 582; //SetIcon(UI.Dialogue.ICON_QUESTION); this.Text = "Select BigFile type"; lblMessage.Text = "Please select the type of BigFile you are trying to open."; cbxTypes = new ComboBox(); cbxTypes.Width = 400; pnlText.Controls.Add(cbxTypes); cbxTypes.Location = new Point(8, cbxTypes.Location.Y); //add buttons UI.ResizingButton btnOK = new UI.ResizingButton(); btnOK.Text = "Use the selected file type"; btnOK.Click += new EventHandler(btnOK_Click); pnlButtons.Controls.Add(btnOK); UI.ResizingButton btnCancel = new UI.ResizingButton(); btnCancel.Text = "Cancel the file load"; btnCancel.Click += new EventHandler(btnCancel_Click); pnlButtons.Controls.Add(btnCancel); }
public frmRecognizedBigfile() : base() { //mMinWidth = 700; //SetIcon(UI.Dialogue.ICON_QUESTION); this.Text = "This BigFile is recognized"; //add buttons UI.ResizingButton btnYes = new UI.ResizingButton(); btnYes.Text = "Use the automatic settings"; btnYes.Click += new EventHandler(btnYes_Click); pnlButtons.Controls.Add(btnYes); UI.ResizingButton btnNo = new UI.ResizingButton(); btnNo.Text = "Choose the file type manually"; btnNo.Click += new EventHandler(btnNo_Click); pnlButtons.Controls.Add(btnNo); UI.ResizingButton btnCancel = new UI.ResizingButton(); btnCancel.Text = "Cancel the file load"; btnCancel.Click += new EventHandler(btnCancel_Click); pnlButtons.Controls.Add(btnCancel); }