private void Draw() { BitmapFromLayers(); mainImage.Source = Utils.loadBitmap(mainBitmap); SelectedLayer.BitmapChanged(); }