Example #1
0
 protected override void OnHandleCreated(EventArgs e)
 {
     base.OnHandleCreated(e);
     WindowUtils.HideAnnoyingFocusRectangles(this);
     // the Explorer-style listview looks cooler than the standard listview.
     WindowUtils.SetExplorerStyleControl(this);
 }
Example #2
0
 protected override void OnGotFocus(EventArgs e)
 {
     base.OnGotFocus(e);
     WindowUtils.HideAnnoyingFocusRectangles(this);
 }