private void RibbonWindow_Loaded(object sender, RoutedEventArgs e)
 {
     VM = this.DataContext as ViewModel.MainWindow;
     VM.CurrentPageVM         = VM;
     _ribMgr                  = new AF.RibbonManager(VM.PageID, ribMain);
     AF.Environment.FactoryID = "T1";
     AF.Environment.Identity  = new Model.Identity()
     {
         Account = "x",
         DptID   = "000",
         DptName = "IT",
         EmpID   = "00083996",
         Name    = "Scott"
     };
 }
 private void RibbonWindow_Loaded(object sender, RoutedEventArgs e)
 {
     VM = this.DataContext as ViewModel.MainWindow;
     VM.CurrentPageVM = VM;
     _ribMgr = new AF.RibbonManager(VM.PageID, ribMain);
     AF.Environment.FactoryID = "T1";
     AF.Environment.Identity = new Model.Identity()
     {
         Account = "x",
         DptID = "000",
         DptName = "IT",
         EmpID = "00083996",
         Name = "Scott"
     };
 }