diff --git a/Controls/PreFlight/CheckListControl.Designer.cs b/Controls/PreFlight/CheckListControl.Designer.cs index 4d46bf9d96..82f02e341d 100644 --- a/Controls/PreFlight/CheckListControl.Designer.cs +++ b/Controls/PreFlight/CheckListControl.Designer.cs @@ -42,6 +42,7 @@ private void InitializeComponent() this.BUT_edit.Size = new System.Drawing.Size(34, 23); this.BUT_edit.TabIndex = 0; this.BUT_edit.Text = "Edit"; + this.BUT_edit.TextColorNotEnabled = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(87)))), ((int)(((byte)(4))))); this.BUT_edit.UseVisualStyleBackColor = true; this.BUT_edit.Click += new System.EventHandler(this.BUT_edit_Click); // @@ -68,6 +69,7 @@ private void InitializeComponent() this.DoubleBuffered = true; this.Name = "CheckListControl"; this.Size = new System.Drawing.Size(268, 179); + this.Load += new System.EventHandler(this.CheckListControl_Load); this.ResumeLayout(false); } diff --git a/Controls/PreFlight/CheckListControl.cs b/Controls/PreFlight/CheckListControl.cs index 443d692918..96cd25871c 100644 --- a/Controls/PreFlight/CheckListControl.cs +++ b/Controls/PreFlight/CheckListControl.cs @@ -17,6 +17,16 @@ public partial class CheckListControl : UserControl int rowcount = 0; + //Controls and the lists for the controls + private GroupBox gb = new GroupBox(); + private Label desc = new Label(); + private Label text = new Label(); + private CheckBox tickbox = new CheckBox(); + private List groupboxes = new List(); + private List