internal override void load() { if (root.grdContent.Children.Contains(curcontrol)) { root.grdContent.Children.Remove(curcontrol); } curcontrol = new RFullViewProduceCount() { Margin = new System.Windows.Thickness(20, 100, 20, 20) }; root.grdContent.Children.Add(curcontrol); }
internal override void unload() { if (panel != null) { (panel as BaseIPanel).unload(); } root.grdMap.Opacity = 1; if (root.grdContent.Children.Contains(curcontrol)) { root.grdContent.Children.Remove(curcontrol); } curcontrol = null; }