Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.userControl = ((File_Renamer.MessageUser)(target));
                return;

            case 2:
                this.border = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.Logo = ((System.Windows.Controls.Canvas)(target));
                return;

            case 5:
                this.Calque_1 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 6:
                this.Calque_2 = ((System.Windows.Controls.Canvas)(target));
                return;

            case 7:
                this.MessageTxt = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.FileRenamer = ((File_Renamer.MainWindow)(target));
     return;
     case 10:
     this.MainBorder = ((System.Windows.Controls.Border)(target));
     return;
     case 11:
     this.MainBordergrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.TitleGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.MainMenu = ((System.Windows.Controls.Menu)(target));
     return;
     case 14:
     this.FileRenamerMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 15:
     this.NormalMode = ((System.Windows.Controls.MenuItem)(target));
     
     #line 426 "..\..\MainWindow.xaml"
     this.NormalMode.Click += new System.Windows.RoutedEventHandler(this.NormalMode_Click);
     
     #line default
     #line hidden
     
     #line 426 "..\..\MainWindow.xaml"
     this.NormalMode.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.GetColumnWidth);
     
     #line default
     #line hidden
     return;
     case 16:
     this.AdvancedMode = ((System.Windows.Controls.MenuItem)(target));
     
     #line 427 "..\..\MainWindow.xaml"
     this.AdvancedMode.Click += new System.Windows.RoutedEventHandler(this.AdvancedMode_Click);
     
     #line default
     #line hidden
     
     #line 427 "..\..\MainWindow.xaml"
     this.AdvancedMode.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.GetColumnWidth);
     
     #line default
     #line hidden
     return;
     case 17:
     this.IncrementPadding = ((System.Windows.Controls.MenuItem)(target));
     
     #line 429 "..\..\MainWindow.xaml"
     this.IncrementPadding.Click += new System.Windows.RoutedEventHandler(this.IncrementPadding_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.DefaultPadding = ((System.Windows.Controls.MenuItem)(target));
     
     #line 430 "..\..\MainWindow.xaml"
     this.DefaultPadding.Click += new System.Windows.RoutedEventHandler(this.IncrementPadding_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.NoPadding = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 20:
     this.TenPadding = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 21:
     this.HundredPadding = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 22:
     this.ThousandPadding = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 23:
     this.TenThousandPadding = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 24:
     this.HundredThousandPadding = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 25:
     this.MillionPadding = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 26:
     this.AboutMenu = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 27:
     this.Help = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 28:
     this.About = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 29:
     this.Donate = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 30:
     this.PART_TITLE = ((System.Windows.Controls.Label)(target));
     
     #line 446 "..\..\MainWindow.xaml"
     this.PART_TITLE.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.PART_TITLE_MouseDoubleClick);
     
     #line default
     #line hidden
     
     #line 446 "..\..\MainWindow.xaml"
     this.PART_TITLE.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.PART_TITLE_MouseLeftButtonDown);
     
     #line default
     #line hidden
     
     #line 446 "..\..\MainWindow.xaml"
     this.PART_TITLE.MouseMove += new System.Windows.Input.MouseEventHandler(this.PART_TITLE_MouseMove);
     
     #line default
     #line hidden
     return;
     case 31:
     this.PART_CLOSE = ((System.Windows.Controls.Button)(target));
     
     #line 447 "..\..\MainWindow.xaml"
     this.PART_CLOSE.Click += new System.Windows.RoutedEventHandler(this.PART_CLOSE_Click);
     
     #line default
     #line hidden
     return;
     case 32:
     this.ClosePath = ((System.Windows.Shapes.Path)(target));
     return;
     case 33:
     this.PART_MAXIMISE = ((System.Windows.Controls.Button)(target));
     
     #line 451 "..\..\MainWindow.xaml"
     this.PART_MAXIMISE.Click += new System.Windows.RoutedEventHandler(this.PART_MAXIMIZE_RESTORE_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.NormalPath = ((System.Windows.Shapes.Path)(target));
     return;
     case 35:
     this.PART_RESTORE = ((System.Windows.Controls.Button)(target));
     
     #line 454 "..\..\MainWindow.xaml"
     this.PART_RESTORE.Click += new System.Windows.RoutedEventHandler(this.PART_MAXIMIZE_RESTORE_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.RestorePath = ((System.Windows.Shapes.Path)(target));
     return;
     case 37:
     this.PART_MINIMISE = ((System.Windows.Controls.Button)(target));
     
     #line 457 "..\..\MainWindow.xaml"
     this.PART_MINIMISE.Click += new System.Windows.RoutedEventHandler(this.PART_MINIMISE_Click);
     
     #line default
     #line hidden
     return;
     case 38:
     this.MinimizePath = ((System.Windows.Shapes.Path)(target));
     return;
     case 39:
     this.CenterGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 40:
     this.TopToolBarGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 41:
     this.ChoosePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 42:
     this.RenameBtn = ((System.Windows.Controls.RadioButton)(target));
     
     #line 474 "..\..\MainWindow.xaml"
     this.RenameBtn.Click += new System.Windows.RoutedEventHandler(this.RenameChoose);
     
     #line default
     #line hidden
     return;
     case 43:
     this.Arrow_Copy1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 44:
     this.ReplaceBtn = ((System.Windows.Controls.RadioButton)(target));
     
     #line 486 "..\..\MainWindow.xaml"
     this.ReplaceBtn.Click += new System.Windows.RoutedEventHandler(this.RenameChoose);
     
     #line default
     #line hidden
     return;
     case 45:
     this.SubArrow_Copy = ((System.Windows.Controls.Canvas)(target));
     return;
     case 46:
     this.RenameTxt = ((File_Renamer.TextBoxHint)(target));
     return;
     case 47:
     this.ReplaceTxt = ((File_Renamer.TextBoxHint)(target));
     return;
     case 48:
     this.WithTxt = ((File_Renamer.TextBoxHint)(target));
     return;
     case 49:
     this.TrimStartSpn = ((File_Renamer.Spinner)(target));
     return;
     case 50:
     this.PrefixTxt = ((File_Renamer.TextBoxHint)(target));
     return;
     case 51:
     this.TrimEndSpn = ((File_Renamer.Spinner)(target));
     return;
     case 52:
     this.SuffixTxt = ((File_Renamer.TextBoxHint)(target));
     return;
     case 53:
     this.RenamePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 54:
     this.FolderNumberBtn = ((System.Windows.Controls.Button)(target));
     
     #line 507 "..\..\MainWindow.xaml"
     this.FolderNumberBtn.Click += new System.Windows.RoutedEventHandler(this.FolderNumberBtn_Click);
     
     #line default
     #line hidden
     return;
     case 55:
     this.NewFolder = ((System.Windows.Controls.Canvas)(target));
     return;
     case 56:
     this.FileNumberBtn = ((System.Windows.Controls.Button)(target));
     
     #line 519 "..\..\MainWindow.xaml"
     this.FileNumberBtn.Click += new System.Windows.RoutedEventHandler(this.FileNumberBtn_Click);
     
     #line default
     #line hidden
     return;
     case 57:
     this.NewFile_Copy = ((System.Windows.Controls.Canvas)(target));
     return;
     case 58:
     this.RenameSelBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 59:
     this.RenameSel1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 60:
     this.RenameAllBtn = ((System.Windows.Controls.Button)(target));
     
     #line 540 "..\..\MainWindow.xaml"
     this.RenameAllBtn.Click += new System.Windows.RoutedEventHandler(this.RenameAllBtn_Click);
     
     #line default
     #line hidden
     return;
     case 61:
     this.RenameAll1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 62:
     this.CenterMainGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 63:
     this.CenterMainGrid0 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 64:
     this.CenterMainGrid1 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 65:
     this.CenterMainGrid2 = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 66:
     this.ExplorerGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 67:
     this.Computer = ((System.Windows.Controls.Canvas)(target));
     return;
     case 68:
     this.ExplorerTextBloc = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 69:
     this.AddFolderBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 70:
     this.Plus = ((System.Windows.Controls.Canvas)(target));
     return;
     case 71:
     this.AddSubFoldersBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 72:
     this.PlusSub = ((System.Windows.Controls.Canvas)(target));
     return;
     case 73:
     this.ExplorerTv = ((System.Windows.Controls.TreeView)(target));
     
     #line 610 "..\..\MainWindow.xaml"
     this.ExplorerTv.Loaded += new System.Windows.RoutedEventHandler(this.ExplorerTv_Loaded);
     
     #line default
     #line hidden
     
     #line 610 "..\..\MainWindow.xaml"
     this.ExplorerTv.SelectedItemChanged += new System.Windows.RoutedPropertyChangedEventHandler<object>(this.ExplorerTv_SelectedItemChanged);
     
     #line default
     #line hidden
     return;
     case 74:
     this.DataGridsGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 75:
     this.FolderGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 76:
     this.NewFolder_Copy = ((System.Windows.Controls.Canvas)(target));
     return;
     case 77:
     this.FoldersTextBloc = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 78:
     this.UpFoldersBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 79:
     this.Arrow = ((System.Windows.Controls.Canvas)(target));
     return;
     case 80:
     this.TopFoldersBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 81:
     this.SplitArrow = ((System.Windows.Controls.Canvas)(target));
     return;
     case 82:
     this.DownFoldersBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 83:
     this.Arrow_Copy = ((System.Windows.Controls.Canvas)(target));
     return;
     case 84:
     this.BottomFoldersBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 85:
     this.SplitArrow_Copy = ((System.Windows.Controls.Canvas)(target));
     return;
     case 86:
     this.DeleteFoldersBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 87:
     this.Delete = ((System.Windows.Controls.Canvas)(target));
     return;
     case 88:
     this.FoldersDG = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 89:
     this.DataGridsGridSplitter = ((System.Windows.Controls.GridSplitter)(target));
     return;
     case 90:
     this.FilesGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 91:
     this.NewFile = ((System.Windows.Controls.Canvas)(target));
     return;
     case 92:
     this.FilesTextBloc = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 93:
     this.UpFilesBtn = ((System.Windows.Controls.Button)(target));
     
     #line 764 "..\..\MainWindow.xaml"
     this.UpFilesBtn.Click += new System.Windows.RoutedEventHandler(this.UpItemDG);
     
     #line default
     #line hidden
     return;
     case 94:
     this.Arrow1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 95:
     this.TopFilesBtn = ((System.Windows.Controls.Button)(target));
     
     #line 784 "..\..\MainWindow.xaml"
     this.TopFilesBtn.Click += new System.Windows.RoutedEventHandler(this.TopItemDG);
     
     #line default
     #line hidden
     return;
     case 96:
     this.SplitArrow1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 97:
     this.DownFilesBtn = ((System.Windows.Controls.Button)(target));
     
     #line 812 "..\..\MainWindow.xaml"
     this.DownFilesBtn.Click += new System.Windows.RoutedEventHandler(this.DownItemDG);
     
     #line default
     #line hidden
     return;
     case 98:
     this.Arrow_Copy2 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 99:
     this.BottomFilesBtn = ((System.Windows.Controls.Button)(target));
     
     #line 832 "..\..\MainWindow.xaml"
     this.BottomFilesBtn.Click += new System.Windows.RoutedEventHandler(this.BottomItemDG);
     
     #line default
     #line hidden
     return;
     case 100:
     this.SplitArrow_Copy1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 101:
     this.DeleteFilesBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 102:
     this.Delete1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 103:
     this.FilesDG = ((System.Windows.Controls.DataGrid)(target));
     
     #line 872 "..\..\MainWindow.xaml"
     this.FilesDG.BeginningEdit += new System.EventHandler<System.Windows.Controls.DataGridBeginningEditEventArgs>(this.FilesDG_BeginningEdit);
     
     #line default
     #line hidden
     
     #line 872 "..\..\MainWindow.xaml"
     this.FilesDG.MouseRightButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.FilesDG_MouseRightButtonUp);
     
     #line default
     #line hidden
     
     #line 872 "..\..\MainWindow.xaml"
     this.FilesDG.CellEditEnding += new System.EventHandler<System.Windows.Controls.DataGridCellEditEndingEventArgs>(this.FilesDG_CellEditEnding);
     
     #line default
     #line hidden
     return;
     case 105:
     this.PopupTest = ((System.Windows.Controls.Primitives.Popup)(target));
     return;
     case 106:
     
     #line 919 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Open_Click);
     
     #line default
     #line hidden
     return;
     case 107:
     
     #line 920 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Show_Click);
     
     #line default
     #line hidden
     return;
     case 108:
     this.Message = ((File_Renamer.MessageUser)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemplo n.º 3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.userControl = ((File_Renamer.MessageUser)(target));
     return;
     case 2:
     this.border = ((System.Windows.Controls.Border)(target));
     return;
     case 3:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.Logo = ((System.Windows.Controls.Canvas)(target));
     return;
     case 5:
     this.Calque_1 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 6:
     this.Calque_2 = ((System.Windows.Controls.Canvas)(target));
     return;
     case 7:
     this.MessageTxt = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }