private void RemoveUserControl() { if (m_userControl_audioType != null) m_grid_main.Children.Remove(m_userControl_audioType); m_userControl_audioType = null; }
private void Select(AudioType audioType) { RemoveUserControl(); m_userControl_audioType = new UserControl_AudioType(audioType); m_grid_main.SetRowColumn(m_userControl_audioType, 1, 0); }
private void New() { RemoveUserControl(); m_userControl_audioType = new UserControl_AudioType(null); m_grid_main.SetRowColumn(m_userControl_audioType, 1, 0); }