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); }
public void setController(Controller controller) { this.controller = controller; }