Example #1
0
        private static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            ExcelReader er = new ExcelReader();
            MainForm mf = new MainForm();
            Controller controller = new Controller(mf, er);
            mf.setController(controller);

            Application.Run(mf);
        }
Example #2
0
 public Controller(IMainForm mf, ExcelReader er)
 {
     this.mf = mf;
     this.er = er;
 }