seperate controller and view

This commit is contained in:
clowwindy
2014-11-07 01:26:32 +08:00
parent 27aa95f432
commit aa105ccfe3
4 changed files with 122 additions and 61 deletions
+2 -1
View File
@@ -38,7 +38,8 @@ namespace shadowsocks_csharp
}
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new ConfigForm());
ShadowsocksController controller = new ShadowsocksController();
Application.Run(new ConfigForm(controller));
}