Example #1
0
 public Form1()
 {
     InitializeComponent();
     ttTimer                             = new Timer();
     tt                                  = new ToolTip();
     ttTimer.Tick                       += ttTimer_Tick;
     this.Resize                        += Form1_Resize;
     sourceTreeView.Scroll              += TreeView_Scroll;
     sourceTreeView.NodeMouseHover      += TreeView_NodeMouseHover;
     sourceTreeView.NodeMouseClick      += TreeView_NodeMouseClick;
     sourceTreeView.MouseLeave          += TreeView_MouseLeave;
     sourceTreeView.MouseUp             += TreeView_MouseUp;
     targetTreeView.Scroll              += TreeView_Scroll;
     targetTreeView.NodeMouseHover      += TreeView_NodeMouseHover;
     targetTreeView.NodeMouseClick      += TreeView_NodeMouseClick;
     targetTreeView.MouseLeave          += TreeView_MouseLeave;
     targetTreeView.MouseUp             += TreeView_MouseUp;
     findReplaceDialog1                  = new FindReplaceDialog();
     findReplaceDialog1.DisableUpDown    = true;
     findReplaceDialog1.Direction        = FindDirection.Down;
     findReplaceDialog1.FindWhat         = "";
     findReplaceDialog1.ReplaceWith      = "";
     findReplaceDialog1.FindNext        += findReplaceDialog1_FindNext;
     findReplaceDialog1.Replace         += findReplaceDialog1_Replace;
     findReplaceDialog1.ReplaceAll      += findReplaceDialog1_ReplaceAll;
     findReplaceDialog1.DialogTerminate += findReplaceDialog1_Close;
 }
Example #2
0
 internal OwnerWindow(FindReplaceDialog source)
 {
     this.source = source;
 }