void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.AboutTS3Tray = (AboutBox)target; return; case 2: this.uiGridMain = (Grid)target; return; case 3: this.CloseButton = (SlickToggleButton)target; return; case 4: this.TextLabel = (Label)target; return; case 5: ((Button)target).Click += new RoutedEventHandler(this.Close_Button_Click); return; case 6: this.TitleLabel = (Label)target; return; default: this._contentLoaded = true; return; } }
void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TS3Tray = (MainWindow)target; this.TS3Tray.MouseEnter += new System.Windows.Input.MouseEventHandler(this.uiWindowMainNotification_MouseEnter); this.TS3Tray.MouseLeave += new System.Windows.Input.MouseEventHandler(this.uiWindowMainNotification_MouseLeave); return; case 2: this.uiGridMain = (Grid)target; return; case 3: this.PinButton = (SlickToggleButton)target; return; case 4: this.PinImage = (Image)target; return; case 5: this.CloseButton = (SlickToggleButton)target; return; case 6: this.tS3Viewer1 = (TS3Viewer)target; return; case 7: ((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.SetupButton_Click); return; case 8: ((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.AboutButton_Click); return; case 9: ((System.Windows.Controls.Button)target).Click += new RoutedEventHandler(this.CloseButton_Click); return; case 10: this.TitleLabel = (System.Windows.Controls.Label)target; return; default: this._contentLoaded = true; return; } }
void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TS3TrayPasswordrequired = (Password)target; return; case 2: this.uiGridMain = (Grid)target; return; case 3: this.CloseButton = (SlickToggleButton)target; return; case 4: this.TextLabel = (Label)target; return; case 5: this.pwText = (PasswordBox)target; return; case 6: ((Button)target).Click += new RoutedEventHandler(this.Ok_Button_Click); return; case 7: ((Button)target).Click += new RoutedEventHandler(this.Cancel_Button_Click); return; case 8: this.TitleLabel = (Label)target; return; default: this._contentLoaded = true; return; } }
void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MessageBoxWnd = (MessageBox)target; return; case 2: this.uiGridMain = (Grid)target; return; case 3: this.CloseButton = (SlickToggleButton)target; return; case 4: this.image1 = (Image)target; return; case 5: this.MessageText = (TextBlock)target; return; case 6: ((Button)target).Click += new RoutedEventHandler(this.Button_Click); return; case 7: this.MessageTitel = (Label)target; return; default: this._contentLoaded = true; return; } }
void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.TS3TrayOptions = (SetupWindow)target; return; case 2: this.uiGridMain = (Grid)target; return; case 3: this.CloseButton = (SlickToggleButton)target; return; case 4: this.tsAddress = (TextBox)target; return; case 5: this.tsQueryPort = (NumericUpDownTextBox)target; return; case 6: this.tsQueryname = (TextBox)target; return; case 7: this.tsQuerypw = (PasswordBox)target; return; case 8: this.tsServerNr = (NumericUpDownTextBox)target; return; case 9: this.checkBox1 = (CheckBox)target; return; case 10: this.checkBox2 = (CheckBox)target; return; case 11: this.tsUpdateIntervall = (NumericUpDownTextBox)target; return; case 12: this.tsNickname = (TextBox)target; return; case 13: this.tsServerpw = (PasswordBox)target; return; case 14: this.checkBoxNotification1 = (CheckBox)target; return; case 15: this.checkBoxNotification2 = (CheckBox)target; return; case 16: this.comboBoxNotificationType = (ComboBox)target; return; case 17: ((Button)target).Click += new RoutedEventHandler(this.Button_Click); return; case 18: ((Button)target).Click += new RoutedEventHandler(this.CloseButton_Click); return; case 19: this.TitleLabel = (Label)target; return; default: this._contentLoaded = true; return; } }