/// <summary> /// Загрузка настроек интерфейса /// </summary> private void LaunchInterfaceSettings( System.Drawing.Color MenuBackColor, System.Drawing.Color ButtonBackColor, System.Drawing.Color ButtonPanelBackColor, System.Drawing.Color FooterBackColor, System.Drawing.Color HeaderBackColor, System.Drawing.Color ForeColor ) { this.InterfaceMode = InterfaceSettings.getInstance( MenuBackColor, ButtonBackColor, ButtonPanelBackColor, FooterBackColor, HeaderBackColor, ForeColor ); }
/// <summary> /// Прорисовка вкладок с ГОСТ... /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tabControl7_DrawItem(object sender, DrawItemEventArgs e) { InterfaceSettings.Drawing(tabControl7, e); }
public async Task UpdateSettings(InterfaceSettings settings) { _sharedViewModel.ApplicationConfiguration.Interface = new InterfaceSettings(settings); await SaveToPCL(); }
public InterfaceViewModel(ContentView view, string name) : base(name, view) { _configurationService = DependencyService.Resolve <ConfigurationService>(); _interfaceSettings = _configurationService.GetSharedConfiguration().Interface; }