public override void SetData(IGameFile gameFile)
        {
            foreach (PictureBox pbSet in m_lookup.Keys)
            {
                SetSelectedStyle(pbSet, false);
            }

            flpScreenshots.SuspendLayout();
            flpScreenshots.Controls.Clear();

            flpScreenshots.ResumeLayout();

            m_lookup.Clear();

            if (gameFile != null && gameFile.GameFileID.HasValue)
            {
                RequestScreenshots?.Invoke(this, new RequestScreenshotsEventArgs(gameFile));
            }
        }
Beispiel #2
0
 private void CtrlScreenshotView_RequestScreenshots(object sender, RequestScreenshotsEventArgs e)
 {
     RequestScreenshots?.Invoke(this, e);
 }