public EventCommand_ShowPicture(ShowPictureCommand refCommand, FrmEvent editor)
        {
            InitializeComponent();
            mMyCommand   = refCommand;
            mEventEditor = editor;
            cmbPicture.Items.Clear();
            cmbPicture.Items.AddRange(
                GameContentManager.GetSmartSortedTextureNames(GameContentManager.TextureType.Image)
                );

            if (cmbPicture.Items.IndexOf(mMyCommand.File) > -1)
            {
                cmbPicture.SelectedIndex = cmbPicture.Items.IndexOf(mMyCommand.File);
            }
            else
            {
                if (cmbPicture.Items.Count > 0)
                {
                    cmbPicture.SelectedIndex = 0;
                }
            }

            cmbSize.Items.Clear();
            cmbSize.Items.Add(Strings.EventShowPicture.original);
            cmbSize.Items.Add(Strings.EventShowPicture.fullscreen);
            cmbSize.Items.Add(Strings.EventShowPicture.halfscreen);
            cmbSize.Items.Add(Strings.EventShowPicture.stretchtofit);
            if (mMyCommand.Size > -1)
            {
                cmbSize.SelectedIndex = mMyCommand.Size;
            }
            else
            {
                cmbSize.SelectedIndex = 0;
            }

            chkClick.Checked           = mMyCommand.Clickable;
            nudHideTime.Value          = mMyCommand.HideTime;
            chkWaitUntilClosed.Checked = mMyCommand.WaitUntilClosed;

            InitLocalization();
        }
 private static string GetCommandText(ShowPictureCommand command, MapInstance map)
 {
     return(Strings.EventCommandList.showpicture);
 }