示例#1
0
文件: Program.cs 项目: Iqrahaq/CSharp
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            //Application.Run(new KeyGenerator());
            KeyGenerator    f1  = new KeyGenerator();
            KeyGenPresenter kgp = new KeyGenPresenter(f1);

            Application.Run(f1);
        }
示例#2
0
 public void register(KeyGenPresenter KGP)
 {
     presenter = KGP;
 }