示例#1
0
        public string getText()
        {
            if (isAttachmentFile)
            {
                return(codec_long_name);
            }

            var str = fileIndex + ":" + index + " " + AppLanguage.getLang(codec_type) + ": " + codec_name;

            if (codec_type == "video")
            {
                str += " " + width + "*" + height;
            }

            if (codec_type == "audio")
            {
                str += " " + sample_rate + "hz";
            }


            str += " " + getBitRate() + " " + getLang();

            if (disposition.defaul == 1)
            {
                str += " " + dfv.lang.dat.default_;
            }
            str += " " + getName();
            return(str);
        }
示例#2
0
        public FormPlayer()
        {
            InitializeComponent();
            onInit?.Invoke(this);

            AppLanguage.InitLanguage(contextMenuStrip1);
        }
示例#3
0
 protected override string GetLocalizedString(string value)
 {
     return(AppLanguage.getLang(value));
 }