示例#1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.DelayType = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 2:
     this.RelativeDelay = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.AbsoluteDelay = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.KeyDelay = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.KeyConditionControl = ((Epikem.Macro1.Controls.KeyInputControl)(target));
     return;
     case 6:
     
     #line 103 "..\..\..\EditorWindows\EditDelay.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 104 "..\..\..\EditorWindows\EditDelay.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Cancel);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.userControl = ((Epikem.Macro1.Controls.KeyInputControl)(target));
     return;
     case 2:
     this.Press = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 3:
     this.Down = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 4:
     this.Up = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 5:
     this.KeyModifiers = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.KeyModifier_Ctrl = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.KeyModifier_Alt = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     this.KeyModifier_Shift = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }