private void invertButtonClick(object sender, EventArgs e) { PixelColor c = Data.Layers[0].FrontColor; Data.Layers[0].FrontColor = Data.Layers[0].BackColor; Data.Layers[0].BackColor = c; UzorView.DrawView(); }
public void MirrorButtonClick(object sender, EventArgs e) { if (!uzor.MirrorMode) { mirrorButton.Source = "mirrorOffButton.png"; } else { mirrorButton.Source = "mirrorOnButton.png"; } this.uzor.MirrorMode = !uzor.MirrorMode; this.mirrorIndicator.IsVisible = this.uzor.MirrorMode; UzorView.DrawView(); }