public void OnRedrawSelectedFrame(FrameModel e, EditorSettingsControl editor)
        {
            Clear();

            var frm = e?.Bitmap;

            if (frm != null)
            {
                frm = frm.Apply(new IFilter[] { new BrightnessFilter(editor.GameBrightnessMultiplier) });
            }
            Attach(pictureBox1, e?.Bitmap, true);
            Attach(pictureBox3, e?.Bitmap, true);

            Attach(pictureBox2, frm, true);
            Attach(pictureBox4, frm, true);
        }
        public void OnRedrawImportImage(Bitmap original, Bitmap modified, EditorSettingsControl editor)
        {
            Clear();

            if (original != null)
            {
                Attach(pictureBox1, original);
                Attach(pictureBox3, original);
            }

            if (modified != null)
            {
                if (editor.GameBrightnessMultiplier != 1)
                {
                    modified = modified.Apply(new IFilter[] { new BrightnessFilter(editor.GameBrightnessMultiplier) });
                }
                Attach(pictureBox2, modified, true);
                Attach(pictureBox4, modified, true);
            }
        }