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