public MainViewModelLocator()
 {
     _instance = this;
     _main = new MainViewModel();
     resize();
 }
        public static MainViewModelLocator getInstance()
        {
            if (_instance == null)
            {
                _instance = new MainViewModelLocator();

            }
            return _instance;
        }