public ConfigurationModel() { OptionsModel = new MainViewModel(); OptionsModel.AppModel = this; RenderingModel = new RenderingSets(this); LicenceModel = new LicenceViewModel(); LicenceModel.AppModel = this; Instance = this; }
public ShellView() { InitializeComponent(); Model = new ConfigurationModel(); if (OptionApi.GetBool("HideLaunchAdministratorMode")) { LaunchAdministratorModeHyperlink.Visibility = Visibility.Collapsed; UacShieldImage.Visibility = Visibility.Collapsed; } }