public GroupsDialog(mode dialogMode, GroupsPage page, int fieldID = -1) : this() { CurMode = dialogMode; ID = fieldID; CurPage = page; FillFields(); }
private void BtnGroups_Click(object sender, RoutedEventArgs e) { GroupsPage p = new GroupsPage(this) { Margin = new Thickness(0, 10, 0, 0) }; AddNewTab(p, "Группы"); }
public NavigationHelper OpenGroupsPage() { GroupsPage page = new GroupsPage(); if (!IsOnThePage(page)) { GoToRelativeUrl(page.PageUrl); Driver.FindElement(By.LinkText("groups")).Click(); } return(this); }
public MainViewModel(MainWindow w) { MainWindow = w; Instance = this; FacultyDbContext context = new FacultyDbContext(); GroupsRepository = new Repository <Group>(context); SpecsRepository = new Repository <Spec>(context); StudentsRepository = new Repository <Student>(context); OpenGroupsPageCommand = new RelayCommand(() => CurrentPage = new GroupsPage()); OpenSpecsPageCommand = new RelayCommand(() => CurrentPage = new SpecsPage()); }
protected GroupsTestBase() : base() { Page = new GroupsPage(Driver); }
//GO TO GROUPS PAGE public static void GoToGroups() { groups = new GroupsPage(); Frame.Navigate(groups); }
public void Check_Status_Group_Changed() { GroupsPage Groups_Page = new GroupsPage(); Groups_Page.ClickGroupSuccess(); }