Summary description for ConfigureInterlinDialog.
Inheritance: System.Windows.Forms.Form, IFWDisposable
Esempio n. 1
0
 private IEnumerable <WsComboItem> GetWsComboItems(InterlinLineSpec curSpec)
 {
     using (var dummyCombobox = new ComboBox())
     {
         var dummyCachedBoxes = new Dictionary <ColumnConfigureDialog.WsComboContent, ComboBox.ObjectCollection>();
         var comboObjects     = ConfigureInterlinDialog.WsComboItemsInternal(
             Cache, dummyCombobox, dummyCachedBoxes, curSpec.ComboContent);
         var choices = new WsComboItem[comboObjects.Count];
         comboObjects.CopyTo(choices, 0);
         return(choices);
     }
 }
Esempio n. 2
0
        /// <summary>
        ///  Launch the Configure interlinear dialog and deal with the results
        /// </summary>
        /// <param name="argument"></param>
        public bool OnConfigureInterlinear(object argument)
        {
            using (var dlg = new ConfigureInterlinDialog(m_cache, m_propertyTable.GetValue <IHelpTopicProvider>("HelpTopicProvider"),
                                                         m_vc.LineChoices.Clone() as InterlinLineChoices))
            {
                if (dlg.ShowDialog(this) == DialogResult.OK)
                {
                    UpdateForNewLineChoices(dlg.Choices);
                }

                return(true);                // We handled this
            }
        }
        /// <summary>
        ///  Launch the Configure interlinear dialog and deal with the results
        /// </summary>
        /// <param name="argument"></param>
        public bool OnConfigureInterlinear(object argument)
        {
            using (var dlg = new ConfigureInterlinDialog(m_fdoCache, m_mediator.HelpTopicProvider,
                                                         m_vc.LineChoices.Clone() as InterlinLineChoices))
            {
                if (dlg.ShowDialog(this) == DialogResult.OK)
                {
                    UpdateForNewLineChoices(dlg.Choices);
                }

                return(true);                // We handled this
            }
        }
		/// <summary>
		///  Launch the Configure interlinear dialog and deal with the results
		/// </summary>
		/// <param name="argument"></param>
		public bool OnConfigureInterlinear(object argument)
		{
			using (var dlg = new ConfigureInterlinDialog(m_fdoCache, m_mediator.HelpTopicProvider,
				m_vc.LineChoices.Clone() as InterlinLineChoices))
			{
				if (dlg.ShowDialog(this) == DialogResult.OK)
				{
					UpdateForNewLineChoices(dlg.Choices);
				}

				return true; // We handled this
			}
		}
Esempio n. 5
0
		/// <summary>
		///  Launch the Configure interlinear dialog and deal with the results
		/// </summary>
		/// <param name="argument"></param>
		public bool OnConfigureInterlinear(object argument)
		{
			ConfigureInterlinDialog dlg = new ConfigureInterlinDialog(m_fdoCache,
				m_vc.LineChoices.Clone() as InterlinLineChoices);
			if (dlg.ShowDialog(this) == DialogResult.OK)
			{
				UpdateForNewLineChoices(dlg.Choices);
			}

			return true; // We handled this
		}