Beispiel #1
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
			}
		}
Beispiel #4
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
		}