예제 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.BatchRenameWindow = ((BatchRename.MainWindow)(target));
                return;

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

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

            #line 21 "..\..\MainWindow.xaml"
                this.RefreshButton.Click += new System.Windows.RoutedEventHandler(this.RefreshButton_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.OptionButton = ((System.Windows.Controls.Button)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.OptionButton.Click += new System.Windows.RoutedEventHandler(this.OptionButton_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\MainWindow.xaml"
                this.HelpButton.Click += new System.Windows.RoutedEventHandler(this.HelpButton_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.ArgumentTabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 7:
                this.UserControlGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.ActionsListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 11:

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

            #line default
            #line hidden
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:
                this.AddListListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 14:

            #line 176 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveMenuContextAddList_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 185 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveAllActions_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.ResultTabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:

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

            #line default
            #line hidden
                return;

            case 19:

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

            #line default
            #line hidden
                return;

            case 20:
                this.FileListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 21:

            #line 278 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshFiles_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 285 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveMenuContextFiles_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 292 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveAllFiles_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 299 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.InformationMenuContextFiles_Click);

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:

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

            #line default
            #line hidden
                return;

            case 27:

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

            #line default
            #line hidden
                return;

            case 28:
                this.FolderListView = ((System.Windows.Controls.ListView)(target));
                return;

            case 29:

            #line 387 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RefreshFolders_Click);

            #line default
            #line hidden
                return;

            case 30:

            #line 394 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveMenuContextFolders_Click);

            #line default
            #line hidden
                return;

            case 31:

            #line 401 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RemoveAllFolders_Click);

            #line default
            #line hidden
                return;

            case 32:

            #line 408 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.InformationMenuContextFolders_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.batchrename = ((BatchRename.MainWindow)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.batchrename.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this._tabcontrolShow = ((System.Windows.Controls.TabControl)(target));
                return;

            case 3:
                this.FileShow = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.FolderShow = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 5:

            #line 199 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ToolBar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);

            #line default
            #line hidden
                return;

            case 6:
                this._btnAdd = ((System.Windows.Controls.Button)(target));

            #line 201 "..\..\MainWindow.xaml"
                this._btnAdd.Click += new System.Windows.RoutedEventHandler(this.BtnAdd_Click);

            #line default
            #line hidden
                return;

            case 7:
                this._btnRemove = ((System.Windows.Controls.Button)(target));

            #line 209 "..\..\MainWindow.xaml"
                this._btnRemove.Click += new System.Windows.RoutedEventHandler(this.BtnRemove_Click);

            #line default
            #line hidden
                return;

            case 8:

            #line 241 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ToolBar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);

            #line default
            #line hidden
                return;

            case 9:
                this._btnRefresh = ((System.Windows.Controls.Button)(target));

            #line 242 "..\..\MainWindow.xaml"
                this._btnRefresh.Click += new System.Windows.RoutedEventHandler(this.BtnRefresh);

            #line default
            #line hidden
                return;

            case 10:
                this._menuHelp = ((System.Windows.Controls.Menu)(target));
                return;

            case 11:

            #line 254 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAbout);

            #line default
            #line hidden
                return;

            case 12:

            #line 255 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Help);

            #line default
            #line hidden
                return;

            case 13:
                this._btnStartBatch = ((System.Windows.Controls.Button)(target));

            #line 259 "..\..\MainWindow.xaml"
                this._btnStartBatch.Click += new System.Windows.RoutedEventHandler(this.BtnStartBatch);

            #line default
            #line hidden
                return;

            case 14:

            #line 271 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.ToolBar)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ToolBar_Loaded);

            #line default
            #line hidden
                return;

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

            #line 272 "..\..\MainWindow.xaml"
                this._btnNewPreset.Click += new System.Windows.RoutedEventHandler(this.BtnNewPreset);

            #line default
            #line hidden
                return;

            case 16:
                this._btnSavePreset = ((System.Windows.Controls.Button)(target));

            #line 278 "..\..\MainWindow.xaml"
                this._btnSavePreset.Click += new System.Windows.RoutedEventHandler(this.BtnSavePreset);

            #line default
            #line hidden
                return;

            case 17:
                this._comboboxPreset = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this._btnLoadFilePreset = ((System.Windows.Controls.Button)(target));

            #line 286 "..\..\MainWindow.xaml"
                this._btnLoadFilePreset.Click += new System.Windows.RoutedEventHandler(this.BtnLoadPreset);

            #line default
            #line hidden
                return;

            case 19:
                this._stackPanel_NewCase = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 20:
                this._btnNewCase = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 307 "..\..\MainWindow.xaml"
                this._btnNewCase.Click += new System.Windows.RoutedEventHandler(this.BtnNewCase);

            #line default
            #line hidden
                return;

            case 21:
                this._comboboxNewCase = ((System.Windows.Controls.ComboBox)(target));

            #line 310 "..\..\MainWindow.xaml"
                this._comboboxNewCase.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this._comboboxNewCase_SelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this._comboboxitem_ToupperCase = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 23:
                this._comboboxitem_TolowerCase = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 24:
                this._comboboxitem_FirstUpperCase = ((System.Windows.Controls.ComboBoxItem)(target));
                return;

            case 25:
                this._stackPanel_Replace = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 26:
                this._btnReplace = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 331 "..\..\MainWindow.xaml"
                this._btnReplace.Click += new System.Windows.RoutedEventHandler(this.BtnReplace);

            #line default
            #line hidden
                return;

            case 27:
                this._stackPanelReplace = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 28:
                this._textboxReplace = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this._textboxReplaceBy = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this._stackPanel_Move = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 31:
                this._btnMove = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 357 "..\..\MainWindow.xaml"
                this._btnMove.Click += new System.Windows.RoutedEventHandler(this.BtnMove);

            #line default
            #line hidden
                return;

            case 32:
                this._stackPanelMove = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 33:
                this._btnFullName = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 376 "..\..\MainWindow.xaml"
                this._btnFullName.Click += new System.Windows.RoutedEventHandler(this.BtnFullName);

            #line default
            #line hidden
                return;

            case 34:
                this._btnUniqueName = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 390 "..\..\MainWindow.xaml"
                this._btnUniqueName.Click += new System.Windows.RoutedEventHandler(this.BtnUnique);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }