Exemplo n.º 1
0
        private async void FTE_Consult_Page_Loaded(object sender, RoutedEventArgs e)
        {
            FTEEscalationThreadViewModel = await FTEEscalationThreadViewModel.GetFTEEscalationThreadViewModel();

            EscalatonStatusList        = FTEEscalationThreadViewModel.AllEscalationStatusList;
            StatusComboBox.DataContext = EscalatonStatusList;
            AllMyPlatform = FTEEscalationThreadViewModel.AllPratfromList;
            PlatformComboBox.DataContext = AllMyPlatform;
            PageComboBox.SelectedIndex   = 0;
            QueryButton_Click(sender, e);
        }
Exemplo n.º 2
0
        private async void Vendor_All_EscalationThread_Loaded(object sender, RoutedEventArgs e)
        {
            var FTEEscalationThreadViewModel = new FTEEscalationThreadViewModel();

            EscalatonStatusList = await FTEEscalationThreadViewModel.GetAllEScalationStatus();

            AllMyPlatform = await FTEEscalationThreadViewModel.GetAllPlaform();

            StatusComboBox.ItemsSource     = EscalatonStatusList;
            StatusComboBox.SelectedIndex   = 0;
            PlatformComboBox.ItemsSource   = AllMyPlatform;
            PlatformComboBox.SelectedIndex = 0;
            PageComboBox.SelectedIndex     = 0;
            QueryButton.IsEnabled          = true;
        }
Exemplo n.º 3
0
        public FTE_All_EscalationThread()
        {
            this.InitializeComponent();
            this.EndDatePicker.Date = DateTime.Today;
            int date = DateTime.Today.Day;
            this.StartDatePicker.Date = DateTime.Today.AddDays(-(date-1));
            this.SizeChanged += FTE_All_EscalationThread_SizeChanged;
            EscalatonStatusList = new EscalationStatusWithSelectedItem();
            AllMyPlatform = new ProductWithSelectedItem();
            EscalationThreadList = new ObservableCollectionView<EscalationAndStatusThread>();
            EscalationThreadListPage = new ObservableCollectionView<EscalationAndStatusThread>();
            FTEEscalationThreadViewModel = new FTEEscalationThreadViewModel();
            EscalationThread = new EscalationThread();
            this.Loaded += FTE_All_EscalationThread_Loaded;
            this.DataContext = FTEEscalationThreadViewModel;

        }