Example #1
0
        private void TemplateDataSet_TemplateDataSetChanged(TemplateDataSetEventArgs e)
        {
            streamUrl = _mTemplate.TemplateDataSet.GetTemplateDataSetItemAsText(KeyTvUrl, string.Empty);
            var templatePath = _mTemplate.Attributes["TemplatePath"];
            var libPath      = Path.Combine(templatePath, "libvlc", IntPtr.Size == 4 ? "win-x86" : "win-x64");
            var libDirectory = new DirectoryInfo(libPath);

            vlcControl.BeginInit();
            vlcControl.VlcLibDirectory = libDirectory;
            vlcControl.EndInit();
        }
Example #2
0
 private void TemplateDataSet_TemplateDataSetChanged(TemplateDataSetEventArgs e)
 {
     _streamUrl = _template.TemplateDataSet.GetTemplateDataSetItemAsText(KeyTvUrl, string.Empty);
 }
Example #3
0
 private void TemplateDataSet_TemplateDataSetChanged2(object sender, TemplateDataSetEventArgs e)
 {
     this.myLabel.Content = e.TemplateDataSet.GetTemplateDataSetItemAsText("MyText");
 }
 private void TemplateDataSet_TemplateDataSetChanged2(object sender, TemplateDataSetEventArgs e)
 {
     this.myLabel.Content = e.TemplateDataSet.GetTemplateDataSetItemAsText("MyText");
 }