private void AddLinkToTopic() { ImportDialog importDialog = new ImportDialog(HierarchyType.Pages, ref _MindManager); try { importDialog.QuickDialog(); } catch (Exception ex) { } }
// a link manager form maybe later /* public void MangeOnenoteLinks() * { * ManageLinksfrm manageLinksfrm = new ManageLinksfrm(ref _MindManager); * try * { * manageLinksfrm.ShowDialog(); * } * catch (Exception ex) * { * MessageBox.Show("Error opening dialog" + ex.Message); * } * finally * { * manageLinksfrm.Close(); * manageLinksfrm.Dispose(); * } * }*/ public void ImportCurrentOnenoteSection() { ImportDialog importDialog = new ImportDialog(HierarchyType.Sections, ref _MindManager); try { importDialog.QuickDialog(); } catch (OneMapException exception) { } catch (Exception ex) { } }