Exemple #1
0
 protected override void OnVisibleChanged(EventArgs e)
 {
     base.OnVisibleChanged(e);
     if (Visible)
     {
         Invalidate();
         if (!DebugTool.IsDesignMode)
         {
             Sw = new ShadowWin(this, header);
             Sw.Show(this);
         }
     }
 }
Exemple #2
0
 public override void Refresh()
 {
     if (!DebugTool.IsDesignMode)
     {
         if (Sw != null)
         {
             Sw.Close();
         }
         Sw = new ShadowWin(this, header);
         Sw.Show(this);
     }
     base.Refresh();
 }