internal FunctionFind( ITreeOwner treeOwner, string SearchString ) { // // Required for Windows Form Designer support // InitializeComponent(); TreeOwner = treeOwner; tbSearchString.Text = SearchString; }
internal FunctionFind(ITreeOwner treeOwner, string SearchString) { // // Required for Windows Form Designer support // InitializeComponent(); TreeOwner = treeOwner; tbSearchString.Text = SearchString; }
internal DlgFunctionFilter( ITreeOwner TreeOwner ) { // // Required for Windows Form Designer support // InitializeComponent(); m_treeOwner = TreeOwner; node = new TreeNode(TreeNode.NodeType.Call, 0 ); includeFns = m_treeOwner.GetIncludeFilters(); tbIncludeFn0.Text = GetName( includeFns[0].nodetype, includeFns[0].functionId ); tbIncludeFn0.Enabled = true; tbIncludeFn1.Text = GetName( includeFns[1].nodetype, includeFns[1].functionId ); tbIncludeFn1.Enabled = true; excludeFns = m_treeOwner.GetExcludeFilters(); tbExcludeFn0.Text = GetName( excludeFns[0].nodetype, excludeFns[0].functionId ); tbExcludeFn0.Enabled = true; tbExcludeFn1.Text = GetName( excludeFns[1].nodetype, excludeFns[1].functionId ); tbExcludeFn1.Enabled = true; }
internal DlgFunctionFilter(ITreeOwner TreeOwner) { // // Required for Windows Form Designer support // InitializeComponent(); m_treeOwner = TreeOwner; node = new TreeNode(TreeNode.NodeType.Call, 0); includeFns = m_treeOwner.GetIncludeFilters(); tbIncludeFn0.Text = GetName(includeFns[0].nodetype, includeFns[0].functionId); tbIncludeFn0.Enabled = true; tbIncludeFn1.Text = GetName(includeFns[1].nodetype, includeFns[1].functionId); tbIncludeFn1.Enabled = true; excludeFns = m_treeOwner.GetExcludeFilters(); tbExcludeFn0.Text = GetName(excludeFns[0].nodetype, excludeFns[0].functionId); tbExcludeFn0.Enabled = true; tbExcludeFn1.Text = GetName(excludeFns[1].nodetype, excludeFns[1].functionId); tbExcludeFn1.Enabled = true; }
internal TreeListView(ITreeOwner in_treeOwner) { treeOwner = in_treeOwner; hoverPopup = new PlacedToolTip(); hoverPopup.Parent = FindForm(); treeListBox = new ListBox(); treeListBox.Parent = this; treeListBox.BorderStyle = System.Windows.Forms.BorderStyle.None; treeListBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; treeListBox.IntegralHeight = false; treeListBox.Name = "treeListBox"; treeListBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeListBox_KeyDown); treeListBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeListBox_MouseDown); treeListBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeListBox_MouseMove); treeListBox.DoubleClick += new System.EventHandler(this.treeListBox_DoubleClick); treeListBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.treeListBox_DrawItem); treeListBox.SelectedIndexChanged += new System.EventHandler(this.treeListBox_SelectedIndexChanged); columns = new ArrayList(); // must be created before calling `AddColumn` resizeBar = new ResizeBarCapture(columns); resizeBar.Visible = false; resizeBar.Parent = this; leftEdge = 0; OnResize(null); // log = new StreamWriter("test.log"); // Create a blank context menu. We'll fill it in when the user right clicks ContextMenu contextMenu = new ContextMenu(); ContextMenu = contextMenu; }
internal TreeListView(ITreeOwner in_treeOwner) { treeOwner = in_treeOwner; hoverPopup = new PlacedToolTip(); hoverPopup.Parent = FindForm(); treeListBox = new ListBox(); treeListBox.Parent = this; treeListBox.BorderStyle = System.Windows.Forms.BorderStyle.None; treeListBox.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; treeListBox.IntegralHeight = false; treeListBox.Name = "treeListBox"; treeListBox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeListBox_KeyDown); treeListBox.MouseDown += new System.Windows.Forms.MouseEventHandler(this.treeListBox_MouseDown); treeListBox.MouseMove += new System.Windows.Forms.MouseEventHandler(this.treeListBox_MouseMove); treeListBox.DoubleClick += new System.EventHandler(this.treeListBox_DoubleClick); treeListBox.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.treeListBox_DrawItem); treeListBox.SelectedIndexChanged += new System.EventHandler(this.treeListBox_SelectedIndexChanged); columns = new ArrayList(); // must be created before calling `AddColumn` resizeBar = new ResizeBarCapture(columns); resizeBar.Visible = false; resizeBar.Parent = this; leftEdge = 0; OnResize(null); // Create a blank context menu. We'll fill it in when the user right clicks ContextMenu contextMenu = new ContextMenu(); ContextMenu = contextMenu; }