コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ChangeOneHotkeyPanel = ((Loltimer.SingleHotKeyView)(target));
     return;
     case 2:
     this.CurrentHotkey = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.ChampionID = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.ChangeHotKey = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.ChangeOneHotkeyPanel = ((Loltimer.SingleHotKeyView)(target));
     return;
     case 2:
     this.CurrentHotkey = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 3:
     this.ChampionID = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.ChangeHotkey = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\..\SingleHotKey\SingleHotkeyChange.xaml"
     this.ChangeHotkey.Click += new System.Windows.RoutedEventHandler(this.ChangeHotkey_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }