fpSpread1.ActiveSheet.AddCustomName("Alpha", "A1:B1", 0, 0); FarPoint.Win.Spread.NameBox namebox1 = new FarPoint.Win.Spread.NameBox(); namebox1.Location = new Point(0, 0); namebox1.Size = new Size(80, 20); this.Controls.Add(namebox1); namebox1.Attach(fpSpread1);
FpSpread1.ActiveSheet.AddCustomName("Alpha", "A1:B1", 0, 0) Dim namebox1 As New FarPoint.Win.Spread.NameBox() namebox1.Location = New Point(0, 0) namebox1.Size = New Size(80, 20) Controls.Add(namebox1) namebox1.Attach(FpSpread1)