Esempio n. 1
0
 public static Draw getInstance(PictureBox pictureBox)
 {
     if (instance == null) instance = new Draw(pictureBox);
     return instance;
 }
Esempio n. 2
0
 public MainForm()
 {
     InitializeComponent();
     control = Controller.getInstance();
     draw = Draw.getInstance(pictureBox);
 }