Example #1
0
 internal override void load()
 {
     if (uc == null)
     {
         uc = new LoadInput.LoadSummary()
         {
             Margin = new System.Windows.Thickness(20, 100, 20, 40)
         }
     }
     ;
     root.grdContent.Children.Add(uc);
 }
Example #2
0
        internal override void unload()
        {
            if (panel != null)
            {
                (panel as BaseIPanel).unload();
            }

            if (uc != null && root.grdContent.Children.Contains(uc))
            {
                root.grdContent.Children.Remove(uc);
            }
            uc = null;
        }