private void Button_Page_New(object sender, RoutedEventArgs e) { MainFrame.Navigate(newConfigureFilePage); }
private void Button_Page_Update(object sender, RoutedEventArgs e) { MainFrame.Navigate(updateSoftwarePage); }
private void SKListView_SelectionChanged(object sender, SelectionChangedEventArgs e) { MainFrame.Navigate(new AddSklad((sender as ListView).SelectedItem as Sklad)); }
private void Button_Page_List(object sender, RoutedEventArgs e) { MainFrame.Navigate(ConfigureFileListPage); }
private void Add_Sklad_Click(object sender, RoutedEventArgs e) { MainFrame.Navigate(new AddSklad(new Sklad())); }
private void MainListView_SelectionChanged(object sender, SelectionChangedEventArgs e) { MainFrame.Navigate(new AddStroyMaterial((sender as ListView).SelectedItem as StroyMaterial)); }
private void AddButton_Click(object sender, RoutedEventArgs e) { MainFrame.Navigate(new AddStroyMaterial(new StroyMaterial())); }
private void SettingPageButton_Click(object sender, RoutedEventArgs e) { MainFrame.Navigate(new SettingPage()); }
public MainWindow() { InitializeComponent(); Managment.MainFrame = MainFrame; MainFrame.Navigate(new LoginPage()); }