void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.mySampleOptionCheckBox = ((JetBrains.UI.Controls.CheckBoxDisabledNoCheck2)(target)); return; } this._contentLoaded = true; }