public EventCommandChangePlayerLabel(ChangePlayerLabelCommand refCommand, FrmEvent editor)
        {
            InitializeComponent();
            InitLocalization();
            mMyCommand   = refCommand;
            mEventEditor = editor;

            var color = refCommand.Color;

            if (color == null)
            {
                color = Color.White;
            }

            pnlColor.BackColor         = System.Drawing.Color.FromArgb(color.A, color.R, color.G, color.B);
            chkPlayerNameColor.Checked = refCommand.MatchNameColor;
            cmbPosition.SelectedIndex  = refCommand.Position;
            txtLabel.Text = refCommand.Value;
        }
 private static string GetCommandText(ChangePlayerLabelCommand command, MapInstance map)
 {
     return(Strings.EventCommandList.changeplayerlabel.ToString(command.Value));
 }