private void Save_Click(CommandBarButton cmdBarbutton, ref bool cancel) { if (app.ActiveWorkbook.FullName.StartsWith(getCacheFolder())) { makePut(); return; } DialogSave = new NSave(this); DialogSave.setFileTypes(getFileTypes()); DialogSave.ShowDialog(); }
private void SaveAs_Click(CommandBarButton cmdBarbutton, ref bool cancel) { DialogSave = new NSave(this); DialogSave.setFileTypes(getFileTypes()); DialogSave.ShowDialog(); }