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(); }
public ConnectDialog(UserNodeCore.UserNodeCore core) { InitializeComponent(); this.core = core; }
public MainWindow() { InitializeComponent(); core = new UserNodeCore.UserNodeCore(new Communication.UserNode("prova")); core.resultCallback += new UserNodeCore.UserNodeCore.ResultReceiveHandler(onNewResult); }