Esempio n. 1
0
 public new void SendToBack()
 {
     base.SendToBack();
     if (MpeParent != null)
     {
         MpeParent.Prepare();
     }
 }
Esempio n. 2
0
 public new void BringToFront()
 {
     base.BringToFront();
     if (MpeParent != null)
     {
         MpeParent.Prepare();
     }
 }
Esempio n. 3
0
 public void SendBack()
 {
     if (MpeParent != null)
     {
         try
         {
             int i = MpeParent.Controls.GetChildIndex(this, true);
             MpeParent.Controls.SetChildIndex(this, (i + 1));
             MpeParent.Prepare();
         }
         catch (Exception ee)
         {
             MpeLog.Warn(ee);
         }
     }
 }
Esempio n. 4
0
 public void BringForward()
 {
     if (MpeParent != null)
     {
         try
         {
             int i = MpeParent.Controls.GetChildIndex(this, true);
             if (i > 0)
             {
                 MpeParent.Controls.SetChildIndex(this, (i - 1));
                 MpeParent.Prepare();
             }
         }
         catch (Exception ee)
         {
             MpeLog.Warn(ee);
         }
     }
 }