public SinglePortraitViewer()
        {
            InitializeComponent();
            mainTexture = new PortraitViewerTextureData(PortraitWidth, PortraitHeight, this);
            additionalTexturesPanel.Controls.Add(mainTexture.Panel);
            mainTexture.OnUpdate = delegate(PortraitViewerTextureData sender) {
                UpdateImage(_charNum, _costumeNum);
            };

            _charNum    = -1;
            _costumeNum = -1;
        }
        public SinglePortraitViewer()
        {
            InitializeComponent();
            mainTexture = new PortraitViewerTextureData(PortraitWidth, PortraitHeight, this);
            additionalTexturesPanel.Controls.Add(mainTexture.Panel);
            mainTexture.OnUpdate = delegate(PortraitViewerTextureData sender) {
                UpdateImage(_charNum, _costumeNum);
            };

            _charNum = -1;
            _costumeNum = -1;
        }