Пример #1
0
        private void OpenProfileInfo(String name)
        {
            Profile        profile    = this.profileBLL.View(name);
            FrmProfileInfo frmProfile = new FrmProfileInfo(this.profileBLL, profile);

            frmProfile.Show();
        }
Пример #2
0
 private void AddProfileToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.currentUser.IsLogin())
     {
         FrmProfileInfo profile = new FrmProfileInfo(this.privilegeBLL, this.profileBLL, this.currentUser)
         {
             MdiParent = this
         };
         profile.Show();
     }
 }