Example #1
0
 public static TrainingSideTool Get()
 {
     if (instance == null)
     {
         instance = new TrainingSideTool();
     }
     return(instance);
 }
Example #2
0
        public TrainingSideTool()
        {
            TrainingSideToolViewModel tstvm = TrainingSideToolViewModel.Get();

            this.InitializeComponent();
            this.DataContext = tstvm;
            SideToolsViewModel.Get().setTrainingV(this);
            SideToolsViewModel.Get().setTrainingVM(tstvm);
            instance = this;
        }