예제 #1
0
 public FrmBackgroundPresent(FrmBackgroundManage view)
 {
     this.View = view;
     this.View.BtnDatabase.Click     += new EventHandler(BtnDatabaseClick);
     this.View.BtnOrganization.Click += new EventHandler(BtnOrganizationClick);
     this.View.BtnAuthority.Click    += new EventHandler(BtnAuthorityClick);
     this.View.BtnBaseMessage.Click  += new EventHandler(BtnBaseMessageClick);
 }
예제 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            FrmBackgroundManage  view = new FrmBackgroundManage();
            FrmBackgroundPresent fbgp = new FrmBackgroundPresent(view);

            Application.Run(fbgp.View);
        }