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