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(); } }
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(); } }