public void InsertLinkToDoc() { if (OfficeApplication.TryLogOn()) { FormInsertLinkToDocuentRepository formAddLink = new FormInsertLinkToDocuentRepository(this); formAddLink.ShowDialog(); } }
protected void InsertLinkToDocumentRepository() { FormInsertLinkToDocuentRepository frm = new FormInsertLinkToDocuentRepository(this); frm.ShowDialog(); }