コード例 #1
0
        public LoadImageFormPresenter(LoadImageForm form)
        {
            calculateParams = new CalculateImageParams();
            writer          = new WriteToFile();

            formWindow    = form;
            erroreMessage = "";
        }
コード例 #2
0
        public MainFormPresenter(MainForm form)
        {
            storage         = new Storage.Storage();
            configFile      = new ConfigFile();
            calculateParams = new CalculateImageParams();
            writer          = new WriteToFile();
            workWithImage   = new WorkWithImage();
            graphicBuilder  = new GraphicsBuilder();

            configFile.ReadConfigFile();
            filtres = new Filters(configFile.StepMedianFiltr, configFile.StepMovingAverage);

            formWindow    = form;
            erroreMessage = "";
        }