public NewTripDialog(UserNodeCore.UserNodeCore core)
 {
     this.core = core;
     InitializeComponent();
     DateTime departure = DateTime.Now.AddDays(1);
     DateTime arrival = departure.AddHours(2);
     departureDatePicker.Value = departure;
     departureTimePicker.Value = departure;
     arrivalDatePicker.Value = arrival;
     arrivalTimePicker.Value = arrival;
 }
Example #2
0
        public NewTripDialog(UserNodeCore.UserNodeCore core)
        {
            this.core = core;
            InitializeComponent();
            DateTime departure = DateTime.Now.AddDays(1);
            DateTime arrival   = departure.AddHours(2);

            departureDatePicker.Value = departure;
            departureTimePicker.Value = departure;
            arrivalDatePicker.Value   = arrival;
            arrivalTimePicker.Value   = arrival;
        }
 public RegisterUserDialog(UserNodeCore.UserNodeCore core)
 {
     this.core = core;
     InitializeComponent();
 }
Example #4
0
 public ConnectDialog(UserNodeCore.UserNodeCore core)
 {
     InitializeComponent();
     this.core = core;
 }
 public RegisterUserDialog(UserNodeCore.UserNodeCore core)
 {
     this.core = core;
     InitializeComponent();
 }
Example #6
0
 public ConnectDialog(UserNodeCore.UserNodeCore core)
 {
     InitializeComponent();
     this.core = core;
 }
Example #7
0
 public MainWindow()
 {
     InitializeComponent();
     core = new UserNodeCore.UserNodeCore(new Communication.UserNode("prova"));
     core.resultCallback += new UserNodeCore.UserNodeCore.ResultReceiveHandler(onNewResult);
 }