コード例 #1
0
ファイル: MainWindow.xaml.cs プロジェクト: hnjm/SmartAccount
        private void PostAContraVoucherClicked(object sender, RoutedEventArgs e)
        {
            VoucherPost voucherPostContext = postUC1.DataContext as VoucherPost;

            tabItemPost.Focus();
            if (voucherPostContext != null)
            {
                voucherPostContext.SelectedVoucherType = "Contra";
            }
        }
コード例 #2
0
        private void RefreshButton_Click(object sender, RoutedEventArgs e)
        {
            VoucherPost vm = DataContext as VoucherPost;

            vm.Reset();
        }
コード例 #3
0
 public VoucherPostUC()
 {
     InitializeComponent();
     DataContext = new VoucherPost();
 }
コード例 #4
0
 public VoucherPostUC()
 {
     InitializeComponent();
     DataContext = new VoucherPost();
 }