public MainWindow() { InitializeComponent(); mainFrame.Content = uC_Background; client = new Client(this); uC_Start = new UC_Start(eW_PointScreen); uC_Decode = new UC_Decode(client, eW_PointScreen); uC_Finish = new UC_Finish(client, eW_PointScreen); uC_Accelerate = new UC_Accelerate(client, eW_PointScreen); uC_Obstacles = new UC_Obstacles(client, eW_PointScreen); }
/// Wywołanie zdażenia wczytujacego zakładkę początkową. private void loaded_Start(object sender, RoutedEventArgs e) { DataContext = new UC_Start(); }