Esempio n. 1
0
 private void HbOpts_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     if (_View.ViewName != "Mopt")
     {
         _View = new Aopt();
         _View.InitView(this);
         _View.InitData();
     }
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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();
     }
 }
Esempio n. 4
0
 private void LayoutRoot_Loaded(object sender, System.Windows.RoutedEventArgs e)
 {
     _View = new Home.Home();
     _View.InitView(this);
     _View.InitData();
     BeanUtil.Loading = Loading;
 }