コード例 #1
0
 public wNewClient(ObservableCollection <Client> clilist)
 {
     db = new SportsEntities();
     InitializeComponent();
     spfac           = new SPORTSFACTORY();
     this.ClientList = clilist;
 }
コード例 #2
0
 public wNewTrainers(ObservableCollection <Trainer> tralist)
 {
     db = new SportsEntities();
     InitializeComponent();
     spfac            = new SPORTSFACTORY();
     this.TrainerList = tralist;
 }
コード例 #3
0
 public wNewServices(ObservableCollection <Service> servicelist)
 {
     db = new SportsEntities();
     InitializeComponent();
     spfac            = new SPORTSFACTORY();
     this.ServiceList = servicelist;
 }
コード例 #4
0
 public wNewContract(ObservableCollection <Contract> contractlist)
 {
     InitializeComponent();
     Db                           = new SportsEntities();
     spfac                        = new SPORTSFACTORY();
     this.contractList            = contractlist;
     dpDateStart.DisplayDateStart = DateTime.Now;
     dpDateEnd.DisplayDateStart   = DateTime.Now;
 }