private void ClickEdit(object sender, RoutedEventArgs e)
        {
            switch (SelectedObj)
            {
            case 1:
                Student    x    = theObj as Student;
                NewStudent win6 = new NewStudent(label.Content.ToString(), x.Id);
                win6.deligEven += (s, t) => refreshMyView();
                win6.Show();
                break;

            case 2:
                Teacher    y    = theObj as Teacher;
                NewTeacher win7 = new NewTeacher(label.Content.ToString(), y.Id);
                win7.deligEven += (s, t) => refreshMyView();
                win7.Show();
                break;

            case 3:
                MeetTest    z    = theObj as MeetTest;
                NewMeetTest win8 = new NewMeetTest(label.Content.ToString(), z.TestId.ToString());
                win8.deligEven += (s, t) => refreshMyView();
                win8.Show();
                break;

            case 4:
                ListPermission u    = theObj as ListPermission;
                UserPermissen  win9 = new UserPermissen(label.Content.ToString(), u.Id);
                win9.deligEven += (s, t) => refreshMyView();
                win9.Show();
                break;
            }
        }
        private void ClickAddMeetTest(object sender, RoutedEventArgs e)
        {
            NewMeetTest win4 = new NewMeetTest(label.Content.ToString(), "-1");

            win4.deligEven += (s, t) => refreshMyView();
            win4.Show();
        }