static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); PersonControllor controllor = new PersonControllor(new PersonForm()); Application.Run(controllor.View); }
public Chart(PersonForm p, PersonControllor _controllor) { parent = p; controllor = _controllor; historyDataTable = new DataTable(); drawDt = new DataTable(); InitializeComponent(); this.chart1.Location = new Point(5, 40); this.chart1.Size = new Size(1100, 600); onInit(); }