////////////////////////////////////////////////////////////////////// // Func: DrawSDKGroup() // Desc: Draws the SDK Group Panel ////////////////////////////////////////////////////////////////////// private int DrawSDKGroup(int components_Top_Position, int components_Left_Position, int GroupBox_SDKs_WIDTH, int intialPosX, bool hOnly) { // // groupSDKs // this.groupSDKs = new System.Windows.Forms.GroupBox(); // intentionally initialized if (!hOnly) { this.groupSDKs.Dock = System.Windows.Forms.DockStyle.None; this.groupSDKs.Font = new System.Drawing.Font("Arial", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupSDKs.Location = new System.Drawing.Point(intialPosX, HEIGHT_TOP_ADJUSTMENT); this.groupSDKs.Name = "groupSDKs"; this.groupSDKs.TabStop = false; this.groupSDKs.Text = "SDKs"; this.groupSDKs.Width = GroupBox_SDKs_WIDTH; } // Now call the main class that does all the work and draw the SDKs to the panel m_groupSDKs = new groupSDKs(ref MySet, this.groupSDKs, components_Top_Position, components_Left_Position, hOnly); this.groupSDKs.Height = m_groupSDKs.Height; if (!hOnly) { this.Controls.Add(this.groupSDKs); } // Assign Width return(GroupBox_SDKs_WIDTH); }
////////////////////////////////////////////////////////////////////// // Prop: Write-only SDKEnable Property ////////////////////////////////////////////////////////////////////// public void SetSDKEnable(ref groupSDKs SDKobject) { MySDKobject = SDKobject; }