コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.textBoxSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.textBoxPeopleSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.tabs = ((System.Windows.Controls.TabControl)(target));
                return;

            case 5:
                this.LabelFilterComplete = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.TFilterDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 7:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.checkMe = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 9:
                this.PanelBot = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 10:
                this.butAddProject = ((System.Windows.Controls.Button)(target));
                return;

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

            case 12:
                this.editPanel = ((EMS2.Views.ProjectView)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
ファイル: MainView.g.cs プロジェクト: dallinbeutler/EMS
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.textBoxSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.textBoxPeopleSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.tabs = ((System.Windows.Controls.TabControl)(target));
                return;

            case 5:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 6:
                this.checkMe = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.editPanel = ((EMS2.Views.ProjectView)(target));
                return;

            case 8:
                this.ButtonShowHide = ((System.Windows.Controls.Button)(target));

            #line 343 "..\..\..\Views\MainView.xaml"
                this.ButtonShowHide.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.butAddProject = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: MainView.g.cs プロジェクト: dallinbeutler/EMS
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.checkMe = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 3:
                this.textBoxSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.textBoxPeopleSearch = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.tabs = ((System.Windows.Controls.TabControl)(target));
                return;

            case 6:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 7:
                this.DetailsPane = ((Xceed.Wpf.AvalonDock.Layout.LayoutAnchorable)(target));
                return;

            case 8:
                this.editPanel = ((EMS2.Views.ProjectView)(target));
                return;

            case 9:
                this.butAddProject = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }