Exemple #1
0
        private void TabStyle_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (TabStyle != null)
            {
                switch (TabStyle.SelectedIndex)
                {
                case 0:
                    _viewModel.GetSalesOrderLookups();
                    break;

                case 1:
                    _viewModel.GetSalesOrderOperations();
                    break;

                case 2:
                    _viewModel.GetRequestForSampleEventData();
                    break;

                case 3:
                    _viewModel.GetSalesOrderBom();
                    break;
                }
            }
        }