private void InsertPicture(TextProcessorCommand command) { var window = new FilePopUp(); window.Initialise(m_helper.Controller); window.ShowDialog(); if (!string.IsNullOrEmpty(window.Filename)) { InsertText(command.InsertBefore + window.Filename + command.InsertAfter, string.Empty); } }
private void InsertPicture(TextProcessorCommand command) { var window = new FilePopUp(); window.Initialise(m_helper.Controller); window.ShowDialog(); if (!string.IsNullOrEmpty(window.Filename)) { InsertText(command.InsertBefore + window.Filename + command.InsertAfter, string.Empty); } }