Beispiel #1
0
 public CreateOverWorkDialog(IDocumentBill newModelExample)
     : base(newModelExample)
 {
     InitializeComponent();
     StartTime = DateTime.Today;
     EndTime   = DateTime.Today;
 }
 protected override void OnClosing(CancelEventArgs e)
 {
     base.OnClosing(e);
     if (!_isSubmit)
     {
         ModelExample = null;
     }
 }
 protected CreateDocumentBillDialog(IDocumentBill newModelExample)
 {
     SelectedEmployees     = new ObservableCollection <Employee>();
     AddEmployeeCommand    = new RelayCommand(AddEmployee);
     RemoveEmployeeCommand = new RelayCommand(RemoveEmployee, () => SelectedEp != null);
     SubmitCommand         = new RelayCommand(Submit, CanSubmit);
     _isSubmit             = false;
     ShowInTaskbar         = false;
     ModelExample          = newModelExample;
     ModelExample.Creator  = ModelSource.CurrentUser.UserName;
     DataContext           = this;
 }
 public CreateReSignInDialog(IDocumentBill newModelExample)
     : base(newModelExample)
 {
     InitializeComponent();
 }
 public CreateTiaoXiuDialog(IDocumentBill newModelExample)
     : base(newModelExample)
 {
     InitializeComponent();
 }
Beispiel #6
0
 public CreateBusinessTripDialog(IDocumentBill newModelExample)
     : base(newModelExample)
 {
     InitializeComponent();
 }
 public CreateAskLeaveDialog(IDocumentBill newModelExample)
     : base(newModelExample)
 {
     InitializeComponent();
 }