void FileTreeView_NodeActivated(object sender, FileTreeNodeActivatedEventArgs e) { e.Handled = true; var asmRefNode = e.Node as IAssemblyReferenceNode; if (asmRefNode != null) { var asm = FileTreeView.FileManager.Resolve(asmRefNode.AssemblyRef, asmRefNode.GetModule()); Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => { var asmNode = FileTreeView.FindNode(asm); if (asmNode != null) { FileTreeView.TreeView.SelectItems(new ITreeNodeData[] { asmNode }); } })); return; } var derivedTypeNode = e.Node as IDerivedTypeNode; if (derivedTypeNode != null) { var td = derivedTypeNode.TypeDef; Debug.Assert(td != null); Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => { var typeNode = FileTreeView.FindNode(td); if (typeNode != null) { FileTreeView.TreeView.SelectItems(new ITreeNodeData[] { typeNode }); } })); return; } var baseTypeNode = e.Node as IBaseTypeNode; if (baseTypeNode != null) { var tdr = baseTypeNode.TypeDefOrRef; Debug.Assert(tdr != null); var td = tdr?.ScopeType.ResolveTypeDef(); Dispatcher.CurrentDispatcher.BeginInvoke(DispatcherPriority.Background, new Action(() => { var typeNode = FileTreeView.FindNode(td); if (typeNode != null) { FileTreeView.TreeView.SelectItems(new ITreeNodeData[] { typeNode }); } })); return; } var tab = ActiveTabContentImpl; if (tab == null) { return; } SetFocus(tab); }
private void eFileGridEX_MouseClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) //display context menu { try { if (AtMng.SecurityManager.CanExecute(0, atSecurity.SecurityManager.Features.Atrium) == atSecurity.SecurityManager.ExPermissions.No) { return; } if (CurrentRow() != null && eFileGridEX.HitTest() == Janus.Windows.GridEX.GridArea.Cell) { atriumBE.FileManager fm = AtMng.GetFile(CurrentRow().FileId); FileTreeView.BuildMenu(fm, ucFileContextMenu1.uiCommandManager1.Commands["cmdFNew"], FileTreeView.dmFILENEW); FileTreeView.BuidAKA(fm, ucFileContextMenu1.uiCommandManager1.Commands["cmdFileAKA"]); ucFileContextMenu1.uiContextMenu4.CommandManager.Tag = CurrentRow(); ucFileContextMenu1.uiContextMenu4.Show(); } } catch (Exception x) { UIHelper.HandleUIException(x); } } }
HashSet <IDnSpyFile> GetModifiedFiles(IDnSpyFile file) { var fileHash = new HashSet <IDnSpyFile>(); fileHash.Add(file); var node = FileTreeView.FindNode(file); if (node is IModuleFileNode) { if (node.DnSpyFile.AssemblyDef != null && node.DnSpyFile.AssemblyDef.ManifestModule == node.DnSpyFile.ModuleDef) { var asmNode = node.GetAssemblyNode(); Debug.Assert(asmNode != null); if (asmNode != null) { fileHash.Add(asmNode.DnSpyFile); } } } else if (node is IAssemblyFileNode) { node.TreeNode.EnsureChildrenLoaded(); var manifestModNode = node.TreeNode.DataChildren.FirstOrDefault() as IModuleFileNode; Debug.Assert(manifestModNode != null); if (manifestModNode != null) { fileHash.Add(manifestModNode.DnSpyFile); } } return(fileHash); }
public void bindCBData(CLAS.CashBlotterDataTable dt) { UIHelper.ComboBoxInit("CBInstrumentType", valuableTypeComboBox, FM); UIHelper.ComboBoxInit("CBInstrumentType", cBDetailGridEX.DropDowns["ddInstrumentType"], FM); UIHelper.ComboBoxInit("CBNatureOfPayment", natureOfPaymentComboBox, FM); UIHelper.ComboBoxInit("CBPaymentSource", paymentSourceComboBox, FM); UIHelper.ComboBoxInit("CBStatus", statusCodeComboBox, FM); UIHelper.ComboBoxInit("CurrencyCode", currencyCodeComboBox, FM); UIHelper.ComboBoxInit("vofficelist", mccOfficeCode, FM); ucContactSelectBox1.FM = FM; ucContactSelectBox2.FM = FM; setBindingSources(); CLAS.CBDetailDataTable cbDetailDt; cbDetailDt = FM.GetCLASMng().DB.CBDetail; //CLAS.CashBlotterRow cr = (CLAS.CashBlotterRow)FM.GetCLASMng().GetCashBlotter().GetCurrentRow()[0]; //cashBlotterBindingSource.Position= cashBlotterBindingSource.Find("CashBlotterID", cr.CashBlotterID); cbDetailDt.ColumnChanged += new DataColumnChangeEventHandler(cbDetailDt_ColumnChanged); FM.GetCLASMng().GetCashBlotter().OnUpdate += new atLogic.UpdateEventHandler(ucCashBlotterOffice_OnUpdate); FM.GetCLASMng().GetCBDetail().OnUpdate += new atLogic.UpdateEventHandler(ucCashBlotterOffice_OnUpdate); ApplySecurity(CurrentRow()); FileTreeView.BuildMenu(FM, tsActions, "CBOffice"); }
private void eFileGridEX_MouseClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Right) //display context menu { try { //TODO:create context menu control //raise event if (CurrentRow() != null && eFileGridEX.HitTest() == Janus.Windows.GridEX.GridArea.Cell) { Application.UseWaitCursor = true; atriumBE.FileManager fm = Atmng.GetFile(CurrentRow().FileId); FileTreeView.BuildMenu(fm, ucFileContextMenu1.uiCommandManager1.Commands["cmdFNew"], FileTreeView.dmFILENEW); FileTreeView.BuidAKA(fm, ucFileContextMenu1.uiCommandManager1.Commands["cmdFileAKA"]); ucFileContextMenu1.uiContextMenu7.CommandManager.Tag = CurrentRow(); ucFileContextMenu1.uiContextMenu7.Show(); Application.UseWaitCursor = false; } } catch (Exception x) { Application.UseWaitCursor = false; UIHelper.HandleUIException(x); } } }
private void FileTreeView_MouseDoubleClick(object sender, MouseButtonEventArgs e) { TreeListItem item = WpfUtil.GetTreeListItem(e.OriginalSource); if (item == null) { return; } FileComponent file = FileController.SelectedItem; if (file != null) { if (file.File) { file.Open(); } else { TreeNode node = FileTreeView.SelectedNode; if (node != null) { FileTreeView.SetIsExpanded(node, !node.IsExpanded); } } } FileTreeView.UnselectAll(); }
FileTabManager(IFileTabUIContextLocatorCreator fileTabUIContextLocatorCreator, FileTreeView fileTreeView, ITabManagerCreator tabManagerCreator, IFileTabContentFactoryManager fileTabContentFactoryManager, IFileTabManagerSettings fileTabManagerSettings, IWpfFocusManager wpfFocusManager, IDecompilationCache decompilationCache, [ImportMany] IEnumerable <Lazy <IReferenceFileTabContentCreator, IReferenceFileTabContentCreatorMetadata> > mefRefFactories) { this.fileTabManagerSettings = fileTabManagerSettings; this.fileTabUIContextLocatorCreator = fileTabUIContextLocatorCreator; this.fileTabContentFactoryManager = fileTabContentFactoryManager; this.wpfFocusManager = wpfFocusManager; this.decompilationCache = decompilationCache; this.refFactories = mefRefFactories.OrderBy(a => a.Metadata.Order).ToArray(); var tvElem = fileTreeView.TreeView.UIObject as UIElement; Debug.Assert(tvElem != null); if (tvElem != null) { tvElem.IsVisibleChanged += TreeView_IsVisibleChanged; isTreeViewVisible = tvElem.IsVisible; } this.fileTreeView = fileTreeView; this.fileTreeView.FileManager.CollectionChanged += FileManager_CollectionChanged; this.fileTreeView.SelectionChanged += FileTreeView_SelectionChanged; this.fileTreeView.NodesTextChanged += FileTreeView_NodesTextChanged; this.fileTreeView.NodeActivated += FileTreeView_NodeActivated; this.fileTreeView.TreeView.NodeRemoved += TreeView_NodeRemoved; this.tabManager = tabManagerCreator.Create(); this.tabGroupManager = this.tabManager.Create(new TabGroupManagerOptions(MenuConstants.GUIDOBJ_FILES_TABCONTROL_GUID)); this.tabGroupManager.TabSelectionChanged += TabGroupManager_TabSelectionChanged; this.tabGroupManager.TabGroupSelectionChanged += TabGroupManager_TabGroupSelectionChanged; }
public void LoadRoot(atriumManager atmng, int rootFileId, bool hideShortcuts, bool hideXRefs, bool hideDocShorcuts) { //should only be called once //subsequent calls should use reloadroot //this.ShowFileNumber = atmng.OfficeMng.GetOfficerPrefs().GetPref(OfficerPrefsBE.FTVShowFileNumber, true); //this.ShowOnlyOpenFiles = atmng.OfficeMng.GetOfficerPrefs().GetPref(OfficerPrefsBE.FTVShowOpenFiles, false); //this.HideXrefs = atmng.OfficeMng.GetOfficerPrefs().GetPref(OfficerPrefsBE.FTVShowXrefs, false); myFTV = new FileTreeView(atmng, tvFiles, ucFileContextMenu1); ucFileContextMenu1.LoadLabels(); myFTV.ShowContextMenu = showContextMenu; ucFileContextMenu1.Ftv = myFTV; myFTV.FileSelected += new LawMate.BrowseEventHandler(myFTV_FileSelected); myFTV.NodeDoubleClicked += new TreeDoubleClickEventHandler(myFTV_NodeDoubleClicked); myFTV.HideShortcutsAndXRefs(hideShortcuts, hideXRefs, hideDocShorcuts); myFTV.LoadRoot(rootFileId, false); RootFileId = rootFileId; this.ShowFileNumber = atmng.OfficeMng.GetOfficerPrefs().GetPref(OfficerPrefsBE.FTVShowFileNumber, true); this.ShowOnlyOpenFiles = atmng.OfficeMng.GetOfficerPrefs().GetPref(OfficerPrefsBE.FTVShowOpenFiles, false); this.HideXrefs = atmng.OfficeMng.GetOfficerPrefs().GetPref(OfficerPrefsBE.FTVShowXrefs, false); if (tvFiles.Nodes.Count == 1) { rootHasChildren = false; } }
static void Init() { //window = EditorWindow.GetWindow<FileTreeView>(); // 创建自定义窗体 window = (FileTreeView)EditorWindow.GetWindowWithRect(typeof(FileTreeView), new Rect(500, 100, 400, 500), true, "文件夹视图"); window.titleContent = new GUIContent("构建文件视图"); // 窗口的标题 window.Show(); CreateRoot(); ftpHelper = new FtpServerHelper("192.168.11.239", "pub/web/zhj_ppx/testftp", "ftp", "123456"); }
private void CreateAddNewAppointMenu() { // NOTE: do NOT use CurrentRow() property in this method if (FM.IsVirtualFM) { FileTreeView.BuildMenu(FM.AtMng.GetFile(FM.AtMng.WorkingAsOfficer.MyFileId), cmdHearing, FileTreeView.dmApptNew); } else { FileTreeView.BuildMenu(FM, cmdHearing, FileTreeView.dmApptNew); } }
/// <summary> /// /// </summary> /// <param name="tree"></param> public void Initialize(FileTreeView tree) { this.tree = tree; listView.Dock = DockStyle.Fill; listView.View = System.Windows.Forms.View.Details; listView.GridLines = true; listView.AllowColumnReorder = true; listView.FullRowSelect = true; listView.MultiSelect = true; listView.Columns.AddRange(CreateColumns()); listView.SmallImageList = images; listView.Sorting = SortOrder.None; tree.AfterSelect += new TreeViewEventHandler(tree_AfterSelect); }
public FolderViewer(MainForm mainForm, FileViewer fileViewer) { m_mainForm = mainForm; m_fileViewer = fileViewer; m_treeControl = new TreeControl(); m_treeControl.Text = "Folder Viewer"; m_treeControl.ImageList = ResourceUtil.GetImageList16(); m_treeControl.SelectionMode = SelectionMode.One; m_treeControl.Dock = DockStyle.Fill; m_treeControl.Width = 256; m_treeControlAdapter = new TreeControlAdapter(m_treeControl); m_fileTreeView = new FileTreeView(); m_fileTreeView.SelectionChanged += new EventHandler(fileTreeView_SelectionChanged); m_treeControlAdapter.TreeView = m_fileTreeView; }
private void FileOpenCommand_Executed(object sender, ExecutedRoutedEventArgs e) { if (FileController.SelectedItems.Count == 1) { FileComponent file = FileController.SelectedItem; if (file.File) { file.Open(); FileTreeView.UnselectAll(); return; } } FileController.Open(FileController.SelectedItems); FileTreeView.UnselectAll(); }
private void schedule1_SelectedAppointmentsChanged(object sender, EventArgs e) { try { if (schedule1.CurrentAppointment != null) { int id = (int)schedule1.CurrentAppointment.GetValue("ApptId"); AppointmentBindingSource.Position = AppointmentBindingSource.Find("ApptId", id); // FileTreeView.BuildMenu(FM.AtMng.GetFile(CurrentRow().FileId), cmdHearing, FileTreeView.dmAppt); if (ApptIsHearing()) { FileTreeView.BuildMenu(FM.AtMng.GetFile(CurrentRow().FileId), cmdHearing, FileTreeView.dmHearing); } else { if (CurrentRow() != null) { FileTreeView.BuildMenu(FM.AtMng.GetFile(CurrentRow().FileId), cmdHearing, FileTreeView.dmAppt); } else { CreateAddNewAppointMenu(); } } ToggleApptPnlContents(false); } else { if (CurrentRow() != null) { FileTreeView.BuildMenu(FM.AtMng.GetFile(CurrentRow().FileId), cmdHearing, FileTreeView.dmApptNew); } else { CreateAddNewAppointMenu(); } ToggleApptPnlContents(true); } } catch (Exception x) { UIHelper.HandleUIException(x); } }
private void AppointmentBindingSource_CurrentChanged(object sender, EventArgs e) { try { if (CurrentRow() == null) { return; } if (CurrentRow().IsNull("ApptId")) { return; } if (!CurrentRow().IsStartDateLocalNull()) { schedule1.EnsureVisible(CurrentRow().StartDateLocal); } if (ApptIsHearing()) { FileTreeView.BuildMenu(FM.AtMng.GetFile(CurrentRow().FileId), cmdHearing, FileTreeView.dmHearing); } else { if (CurrentRow() != null) { FileTreeView.BuildMenu(FM.AtMng.GetFile(CurrentRow().FileId), cmdHearing, FileTreeView.dmAppt); } else { CreateAddNewAppointMenu(); } } DataView dv = new DataView(FM.DB.Attendee, "ApptId = " + CurrentRow().ApptId + "", "", DataViewRowState.ModifiedCurrent | DataViewRowState.Unchanged); attendeeBindingSource.DataSource = dv; ApplySecurity(CurrentRow()); } catch (Exception x) { UIHelper.HandleUIException(x); } }
public void LoadACS(string form) { int acsid = System.Convert.ToInt32(form.Replace("acs-", "")); Atmng = FM.AtMng; myACSeries = Atmng.acMng.DB.ACSeries.FindByACSeriesId(acsid); appDB.ddTableRow[] dtrs = (appDB.ddTableRow[])Atmng.DB.ddTable.Select("DefaultFormID=" + acsid.ToString()); myPrimaryTable = dtrs[0]; secReadOnly = Atmng.SecurityManager.CanUpdate(FM.CurrentFileId, MyFeatureID()) == atSecurity.SecurityManager.LevelPermissions.No; tsScreenTitle.Text = myACSeries["Desc" + Atmng.AppMan.Language].ToString(); Init(myACSeries); FileTreeView.BuildMenu(FM, tsActions, myACSeries.StepCode); }
private void InitComboBox(EditableComboBox comboBox, ComboBoxInfo info) { comboBox.DataContext = new StringListViewModel(); comboBox.TextChanged += (s, e) => info.SearchFunction(); comboBox.KeyDown += (s, e) => { if (e.Key == Key.Return || e.Key == Key.Enter) { info.SearchFunction(); } }; comboBox.PrePreviewKeyDown += (s, e) => { if (e.KeyboardDevice.Modifiers == ModifierKeys.None && e.Key == Key.Down) { FileTreeView.Focus(); e.Handled = true; } }; }
public void bindSRPData(atriumDB.SRPDataTable a) { label2.Visible = false; myOfficeMan = FM.AtMng.GetOffice(FM.CurrentFile.LeadOfficeId); officeIDucOfficeSelectBox.AtMng = FM.AtMng; sRPBindingSource.DataSource = a.DataSet; sRPBindingSource.DataMember = a.TableName; a.ColumnChanged += new DataColumnChangeEventHandler(a_ColumnChanged); FM.GetSRP().OnUpdate += new atLogic.UpdateEventHandler(ucSRP_OnUpdate); //ApplySecurity(CurrentRow()); if (!myOfficeMan.CurrentOffice.UploadsDisb) { tsImport.Enabled = Janus.Windows.UI.InheritableBoolean.False; } if (!myOfficeMan.CurrentOffice.UsesBilling) { tsSubmitSRP.Enabled = Janus.Windows.UI.InheritableBoolean.False; tsGenSRP.Enabled = Janus.Windows.UI.InheritableBoolean.False; } if (FM.AtMng.SecurityManager.CanExecute(0, atSecurity.SecurityManager.Features.SysAdmin) == atSecurity.SecurityManager.ExPermissions.Yes) { cmdRollbackSRP.Visible = Janus.Windows.UI.InheritableBoolean.True; } else { cmdRollbackSRP.Visible = Janus.Windows.UI.InheritableBoolean.False; } if (a.Count == 0) // no SRPs { NoData(); } FileTreeView.BuildMenu(FM, tsActions, "SRP"); }
private void FileAddCommand_Executed(object sender, ExecutedRoutedEventArgs e) { DemonSaw.Entity.Entity entity = ClientController.SelectedItem; System.Windows.Forms.FolderBrowserDialog dlg = new System.Windows.Forms.FolderBrowserDialog() { Description = "Select the directory that you want to share.", }; System.Windows.Forms.DialogResult result = dlg.ShowDialog(); if (result == System.Windows.Forms.DialogResult.OK) { FileComponent file = new FileComponent(dlg.SelectedPath) { Owner = entity }; FileController.Add(file); } FileTreeView.UnselectAll(); }
public CodeSearchControl() { InitializeComponent(); // Add the "VsColors" brushes to the WPF resources of the control, so that the // resource keys used on the XAML file can be resolved dynamically. Resources.MergedDictionaries.Add(VsResources.BuildResourceDictionary()); DataContext = new CodeSearchViewModel(); _progressBarTracker = new ProgressBarTracker(ProgressBar); InitComboBox(SearchCodeCombo, new ComboBoxInfo { TextChanged = text => { ViewModel.SearchCodeValue = text; }, SearchFunction = RefreshSearchResults, NextElement = SearchFilePathsCombo, }); InitComboBox(SearchFilePathsCombo, new ComboBoxInfo { TextChanged = text => { ViewModel.SearchFilePathsValue = text; }, SearchFunction = RefreshSearchResults, PreviousElement = SearchCodeCombo, InitialItems = { "*", "*.c;*.cpp;*.cxx;*.cc;*.tli;*.tlh;*.h;*.hh;*.hpp;*.hxx;*.hh;*.inl;*.rc;*.resx;*.idl;*.asm;*.inc", "*.htm;*.html;*.xml;*.gif;*.jpg;*.png;*.css;*.disco;*.js;*.srf", "*.xml;*.xsl;*.xslt;*.xsd;*.dtd", "*.txt", "*.cs;*.resx;*.resw;*.xsd;*.wsdl;*.xaml;*.xml;*.htm;*.html;*.css", "*.vb;*.resx;*.resw;*.xsd;*.wsdl;*.xaml;*.xml;*.htm;*.html;*.css", "*.*", } }); // Setup custom NextElement logic to account for swapping tree/list views SearchFilePathsCombo.PrePreviewKeyDown += (s, e) => { if (e.KeyboardDevice.Modifiers == ModifierKeys.None && e.Key == Key.Down) { if (!SearchFilePathsCombo.IsDropDownOpen) { if (ViewModel.FlattenSearchResults) { FileListBox.Focus(); if (FileListBox.SelectedItem == null) { FileListBox.SelectedIndex = 0; } var listBoxItem = (ListBoxItem)FileListBox.ItemContainerGenerator.ContainerFromItem(FileListBox.SelectedItem); if (listBoxItem != null) { listBoxItem.Focus(); } } else { FileTreeView.Focus(); } e.Handled = true; } } }; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.TagTree = new Prometheus.Controls.FileTreeView(); this.contextFolder = new System.Windows.Forms.ContextMenu(); this.mnu_extractFolder = new System.Windows.Forms.MenuItem(); this.ExtractAllTagsBtn = new System.Windows.Forms.Button(); this.ExtractSelectedTagsBtn = new System.Windows.Forms.Button(); this.IncludeDependenciesChk = new System.Windows.Forms.CheckBox(); this.TagList = new Prometheus.Controls.FileListView(); this.contextFile = new System.Windows.Forms.ContextMenu(); this.mnu_extractFile = new System.Windows.Forms.MenuItem(); this.SelectedTagName = new System.Windows.Forms.TextBox(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.panel1 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.SuspendLayout(); // // TagTree // this.TagTree.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TagTree.ContextMenu = this.contextFolder; this.TagTree.ImageIndex = -1; this.TagTree.Location = new System.Drawing.Point(10, 9); this.TagTree.Name = "TagTree"; this.TagTree.SelectedImageIndex = -1; this.TagTree.ShowFiles = Prometheus.Controls.FileTreeView.ShowFilesBehavior.Self; this.TagTree.Size = new System.Drawing.Size(240, 333); this.TagTree.TabIndex = 0; // // contextFolder // this.contextFolder.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnu_extractFolder }); // // mnu_extractFolder // this.mnu_extractFolder.Index = 0; this.mnu_extractFolder.Text = "Extract All Files in Selected Folder..."; this.mnu_extractFolder.Click += new System.EventHandler(this.mnu_extractFolder_Click); // // ExtractAllTagsBtn // this.ExtractAllTagsBtn.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ExtractAllTagsBtn.FlatStyle = System.Windows.Forms.FlatStyle.System; this.ExtractAllTagsBtn.Location = new System.Drawing.Point(10, 357); this.ExtractAllTagsBtn.Name = "ExtractAllTagsBtn"; this.ExtractAllTagsBtn.Size = new System.Drawing.Size(240, 27); this.ExtractAllTagsBtn.TabIndex = 1; this.ExtractAllTagsBtn.Text = "Add All Files in Selected Folder"; this.ExtractAllTagsBtn.Click += new System.EventHandler(this.ExtractAllTagsBtn_Click); // // ExtractSelectedTagsBtn // this.ExtractSelectedTagsBtn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ExtractSelectedTagsBtn.FlatStyle = System.Windows.Forms.FlatStyle.System; this.ExtractSelectedTagsBtn.Location = new System.Drawing.Point(10, 357); this.ExtractSelectedTagsBtn.Name = "ExtractSelectedTagsBtn"; this.ExtractSelectedTagsBtn.Size = new System.Drawing.Size(163, 27); this.ExtractSelectedTagsBtn.TabIndex = 2; this.ExtractSelectedTagsBtn.Text = "Add Selected Files"; this.ExtractSelectedTagsBtn.Click += new System.EventHandler(this.ExtractSelectedTagsBtn_Click); // // IncludeDependenciesChk // this.IncludeDependenciesChk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.IncludeDependenciesChk.FlatStyle = System.Windows.Forms.FlatStyle.System; this.IncludeDependenciesChk.Location = new System.Drawing.Point(298, 357); this.IncludeDependenciesChk.Name = "IncludeDependenciesChk"; this.IncludeDependenciesChk.Size = new System.Drawing.Size(172, 27); this.IncludeDependenciesChk.TabIndex = 3; this.IncludeDependenciesChk.Text = "Including Dependencies"; // // TagList // this.TagList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TagList.ContextMenu = this.contextFile; this.TagList.Location = new System.Drawing.Point(10, 37); this.TagList.Name = "TagList"; this.TagList.Size = new System.Drawing.Size(460, 310); this.TagList.TabIndex = 4; this.TagList.SelectedIndexChanged += new System.EventHandler(this.TagList_SelectedIndexChanged); // // contextFile // this.contextFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnu_extractFile }); // // mnu_extractFile // this.mnu_extractFile.Index = 0; this.mnu_extractFile.Text = "Extract Selected File(s)..."; this.mnu_extractFile.Click += new System.EventHandler(this.mnu_extractFile_Click); // // SelectedTagName // this.SelectedTagName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.SelectedTagName.Location = new System.Drawing.Point(10, 9); this.SelectedTagName.Name = "SelectedTagName"; this.SelectedTagName.ReadOnly = true; this.SelectedTagName.Size = new System.Drawing.Size(460, 22); this.SelectedTagName.TabIndex = 5; this.SelectedTagName.Text = ""; // // imageList // this.imageList.ImageSize = new System.Drawing.Size(16, 16); this.imageList.TransparentColor = System.Drawing.Color.Transparent; // // panel1 // this.panel1.Controls.Add(this.TagTree); this.panel1.Controls.Add(this.ExtractAllTagsBtn); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(259, 393); this.panel1.TabIndex = 6; // // panel2 // this.panel2.Controls.Add(this.TagList); this.panel2.Controls.Add(this.SelectedTagName); this.panel2.Controls.Add(this.ExtractSelectedTagsBtn); this.panel2.Controls.Add(this.IncludeDependenciesChk); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Location = new System.Drawing.Point(259, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(480, 393); this.panel2.TabIndex = 7; // // splitter1 // this.splitter1.BackColor = System.Drawing.Color.Silver; this.splitter1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.splitter1.Location = new System.Drawing.Point(259, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(4, 393); this.splitter1.TabIndex = 8; this.splitter1.TabStop = false; // // DecompileNavigator // this.AutoScaleBaseSize = new System.Drawing.Size(6, 15); this.ClientSize = new System.Drawing.Size(739, 393); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.MinimumSize = new System.Drawing.Size(535, 375); this.Name = "DecompileNavigator"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Add Tags to Library"; this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.ResumeLayout(false); }
FileTreeViewAppSettingsModifiedListener(FileTreeView fileTreeView) { this.fileTreeView = fileTreeView; }