private void cancel_Click(object sender, RoutedEventArgs e) { txttime.Text = ""; txtstaydep.Text = ""; this.NavigationService.Refresh(); mainwindowpages.home h = new mainwindowpages.home(); this.NavigationService.Navigate(h); o.Visibility = Visibility.Hidden; o.Foreground = new SolidColorBrush(Colors.White); }
private void cancel_Click(object sender, RoutedEventArgs e) { txttime.Text = ""; txtstaydep.Text = ""; this.NavigationService.Refresh(); mainwindowpages.home h = new mainwindowpages.home(); this.NavigationService.Navigate(h); }