private void btnHome_Click(object sender, RoutedEventArgs e)
        {
            frmHomeMembership frm = new frmHomeMembership();

            this.Close();
            frm.ShowDialog();
        }
Пример #2
0
        private void btnMember_Click(object sender, RoutedEventArgs e)
        {
            AppLib.sProjectName = btnMember.Tag.ToString();
            frmHomeMembership frm = new frmHomeMembership();

            userPrevilage = new UserPrevilage(this.btnMember.Tag.ToString());
            if (userPrevilage.Show == true)
            {
                frm.Show();
                this.Close();
            }
        }