aboutsummaryrefslogtreecommitdiff
path: root/src/Interface
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-03-24 06:59:31 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-03-24 06:59:31 +0300
commiteaf3ebaa9489462e3d663c93df7a9bc34011464c (patch)
tree57353886c323aa86d43d8770f486e362be087593 /src/Interface
parent68d2b4e2fb8a3e7903d63f6bc461307e746bf163 (diff)
Turn off save as file dialog at the end of tool process. Version update.
Diffstat (limited to 'src/Interface')
-rw-r--r--src/Interface/Dialog.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/Interface/Dialog.cs b/src/Interface/Dialog.cs
index e6c7955..95d676f 100644
--- a/src/Interface/Dialog.cs
+++ b/src/Interface/Dialog.cs
@@ -36,22 +36,5 @@ namespace RehauSku.Interface
else return null;
}
}
-
- public static void SaveWorkbookAs()
- {
- Workbook workbook = AddIn.Excel.ActiveWorkbook;
-
- using (SaveFileDialog dialog = new SaveFileDialog())
- {
- dialog.FileName = workbook.Name;
- dialog.Filter = "Файлы Excel (*.xls;*.xlsx;*.xlsm)|*.xls;*.xlsx;*.xlsm";
-
- if (dialog.ShowDialog() == DialogResult.OK)
- {
- string fileName = dialog.FileName;
- workbook.SaveAs(fileName);
- }
- }
- }
}
}