Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 2:
                this.MenuItemFile = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.MenuItemOpen = ((System.Windows.Controls.MenuItem)(target));

            #line 23 "..\..\MainWindow.xaml"
                this.MenuItemOpen.Click += new System.Windows.RoutedEventHandler(this.SimpleButtonPath_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.MenuItemColse = ((System.Windows.Controls.MenuItem)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.MenuItemColse.Click += new System.Windows.RoutedEventHandler(this.MenuItemColse_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.MenuItemAbout = ((System.Windows.Controls.MenuItem)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.MenuItemAbout.Click += new System.Windows.RoutedEventHandler(this.MenuItemAbout_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.LabelImage1 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.LabelImage2 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.Image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.Image2 = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.LabelImageListIndex = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.LabelImageListIndex2 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.LabelImageInfo1 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.LabelImageInfo2 = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.SimpleButtonBack = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 102 "..\..\MainWindow.xaml"
                this.SimpleButtonBack.Click += new System.Windows.RoutedEventHandler(this.SimpleButtonBack_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.SimpleButtonNext = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.SimpleButtonNext.Click += new System.Windows.RoutedEventHandler(this.SimpleButtonNext_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.LabelCheck = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.CheckBox1 = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 18:
                this.TextEditWfdd = ((DevExpress.Xpf.Editors.TextEdit)(target));
                return;

            case 19:
                this.SimpleButtonPath = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 131 "..\..\MainWindow.xaml"
                this.SimpleButtonPath.Click += new System.Windows.RoutedEventHandler(this.SimpleButtonPath_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.SimpleButtonRenamefile = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 137 "..\..\MainWindow.xaml"
                this.SimpleButtonRenamefile.Click += new System.Windows.RoutedEventHandler(this.SimpleButtonRenamefile_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.CheckBoxBackup = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.Label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.LabelPath = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.LabelImagecount = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.LoadingWait1 = ((FileRename.LoadingWait)(target));
                return;

            case 26:
                this.ProgresBar1 = ((System.Windows.Controls.ProgressBar)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Menu1 = ((System.Windows.Controls.Menu)(target));
                return;

            case 2:
                this.MenuItemFile = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 3:
                this.MenuItemOpen = ((System.Windows.Controls.MenuItem)(target));

            #line 27 "..\..\DXWindow1.xaml"
                this.MenuItemOpen.Click += new System.Windows.RoutedEventHandler(this.SimpleButtonPath_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.MenuItemColse = ((System.Windows.Controls.MenuItem)(target));

            #line 31 "..\..\DXWindow1.xaml"
                this.MenuItemColse.Click += new System.Windows.RoutedEventHandler(this.MenuItemColse_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.MenuItemAbout = ((System.Windows.Controls.MenuItem)(target));

            #line 36 "..\..\DXWindow1.xaml"
                this.MenuItemAbout.Click += new System.Windows.RoutedEventHandler(this.MenuItemAbout_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.LabelImage1 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.LabelImage2 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.Image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.Image2 = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.LabelImageInfo1 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.LabelImageInfo2 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.LabelCheck = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.StackPanel1 = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 14:
                this.SimpleButtonPath = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 117 "..\..\DXWindow1.xaml"
                this.SimpleButtonPath.Click += new System.Windows.RoutedEventHandler(this.SimpleButtonPath_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.SimpleButtonRenamefile = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 119 "..\..\DXWindow1.xaml"
                this.SimpleButtonRenamefile.Click += new System.Windows.RoutedEventHandler(this.SimpleButtonRenamefile_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.Label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.LabelPath = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.LabelImagecount = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.LoadingWait1 = ((FileRename.LoadingWait)(target));
                return;

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