private void SetTransparency(Double transparency) { RegUtil.CreateRegKey("Transparency", transparency.ToString(CultureInfo.InvariantCulture)); SMWidgetForm.Opacity = transparency; _ptn.Opacity = Math.Min(transparency + 0.2, 1); }
private void SetBgColor(Color color) { RegUtil.CreateRegKey("BgColor", color.ToString()); MainGrid.Background = new SolidColorBrush(color); }