Exemplo n.º 1
0
		private void ControlAssemblyReplacements()
		{
			ControlAssemblyReplacement replacement = new ControlAssemblyReplacement();
			replacement.m_toolName = "bulkEditEntriesOrSenses";
			replacement.m_controlName = "EntryOrSenseBulkEdit";
			replacement.m_targetAssembly = "xWorks.dll";
			replacement.m_targetControlClass = "SIL.FieldWorks.XWorks.RecordBrowseView";
			replacement.m_newAssembly = "xWorksTests.dll";
			replacement.m_newControlClass = "SIL.FieldWorks.XWorks.BulkEditBarTestsBase+RecordBrowseViewForTests";
			m_window.AddReplacement(replacement);
		}
Exemplo n.º 2
0
 /// <summary>
 /// Add a replacement control for whatever is in the big configuration xml document.
 /// The actual replacement will take place in the LoadUIFromXmlDocument method.
 /// </summary>
 /// <param name="replacement"></param>
 public void AddReplacement(ControlAssemblyReplacement replacement)
 {
     m_replacements.Add(replacement);
 }
Exemplo n.º 3
0
		/// <summary>
		/// Add a replacement control for whatever is in the big configuration xml document.
		/// The actual replacement will take place in the LoadUIFromXmlDocument method.
		/// </summary>
		/// <param name="replacement"></param>
		public void AddReplacement(ControlAssemblyReplacement replacement)
		{
			m_replacements.Add(replacement);
		}
Exemplo n.º 4
0
		protected override void ControlAssemblyReplacements()
		{
			ControlAssemblyReplacement replacement = new ControlAssemblyReplacement();
			replacement.m_toolName = "concordance";
			replacement.m_controlName = "concordanceControl";
			replacement.m_targetAssembly = "ITextDll.dll";
			replacement.m_targetControlClass = "SIL.FieldWorks.IText.ConcordanceControl";
			replacement.m_newAssembly = "ITextDllTests.dll";
			replacement.m_newControlClass = "SIL.FieldWorks.IText.MockConcordanceControl";
			m_window.AddReplacement(replacement);
		}