Ejemplo n.º 1
0
 private void RemoveUserControl()
 {
     if (m_userControl_physType != null)
         m_grid_main.Children.Remove(m_userControl_physType);
     m_userControl_physType = null;
 }
Ejemplo n.º 2
0
 private void Select(PhysType physType)
 {
     RemoveUserControl();
     m_userControl_physType = new UserControl_PhysType(physType);
     m_grid_main.SetRowColumn(m_userControl_physType, 1, 0);
 }
Ejemplo n.º 3
0
 private void New()
 {
     RemoveUserControl();
     m_userControl_physType = new UserControl_PhysType(null);
     m_grid_main.SetRowColumn(m_userControl_physType, 1, 0);
 }