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