Example #1
0
 public static Holder GetInstance(int width, int height)
 {
     if (instance == null)
     {
         instance = new Holder(width, height);
     }
     return instance;
 }
Example #2
0
        public Form1()
        {
            InitializeComponent();
            objects = Holder.GetInstance(Preview.Width, Preview.Height);

            //this.Clear();

            ReadFile();
        }