private void HbOpts_Click(object sender, System.Windows.RoutedEventArgs e) { if (_View.ViewName != "Mopt") { _View = new Aopt(); _View.InitView(this); _View.InitData(); } }
private void HbUser_Click(object sender, System.Windows.RoutedEventArgs e) { _View = new Home.Home(); _View.InitView(this); _View.InitData(); DvOpts.Visibility = System.Windows.Visibility.Collapsed; HbOpts.Visibility = System.Windows.Visibility.Collapsed; DvUser.Visibility = System.Windows.Visibility.Collapsed; HbUser.Visibility = System.Windows.Visibility.Collapsed; }
private void HbDemo_Click(object sender, System.Windows.RoutedEventArgs e) { if (_View.ViewName != "Demo") { _View = new Demo(); _View.InitView(this); _View.InitData(); } else { _View = new Home.Home(); _View.InitView(this); _View.InitData(); } }
private void LayoutRoot_Loaded(object sender, System.Windows.RoutedEventArgs e) { _View = new Home.Home(); _View.InitView(this); _View.InitData(); BeanUtil.Loading = Loading; }