示例#1
0
        public ConfigurationModel()
        {
            OptionsModel = new MainViewModel();
            OptionsModel.AppModel = this;

            RenderingModel = new RenderingSets(this);
			LicenceModel = new LicenceViewModel();
			LicenceModel.AppModel = this;
            Instance = this;
        }
示例#2
0
		public ShellView()
		{
			InitializeComponent();
			Model = new ConfigurationModel();

		    if (OptionApi.GetBool("HideLaunchAdministratorMode"))
		    {
                LaunchAdministratorModeHyperlink.Visibility = Visibility.Collapsed;
		        UacShieldImage.Visibility = Visibility.Collapsed;
		    }
		}