tools/Stampfer/PeterSource1_1/DockContent/ctrlGothicInstances.cs
/// <summary>
/// After an item is selected, scroll to it...
/// </summary>
/// <param name="sender">TreeView</param>
/// <param name="e">TreeViewEventArgs</param>
After an item is selected, scroll to it
After an item is selected scroll to it
void treeMain_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
        {
                if (this.m_CanScroll)
                {
                    if (e.Node.Parent != null)
                    {
                        if (e.Node.Tag != null)
                        {
                            string file = (e.Node.Tag.ToString());
                            OpenFile(file, e.Node.Text);
                        }
                    }
                }
        }
void treeMain_NodeMouseDoubleClick ( object sender , TreeNodeMouseClickEventArgs e ) { if ( this . m_CanScroll ) { if ( e . Node . Parent != null ) { if ( e . Node . Tag != null ) { string file = ( e . Node . Tag . ToString ( ) ) ; OpenFile ( file , e . Node . Text ) ; } } } }
After an item is selected, scroll to it...
After an item is selected scroll to it ...
sender
object
None
e
TreeNodeMouseClickEventArgs
None