Example #1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            frame.Content = null;                      //menghapus konten di frame
            frame.NavigationService.RemoveBackEntry(); //menghapus history frame
            //memanggil menubeli
            MenuBeli kmenubeli = new MenuBeli();

            frame.Content = kmenubeli;//dimasukan ke dalam frame
        }
Example #2
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            MenuBeli kmenubeli = new MenuBeli();

            frame.Content = kmenubeli;
        }