Example #1
0
        private void FileWatcherServiceFileChangedEvent(object sender, SledFileWatcherServiceEventArgs e)
        {
            if (m_modifiedFilesForm == null)
            {
                m_modifiedFilesForm = new SledModifiedFilesForm();
                m_modifiedFilesForm.ReloadFileEvent += ModifiedFilesFormReloadFileEvent;
                m_modifiedFilesForm.IgnoreFileEvent += ModifiedFilesFormIgnoreFileEvent;
            }

            m_modifiedFilesForm.AddFile(e.Document);
            m_modifiedFilesForm.Show(m_mainForm);
        }
        private void FileWatcherServiceFileChangedEvent(object sender, SledFileWatcherServiceEventArgs e)
        {
            if (m_modifiedFilesForm == null)
            {
                m_modifiedFilesForm = new SledModifiedFilesForm();
                m_modifiedFilesForm.ReloadFileEvent += ModifiedFilesFormReloadFileEvent;
                m_modifiedFilesForm.IgnoreFileEvent += ModifiedFilesFormIgnoreFileEvent;
            }

            m_modifiedFilesForm.AddFile(e.Document);
            m_modifiedFilesForm.Show(m_mainForm);
        }