예제 #1
0
 private void WarnOnNonDefaultLinkedFilesChange()
 {
     CheckDisposed();
     if (!m_defaultLinkedFilesFolder.Equals(txtExtLnkEdit.Text))
     {
         using (var dlg = new WarningNotUsingDefaultLinkedFilesLocation(m_helpTopicProvider))
         {
             var result = dlg.ShowDialog();
             if (result == DialogResult.Yes)                     //Yes, please move back to defaults
             {
                 SetLinkedFilesToDefault();
             }
         }
     }
 }
예제 #2
0
		private void WarnOnNonDefaultLinkedFilesChange()
		{
			CheckDisposed();
			if (!m_defaultLinkedFilesFolder.Equals(txtExtLnkEdit.Text))
			{
				using (var dlg = new WarningNotUsingDefaultLinkedFilesLocation(m_helpTopicProvider))
				{
					var result = dlg.ShowDialog();
					if (result == DialogResult.Yes) //Yes, please move back to defaults
					{
						SetLinkedFilesToDefault();
					}
				}
			}
		}