Spread for Winforms supports using the Spread Designer with code by following the steps below.
Observe that both the components are added as tray icons in the design-time form.
C# |
Copy Code
|
---|---|
private void Form1_Load(object sender, EventArgs e) { fpSpreadDesigner1.ShowDialog(fpSpread1); } |
Visual Basic |
Copy Code
|
---|---|
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load FpSpreadDesigner1.ShowDialog(FpSpread1) End Sub |