void mainWindow_OpacityChanged(object sender, OpacityChangedEventArgs e) { // }
public void mainWin_OpacityChanged(object sender, OpacityChangedEventArgs e) { Opacity = e.Opacity; }