コード例 #1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/iTVOD_WindowPhone7;component/Live_Channel_Player.xaml", System.UriKind.Relative));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel      = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.liveChannelPlayer = ((Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement)(this.FindName("liveChannelPlayer")));
 }
コード例 #2
0
ファイル: MainPage.g.cs プロジェクト: switypi/asa
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MyDemo;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SmoothPlayer = ((Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement)(this.FindName("SmoothPlayer")));
     this.Volume = ((System.Windows.Controls.TextBlock)(this.FindName("Volume")));
     this.VolumeBar = ((System.Windows.Controls.Slider)(this.FindName("VolumeBar")));
     this.PlayButton = ((System.Windows.Controls.Button)(this.FindName("PlayButton")));
     this.StopButton = ((System.Windows.Controls.Button)(this.FindName("StopButton")));
     this.SourceList = ((System.Windows.Controls.ComboBox)(this.FindName("SourceList")));
     this.OutputText = ((System.Windows.Controls.TextBlock)(this.FindName("OutputText")));
 }
コード例 #3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MyDemo;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SmoothPlayer = ((Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement)(this.FindName("SmoothPlayer")));
     this.Volume       = ((System.Windows.Controls.TextBlock)(this.FindName("Volume")));
     this.VolumeBar    = ((System.Windows.Controls.Slider)(this.FindName("VolumeBar")));
     this.PlayButton   = ((System.Windows.Controls.Button)(this.FindName("PlayButton")));
     this.StopButton   = ((System.Windows.Controls.Button)(this.FindName("StopButton")));
     this.SourceList   = ((System.Windows.Controls.ComboBox)(this.FindName("SourceList")));
     this.OutputText   = ((System.Windows.Controls.TextBlock)(this.FindName("OutputText")));
 }
コード例 #4
0
ファイル: MainPage.g.i.cs プロジェクト: waqar1/milyoniplayer
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/LiveSmoothStreaming;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SmoothPlayer     = ((Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement)(this.FindName("SmoothPlayer")));
     this.OutPut           = ((System.Windows.Controls.TextBlock)(this.FindName("OutPut")));
     this.grid2            = ((System.Windows.Controls.Grid)(this.FindName("grid2")));
     this.VolumeBar        = ((System.Windows.Controls.Slider)(this.FindName("VolumeBar")));
     this.fullScreenButton = ((System.Windows.Controls.Image)(this.FindName("fullScreenButton")));
     this.ManifestURL      = ((System.Windows.Controls.TextBox)(this.FindName("ManifestURL")));
     this.BWCombo          = ((System.Windows.Controls.ComboBox)(this.FindName("BWCombo")));
     this.BitRate          = ((System.Windows.Controls.TextBlock)(this.FindName("BitRate")));
     this.PlayButton       = ((System.Windows.Controls.Button)(this.FindName("PlayButton")));
 }
コード例 #5
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightMediaPlayer;component/Player.xaml", System.UriKind.Relative));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SmoothPlayer        = ((Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement)(this.FindName("SmoothPlayer")));
     this.bitRateGraph        = ((SilverlightMediaPlayer.BitrateGraphControl)(this.FindName("bitRateGraph")));
     this.framerateControl    = ((SilverlightMediaPlayer.FramerateGraphControl)(this.FindName("framerateControl")));
     this.maxFramerateControl = ((SilverlightMediaPlayer.MaxBitrateLimiterControl)(this.FindName("maxFramerateControl")));
     this.eventLogViewer      = ((SilverlightMediaPlayer.EventsLog)(this.FindName("eventLogViewer")));
     this.ControllerContainer = ((System.Windows.Controls.Grid)(this.FindName("ControllerContainer")));
     this.playercontrols      = ((System.Windows.Controls.Grid)(this.FindName("playercontrols")));
     this.ReplayElement       = ((System.Windows.Controls.Button)(this.FindName("ReplayElement")));
     this.RewindElement       = ((System.Windows.Controls.Button)(this.FindName("RewindElement")));
     this.playButton          = ((System.Windows.Controls.Button)(this.FindName("playButton")));
     this.pauseButton         = ((System.Windows.Controls.Button)(this.FindName("pauseButton")));
     this.FastForwardElement  = ((System.Windows.Controls.Button)(this.FindName("FastForwardElement")));
     this.SlowMotionElement   = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("SlowMotionElement")));
     this.divider1            = ((System.Windows.Controls.Grid)(this.FindName("divider1")));
     this.timelinecontrols    = ((System.Windows.Controls.Grid)(this.FindName("timelinecontrols")));
     this.slider                  = ((SilverlightMediaPlayer.CustumSlider)(this.FindName("slider")));
     this.TimeContainer           = ((System.Windows.Controls.Border)(this.FindName("TimeContainer")));
     this.CurrentPositionElement  = ((System.Windows.Controls.TextBlock)(this.FindName("CurrentPositionElement")));
     this.TimeSeparatorElement    = ((System.Windows.Controls.TextBlock)(this.FindName("TimeSeparatorElement")));
     this.CurrentDurationElement  = ((System.Windows.Controls.TextBlock)(this.FindName("CurrentDurationElement")));
     this.volumeslider            = ((System.Windows.Controls.Slider)(this.FindName("volumeslider")));
     this.divider2                = ((System.Windows.Controls.Grid)(this.FindName("divider2")));
     this.functioncontrols        = ((System.Windows.Controls.Grid)(this.FindName("functioncontrols")));
     this.GraphToggleElement      = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("GraphToggleElement")));
     this.LogToggleElement        = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("LogToggleElement")));
     this.FullScreenToggleElement = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("FullScreenToggleElement")));
     this.divider3                = ((System.Windows.Controls.Grid)(this.FindName("divider3")));
 }
コード例 #6
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TWCWindowsPhonePivot;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.loginGridStatic = ((System.Windows.Controls.Grid)(this.FindName("loginGridStatic")));
     this.userNameTextBlockStatic = ((System.Windows.Controls.TextBox)(this.FindName("userNameTextBlockStatic")));
     this.passwordTextBoxStatic = ((System.Windows.Controls.PasswordBox)(this.FindName("passwordTextBoxStatic")));
     this.rememberPasswordCheckBoxStatic = ((System.Windows.Controls.CheckBox)(this.FindName("rememberPasswordCheckBoxStatic")));
     this.loginButtonStatic = ((System.Windows.Controls.Button)(this.FindName("loginButtonStatic")));
     this.loginPasswordIncorrectStatic = ((System.Windows.Controls.TextBlock)(this.FindName("loginPasswordIncorrectStatic")));
     this.alertTextBox = ((System.Windows.Controls.TextBlock)(this.FindName("alertTextBox")));
     this.applicationPivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("applicationPivot")));
     this.channelPivotItem = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("channelPivotItem")));
     this.channelListBox = ((System.Windows.Controls.ListBox)(this.FindName("channelListBox")));
     this.dvrPivotItem = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("dvrPivotItem")));
     this.dvrListBox = ((System.Windows.Controls.ListBox)(this.FindName("dvrListBox")));
     this.settingsPivotItem = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("settingsPivotItem")));
     this.settingsGrid = ((System.Windows.Controls.Grid)(this.FindName("settingsGrid")));
     this.devicesListBox = ((System.Windows.Controls.ListBox)(this.FindName("devicesListBox")));
     this.displayOnlyHDChannelsCheckBox = ((System.Windows.Controls.CheckBox)(this.FindName("displayOnlyHDChannelsCheckBox")));
     this.loginPivotItem = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("loginPivotItem")));
     this.loginGrid = ((System.Windows.Controls.Grid)(this.FindName("loginGrid")));
     this.userNameTextBlock = ((System.Windows.Controls.TextBox)(this.FindName("userNameTextBlock")));
     this.passwordTextBox = ((System.Windows.Controls.PasswordBox)(this.FindName("passwordTextBox")));
     this.rememberPasswordCheckBox = ((System.Windows.Controls.CheckBox)(this.FindName("rememberPasswordCheckBox")));
     this.loginButton = ((System.Windows.Controls.Button)(this.FindName("loginButton")));
     this.loginPasswordIncorrect = ((System.Windows.Controls.TextBlock)(this.FindName("loginPasswordIncorrect")));
     this.streamingPivotItem = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("streamingPivotItem")));
     this.streamingGrid = ((System.Windows.Controls.Grid)(this.FindName("streamingGrid")));
     this.video = ((Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement)(this.FindName("video")));
 }
コード例 #7
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightMediaPlayer;component/Player.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SmoothPlayer = ((Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement)(this.FindName("SmoothPlayer")));
     this.bitRateGraph = ((SilverlightMediaPlayer.BitrateGraphControl)(this.FindName("bitRateGraph")));
     this.framerateControl = ((SilverlightMediaPlayer.FramerateGraphControl)(this.FindName("framerateControl")));
     this.maxFramerateControl = ((SilverlightMediaPlayer.MaxBitrateLimiterControl)(this.FindName("maxFramerateControl")));
     this.eventLogViewer = ((SilverlightMediaPlayer.EventsLog)(this.FindName("eventLogViewer")));
     this.ControllerContainer = ((System.Windows.Controls.Grid)(this.FindName("ControllerContainer")));
     this.playercontrols = ((System.Windows.Controls.Grid)(this.FindName("playercontrols")));
     this.ReplayElement = ((System.Windows.Controls.Button)(this.FindName("ReplayElement")));
     this.RewindElement = ((System.Windows.Controls.Button)(this.FindName("RewindElement")));
     this.playButton = ((System.Windows.Controls.Button)(this.FindName("playButton")));
     this.pauseButton = ((System.Windows.Controls.Button)(this.FindName("pauseButton")));
     this.FastForwardElement = ((System.Windows.Controls.Button)(this.FindName("FastForwardElement")));
     this.SlowMotionElement = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("SlowMotionElement")));
     this.divider1 = ((System.Windows.Controls.Grid)(this.FindName("divider1")));
     this.timelinecontrols = ((System.Windows.Controls.Grid)(this.FindName("timelinecontrols")));
     this.slider = ((SilverlightMediaPlayer.CustumSlider)(this.FindName("slider")));
     this.TimeContainer = ((System.Windows.Controls.Border)(this.FindName("TimeContainer")));
     this.CurrentPositionElement = ((System.Windows.Controls.TextBlock)(this.FindName("CurrentPositionElement")));
     this.TimeSeparatorElement = ((System.Windows.Controls.TextBlock)(this.FindName("TimeSeparatorElement")));
     this.CurrentDurationElement = ((System.Windows.Controls.TextBlock)(this.FindName("CurrentDurationElement")));
     this.volumeslider = ((System.Windows.Controls.Slider)(this.FindName("volumeslider")));
     this.divider2 = ((System.Windows.Controls.Grid)(this.FindName("divider2")));
     this.functioncontrols = ((System.Windows.Controls.Grid)(this.FindName("functioncontrols")));
     this.GraphToggleElement = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("GraphToggleElement")));
     this.LogToggleElement = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("LogToggleElement")));
     this.FullScreenToggleElement = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("FullScreenToggleElement")));
     this.divider3 = ((System.Windows.Controls.Grid)(this.FindName("divider3")));
 }