Пример #1
0
        private void btnBack_Click(object sender, RoutedEventArgs e)
        {
            frmUserPrevilage frm = new frmUserPrevilage();

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

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