예제 #1
0
//File Operations Invoking

        private void NewFolder()
        {
            NewFolder nf = new NewFolder(activeWiew, activeViewPath);

            nf.ShowDialog();

            BuildListView(activeWiew, activeViewPath);

            if (activeViewPath == inactiveViewPath)
            {
                BuildListView(inactiveWiew, inactiveViewPath);
            }
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.WindowNewFolder = ((TotalCommander.NewFolder)(target));
     return;
     case 2:
     this.pnlContainer = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 3:
     this.pnlTop = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 4:
     this.lblNewFolder = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.txtNewFolderName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.pnlBottom = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 7:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\NewFolder.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     
     #line 16 "..\..\NewFolder.xaml"
     this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }