public SubscriptionKeyPage(SampleScenarios sampleScenarios) { InitializeComponent(); _sampleScenarios = sampleScenarios; DataContext = this; SubscriptionKey = GetSubscriptionKeyFromIsolatedStorage(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this._scenariosControl = ((SampleUserControlLibrary.SampleScenarios)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this._scenariosControl = ((SampleUserControlLibrary.SampleScenarios)(target)); #line 8 "..\..\MainWindow.xaml" this._scenariosControl.Loaded += new System.Windows.RoutedEventHandler(this._scenariosControl_Loaded); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.SampleScenariosUserControl = ((SampleUserControlLibrary.SampleScenarios)(target)); return; case 2: this.SampleNameLabel = ((System.Windows.Controls.TextBlock)(target)); return; case 3: #line 31 "..\..\SampleUserControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SubscriptionManagementButton_Click); #line default #line hidden return; case 4: this._scenarioListBox = ((System.Windows.Controls.ListBox)(target)); #line 33 "..\..\SampleUserControl.xaml" this._scenarioListBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ScenarioChanged); #line default #line hidden return; case 5: this._scenarioFrame = ((System.Windows.Controls.Frame)(target)); return; case 6: this._logTextBox = ((System.Windows.Controls.TextBox)(target)); return; case 7: this._disclaimerTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }