示例#1
0
        private void _Global_C_RemoveControl(UserControl targetControl)
        {
            Grid MainGrid = PageControl.getGrid(Window.GetWindow(this));

            MainGrid.Children.Remove(targetControl);
        }
示例#2
0
 private void _Main_Initialize()
 {
     PageControl.getGrid(Window.GetWindow(this)).Children.Add(MainPageControl);
 }