BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
// Need to initialize size for child controls
this.gridBagLayout1.SetPreferredSize(this.button1, new System.Drawing.Size(0, 0));
this.gridBagLayout1.SetPreferredSize(this.button2, new System.Drawing.Size(0, 0));
this.gridBagLayout1.SetPreferredSize(this.button3, new System.Drawing.Size(0, 0));
//
// borderLayout1
//
this.gridBagLayout1.ContainerControl = this;
// Set Position of child controls in GridBagLayout
this.gridBagLayout1.SetConstraints(this.button1, new Syncfusion.Windows.Forms.Tools.GridBagConstraints(0, 0, 1, 0, 0.2D, 1D, Syncfusion.Windows.Forms.Tools.AnchorTypes.Center, Syncfusion.Windows.Forms.Tools.FillType.Both, new Syncfusion.Windows.Forms.Tools.Insets(5, 5, 5, 5), 0, 0, false));
this.gridBagLayout1.SetConstraints(this.button2, new Syncfusion.Windows.Forms.Tools.GridBagConstraints(1, 0, 1, 0, 0.2D, 1D, Syncfusion.Windows.Forms.Tools.AnchorTypes.Center, Syncfusion.Windows.Forms.Tools.FillType.Both, new Syncfusion.Windows.Forms.Tools.Insets(5, 5, 5, 5), 0, 0, false));
this.gridBagLayout1.SetConstraints(this.button3, new Syncfusion.Windows.Forms.Tools.GridBagConstraints(2, 0, 3, 0, 0.6D, 1D, Syncfusion.Windows.Forms.Tools.AnchorTypes.Center, Syncfusion.Windows.Forms.Tools.FillType.Both, new Syncfusion.Windows.Forms.Tools.Insets(5, 5, 5, 5), 0, 0, false));
|