Ejemplo n.º 1
0
 /// <summary>
 /// Отрисовка
 /// </summary>
 public void Draw()
 {
     MT.Draw();
     if (!delete & DL == MainForm.drawLevel)
     {
         texture.Draw(Options.Throughput, active, Options.isPing);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Отрисовка
 /// </summary>
 public void Draw()
 {
     if (!delete)
     {
         if (type == 3)
         {
             if (MainMapDL == MainForm.drawLevel)
             {
                 MainPolygon.DrawB();
             }
             else if (LocalDL.Level == MainForm.drawLevel.Level)
             {
                 LocalPolygon.DrawB(koef);
             }
             //_MainPolygon.delete = false;
             //_MainPolygon.DrawB();
         }
         else if (type == 2)
         {
             if (MainMapDL == MainForm.drawLevel)
             {
                 MainRectangle.DrawB();
             }
             else if (LocalDL.Level == MainForm.drawLevel.Level)
             {
                 LocalRectangle.DrawB(koef);
             }
             //_MainRectangle.delete = false;
             //_MainRectangle.DrawB();
         }
         else if (type == 360)
         {
             if (MainMapDL == MainForm.drawLevel)
             {
                 MainCircle.DrawB();
             }
             else if (LocalDL.Level == MainForm.drawLevel.Level)
             {
                 LocalCircle.DrawB(koef);
             }
         }
         if (MainForm.filtres.Ent)
         {
             Entrances.Draw();
         }
         if (MainForm.filtres.IW)
         {
             InputWires.Draw();
         }
         if (MainForm.filtres.Text)
         {
             MT.Draw();
         }
     }
 }