Example #1
0
 public static Options getInstance()
 {
     if (instance == null) {
         instance = new Options();
     }
     return instance;
 }
Example #2
0
 public mainForm()
 {
     InitializeComponent();
     options = Options.getInstance();
     timer.Enabled = false;
     colors.Add(Color.Red);
     colors.Add(Color.Green);
     colors.Add(Color.Yellow);
     colors.Add(Color.Blue);
     resizeLabels();
 }
Example #3
0
 public DesignerCell()
 {
     InitializeComponent();
     options = Options.getInstance();
     this.BackColor = Color.LightGray;
 }