예제 #1
0
파일: ArcTool.cs 프로젝트: wilsoc5/tikzedt
 void UpdatePreviewDisplay()
 {
     if (pointcount == 0)
     {
         PreviewArc.Visible = PreviewPie.Visible = false;
     }
     else
     {
         PreviewArc.IsLargeArc = PreviewPie.IsLargeArc = IsLargeArc;
         if (IsPie)
         {
             PreviewPie.IsDashed = false;
             PreviewPie.Visible  = true;
             PreviewArc.Visible  = false;
         }
         else
         {
             PreviewPie.IsDashed = true;
             PreviewPie.Visible  = true;
             PreviewArc.Visible  = true;
         }
         PreviewArc.Refresh();
         PreviewPie.Refresh();
     }
 }
예제 #2
0
 void UpdatePreviewDisplay()
 {
     //GlobalUI.UI.AddStatusLine(this, "UPD");
     if (pointcount == 0)
     {
         PreviewArc.Visible = PreviewPie.Visible = false;
     }
     else
     {
         PreviewArc.IsLargeArc = PreviewPie.IsLargeArc = IsLargeArc;
         if (IsPie)
         {
             PreviewPie.IsDashed = false;
             PreviewPie.Visible  = true;
             PreviewArc.Visible  = false;
         }
         else
         {
             PreviewPie.IsDashed = true;
             PreviewPie.Visible  = true;
             PreviewArc.Visible  = true;
         }
         PreviewArc.Refresh();
         PreviewPie.Refresh();
     }
 }