コード例 #1
0
ファイル: MainWindow.g.i.cs プロジェクト: razelda/Copy-IT
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Copy_IT.MainWindow)(target));
                return;

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

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

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

            case 5:
                this.BT_Dest = ((System.Windows.Controls.Button)(target));
                return;

            case 6:

            #line 61 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Copy_IT.MainWindow)(target));
                return;

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

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

            #line 35 "..\..\..\MainWindow.xaml"
                this.BT_Sorce.Click += new System.Windows.RoutedEventHandler(this.BT_Sorce_Click);

            #line default
            #line hidden
                return;

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

            case 5:
                this.BT_Dest = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\..\MainWindow.xaml"
                this.BT_Dest.Click += new System.Windows.RoutedEventHandler(this.BT_Dest_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\..\MainWindow.xaml"
                this.CB_Recursive.Checked += new System.Windows.RoutedEventHandler(this.CB_Recursive_Checked);

            #line default
            #line hidden

            #line 43 "..\..\..\MainWindow.xaml"
                this.CB_Recursive.Unchecked += new System.Windows.RoutedEventHandler(this.CB_Recursive_UnChecked);

            #line default
            #line hidden
                return;

            case 7:
                this.CB_Hidden = ((System.Windows.Controls.CheckBox)(target));
                return;

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

            case 9:
                this.CB_OverW = ((System.Windows.Controls.CheckBox)(target));

            #line 46 "..\..\..\MainWindow.xaml"
                this.CB_OverW.Checked += new System.Windows.RoutedEventHandler(this.CB_OverW_Checked);

            #line default
            #line hidden

            #line 46 "..\..\..\MainWindow.xaml"
                this.CB_OverW.Unchecked += new System.Windows.RoutedEventHandler(this.CB_OverW_UnChecked);

            #line default
            #line hidden
                return;

            case 10:
                this.ChBOwner = ((System.Windows.Controls.CheckBox)(target));

            #line 52 "..\..\..\MainWindow.xaml"
                this.ChBOwner.Checked += new System.Windows.RoutedEventHandler(this.ChBOwner_Checked);

            #line default
            #line hidden

            #line 52 "..\..\..\MainWindow.xaml"
                this.ChBOwner.Unchecked += new System.Windows.RoutedEventHandler(this.ChBOwner_UnChecked);

            #line default
            #line hidden
                return;

            case 11:
                this.CB_Owner = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 12:
                this.BigRedButton = ((System.Windows.Controls.Button)(target));

            #line 65 "..\..\..\MainWindow.xaml"
                this.BigRedButton.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.MainPB = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 14:
                this.RTBOutput = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 15:
                this.BTExit = ((System.Windows.Controls.Button)(target));

            #line 77 "..\..\..\MainWindow.xaml"
                this.BTExit.Click += new System.Windows.RoutedEventHandler(this.BTExit_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.TBFileCount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 17:
                this.TB_CompletedCount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.TB_StartTime = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.PBOverAll = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }