private List <ExtendedControls.ExtGroupBox> AdditionalCmdrControls() { var gb = new List <ExtendedControls.ExtGroupBox>(); ExtendedControls.ExtGroupBox g1 = new ExtendedControls.ExtGroupBox() { Name = "CAPIGB", Height = 60, Text = "Frontier CAPI" }; capiButton = new ExtendedControls.ExtButton() { Location = new System.Drawing.Point(240, 23), ClientSize = new System.Drawing.Size(80, 20), Name = "CAPIButton" }; capiButton.Click += CapiButton_Click; capiclearloginButton = new ExtendedControls.ExtButton() { Location = new System.Drawing.Point(340, 23), ClientSize = new System.Drawing.Size(80, 20), Name = "ClearCAPIButton", Text = "Clear" }; capiclearloginButton.Click += clearLoginButton_Click; capiStateLabel = new Label() { Location = new System.Drawing.Point(4, 23), Name = "CAPIStatus" }; g1.Controls.Add(capiButton); g1.Controls.Add(capiclearloginButton); g1.Controls.Add(capiStateLabel); gb.Add(g1); return(gb); }
private List <ExtendedControls.ExtGroupBox> AdditionalCmdrControls() { var gb = new List <ExtendedControls.ExtGroupBox>(); ExtendedControls.ExtGroupBox g1 = new ExtendedControls.ExtGroupBox() { Height = 60, Text = "Frontier CAPI" }; capiButton = new ExtendedControls.ExtButton() { Location = new System.Drawing.Point(210, 23), ClientSize = new System.Drawing.Size(80, 20), Text = "Login" }; capiButton.Click += CapiButton_Click; capiStateLabel = new Label() { Location = new System.Drawing.Point(4, 23) }; g1.Controls.Add(capiButton); g1.Controls.Add(capiStateLabel); gb.Add(g1); return(gb); }