Esempio n. 1
0
        private void TbPage_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (!(e.Source is TabControl))
            {
                return;
            }

            if (tb_TransportDetail.IsSelected)
            {
                if (TransportDetailModel == null)
                {
                    TransportDetailModel = new TransportDetailModel(this);
                }
            }
        }
Esempio n. 2
0
 private void BtRefresh_Click(object sender, RoutedEventArgs e)
 {
     TransportDetailSearchControl.ResetSearchControl();
     TransportDetailModel = new TransportDetailModel(this);
 }
Esempio n. 3
0
 public TransportDetail()
 {
     InitializeComponent();
     TransportDetailModel = new TransportDetailModel(this);
 }