示例#1
0
        public Main(Algorithm algorithmName, Form1 basicform)
        {
            InitializeComponent();
            observer  = new UIExecuteObserver(this, basicform);
            algorithm = AlgorithmFactory.getAlorithm(algorithmName, observer);

            InitializeValues();
        }