static void Main(string[] args) { try { var controller = new TestController(); controller.LoadData(); } catch (Exception ex) { Console.WriteLine(ex); } Console.ReadLine(); }
public TestForm() { InitializeComponent(); Controller = new TestController(); Controller.MessageSended += Controller_MessageSended; }
public TestForm() { InitializeComponent(); _controller = new TestController {DataSource = testViewModelBindingSource}; }
public TestForm() { InitializeComponent(); Controller = new TestController { BindingSource = testModelViewBindingSource }; }
public TestForm() { InitializeComponent(); Controller = new TestController(); }