public DPChooseDPID(DPOptionsPage dpOptionPage_, Page pageToGoTo_) { InitializeComponent(); dpOptionPage = dpOptionPage_; pageToGoTo = pageToGoTo_; received = false; //Console.Out.WriteLine($"GOTO pagetype is {pageToGoTo_.GetType()}"); }
public DPCreatePage(DPOptionsPage dpOptionPage_)// ref/out { InitializeComponent(); dpOptionPage = dpOptionPage_; dateTimesList = new List <DateTime>(); dpID.Content = roomGUID = Guid.NewGuid().ToString().ToUpper().Replace("-", "").Substring(0, 6); datePicker.BlackoutDates.Add( new CalendarDateRange(new DateTime(1500, 1, 1), DateTime.Today.AddDays(-1))); }
//private void Button_Click(object sender, RoutedEventArgs e) //{ // // View Expense Report // TestPage2 testPage2 = new TestPage2(); // this.NavigationService.Navigate(testPage2); // Console.WriteLine("Butonn"); //} private void Button_Click_Next(object sender, RoutedEventArgs e) { Console.WriteLine("[HomePage] Button Next Clicked"); if (usernameTXTBox.Text.Equals(null) || usernameTXTBox.Text.Equals("") || usernameTXTBox.Text.Contains(" ")) { System.Windows.MessageBox.Show("Please fill in a username without spaces."); } else { //username = usernameTXTBox.Text; String username = usernameTXTBox.Text; MainWindow.setUsername(username); Console.Out.WriteLine($"username: {username}"); dpOptionsPage = new DPOptionsPage(); this.NavigationService.Navigate(dpOptionsPage); } }
public DPFillinPage(DPOptionsPage dpOptionPage_) { InitializeComponent(); dpOptionPage = dpOptionPage_; //addCheckbox("Dit is een datum"); }
public DPViewPage(DPOptionsPage dpOptionPage_) { InitializeComponent(); dpOptionPage = dpOptionPage_; }