private void OpenProfileInfo(String name) { Profile profile = this.profileBLL.View(name); FrmProfileInfo frmProfile = new FrmProfileInfo(this.profileBLL, profile); frmProfile.Show(); }
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(); } }