Esempio n. 1
0
        public DesktopBaseState GetDefaultBaseState()
        {
            //get default from xml or json.
            var value = Settings.Default.DefaultLocator;

            if (value == null || value.Trim() == string.Empty)
            {
                return(null);
            }

            var baseState = new DesktopBaseState(value);

            return(baseState);
        }
Esempio n. 2
0
 public void SetApplication(DesktopBaseState baseState)
 {
     _baseState   = baseState;
     _application = baseState.Application;
 }
Esempio n. 3
0
 public void SetDefaultBaseState(DesktopBaseState baseState)
 {
     Settings.Default.DefaultLocator = baseState.Locator;
     //set default from xml or json.
 }