コード例 #1
0
ファイル: PluginList.g.cs プロジェクト: Hunv/beRemote
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UCPluginList = ((beRemote.VendorPlugins.PluginDirectory.UI.PluginList)(target));
                return;

            case 2:
                this.GrdContent = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.cmdRefreshData = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\..\..\UI\PluginList.xaml"
                this.cmdRefreshData.Click += new System.Windows.RoutedEventHandler(this.CmdRefreshData_OnClick);

            #line default
            #line hidden
                return;

            case 5:
                this.GrdLock = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.GrdLockPluginDetails = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:

            #line 115 "..\..\..\..\UI\PluginList.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.InstallPlugin_OnClick);

            #line default
            #line hidden
                return;

            case 8:

            #line 116 "..\..\..\..\UI\PluginList.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UninstallPlugin_OnClick);

            #line default
            #line hidden
                return;

            case 9:

            #line 117 "..\..\..\..\UI\PluginList.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PrepareUpdate);

            #line default
            #line hidden
                return;

            case 10:

            #line 118 "..\..\..\..\UI\PluginList.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PluginDetailClose_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.GrdLockLoader = ((System.Windows.Controls.Grid)(target));
                return;

            case 12:
                this.pbLoading = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: PluginDirectory.cs プロジェクト: Hunv/beRemote
 public override Control GetTabControl()
 {
     return(_pluginListUi ?? (_pluginListUi = new PluginList(this)));
 }