示例#1
0
        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();
        }
示例#2
0
 private void SaveAs_Click(CommandBarButton cmdBarbutton, ref bool cancel)
 {
     DialogSave = new NSave(this);
     DialogSave.setFileTypes(getFileTypes());
     DialogSave.ShowDialog();
 }