gcSpreadGrid1[1, 1].BorderLeft = new BorderLine(Colors.Green, BorderLineStyle.MediumDashed);
gcSpreadGrid1[1, 1].BorderRight = new BorderLine(Colors.Green, BorderLineStyle.MediumDashed);
gcSpreadGrid1[1, 1].BorderTop = new BorderLine(Colors.Green, BorderLineStyle.MediumDashed);
gcSpreadGrid1[1, 1].BorderBottom = new BorderLine(Colors.Green, BorderLineStyle.MediumDashed);
gcSpreadGrid1.SetBorder(new CellRange(2, 2, 2, 2), new BorderLine(Colors.Blue, BorderLineStyle.DashDot), SetBorderOptions.OutLine);
gcSpreadGrid1(1, 1).BorderLeft = New BorderLine(Colors.Green, BorderLineStyle.MediumDashed)
gcSpreadGrid1(1, 1).BorderRight = New BorderLine(Colors.Green, BorderLineStyle.MediumDashed)
gcSpreadGrid1(1, 1).BorderTop = New BorderLine(Colors.Green, BorderLineStyle.MediumDashed)
gcSpreadGrid1(1, 1).BorderBottom = New BorderLine(Colors.Green, BorderLineStyle.MediumDashed)
gcSpreadGrid1.SetBorder(New CellRange(2, 2, 2, 2), New BorderLine(Colors.Blue, BorderLineStyle.DashDot), SetBorderOptions.OutLine)