示例#1
0
        /// <summary>
        /// The selected dataset has changed, display its extract parameters
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lvDatasets_SelectedIndexChanged(object sender, EventArgs e)
        {
            DownloadOptions oControl = null;

             if (m_oCurUserControl != null)
            m_oCurUserControl.Visible = false;

             if (lvDatasets.SelectedIndices.Count == 1)
             {
            oControl = m_oDownloadSettings[lvDatasets.SelectedIndices[0]];
            oControl.Visible = true;
            m_oCurUserControl = oControl;
             }
        }
示例#2
0
 internal void SetDownloadOptions(DownloadOptions oOptions)
 {
     m_oDownloadOptions = oOptions;
 }