public ContourForm()
        {
            InitializeComponent();
            _contourMap          = ContourMap.GetInstance(_pictureBox);
            _contourMapGenerator = ContourMapGenerator.GetInstance(_pictureBox);
            ImageProccessed      = new HashSet <string>();

            InitialSetup();
        }
Example #2
0
        public static ContourMap GetInstance(PictureBox pictureBox)
        {
            if (Instance == null)
            {
                Instance = new ContourMap(pictureBox);
            }

            return(Instance);
        }
 public ContourOperator()
 {
     _contourMap = ContourMap.GetInstance(PictureBox);
 }