System.Collections.ArrayList coll = new System.Collections.ArrayList(2);
FarPoint.Web.Spread.SheetView sv = new FarPoint.Web.Spread.SheetView();
FarPoint.Web.Spread.SheetView sv1 = new FarPoint.Web.Spread.SheetView();
sv.GridLineColor = Color.Red;
sv.GridLines = GridLines.Vertical;
sv1.GridLineColor = Color.Yellow;
sv1.GridLines = GridLines.Horizontal;
coll.Add(sv);
coll.Add(sv1);
FpSpread1.Sheets.AddRange(coll);
ListBox1.Items.Add(Convert.ToString(FpSpread1.Sheets.Count));
Dim coll As New System.Collections.ArrayList(2)
Dim sv As New FarPoint.Web.Spread.SheetView()
Dim sv1 As New FarPoint.Web.Spread.SheetView()
sv.GridLineColor = Color.Red
sv.GridLines = GridLines.Vertical
sv1.GridLineColor = Color.Yellow
sv1.GridLines = GridLines.Horizontal
coll.Add(sv)
coll.Add(sv1)
FpSpread1.Sheets.AddRange(coll)
ListBox1.Items.Add(FpSpread1.Sheets.Count)