Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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;
        }