internal void DrowFounds() { if (listFoundation.Count == 0) { return; } if (listFoundation == null) { return; } CalculateContoursFounds(); CreateSmallPropsFounds(); int t = 75; int l = 75; double ws = SystemParameters.PrimaryScreenWidth; double hs = SystemParameters.PrimaryScreenHeight; cw = new CanwasWindow(); cw.Top = t; cw.Left = l; cw.MaxHeight = hs - t - 37; cw.MaxWidth = ws - l - 5; cw.CanvasScrollViewer.MaxWidth = cw.MaxWidth; cw.CanvasScrollViewer.MaxHeight = cw.MaxHeight - 60; cw.Owner = MW; CanvasDrafter.DrawFoundations(listFoundation, cw.drawArea, cw.MaxHeight - 120); cw.drawArea.MinHeight = cw.drawArea.Height; cw.drawArea.MinWidth = cw.drawArea.Width; cw.EventMouseEnter(); cw.Show(); }
internal void DrowFoundsNums() { if (cw == null || cw.IsActive == false) { return; } CanvasDrafter.DrawFoundationsNumbers(listFoundation, cw.drawArea); }