Esempio n. 1
0
 internal override void load()
 {
     if (uc == null)
     {
         uc = new LoadInput.LoadClassification()
         {
             Margin = new System.Windows.Thickness(20, 100, 20, 40)
         }
     }
     ;
     root.grdContent.Children.Add(uc);
 }
Esempio n. 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;
        }