Esempio n. 1
0
        /// <summary>
        /// Gets the list of selections for the combo in the MultiSelect dialog
        /// </summary>
        /// <returns> List of selections as comma-separated string </returns>
        ///
        private string GetSelectionList()
        {
            string           selections = string.Empty;
            DialogListDialog dlg        = new DialogListDialog(mainForm);

            if (dlg.ShowDialog(this) == DialogResult.OK)
            {
                selections = dlg.Selections;
            }
            return(selections);
        }
Esempio n. 2
0
 /// <summary>
 /// Gets the list of selections for the combo in the MultiSelect dialog
 /// </summary>
 /// <returns> List of selections as comma-separated string </returns>
 /// 
 private string GetSelectionList()
 {
     string selections = string.Empty;
     DialogListDialog dlg = new DialogListDialog(mainForm);
     if (dlg.ShowDialog(this) == DialogResult.OK)
     {
         selections = dlg.Selections;
     }
     return selections;
 }