static CellPoints() { s_NoBorderInt = new SourceGrid2.VisualModels.Common(); s_NoBorderInt.Border = SourceGrid2.RectangleBorder.NoBorder; s_NoBorderInt.TextAlignment = ContentAlignment.MiddleRight; s_NoBorderInt.MakeReadOnly(); }
static CellBall() { s_Properties = new SourceGrid2.VisualModels.Common(); s_Properties.Border = SourceGrid2.RectangleBorder.NoBorder; System.IO.Stream l_Stream = System.Reflection.Assembly.GetExecutingAssembly().GetManifestResourceStream("SampleProject.Samples.CalcioSmall.bmp"); s_Properties.Image = Image.FromStream(l_Stream); s_Properties.ImageAlignment = ContentAlignment.MiddleCenter; s_Properties.MakeReadOnly(); }