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