Example #1
0
        private void NewRoleItem_Click(object sender, RoutedEventArgs e)
        {
            var roleWindow = new RoleWindow();

            roleWindow.ShowDialog();

            BindRoles();
        }
Example #2
0
        private void Role_DoubleClick(object sender, RoutedEventArgs e)
        {
            var row = (DataGridRow)sender;

            string role = (string)row.Item;

            var roleWindow = new RoleWindow(role);

            roleWindow.ShowDialog();

            BindRoles();
        }