aboutsummaryrefslogtreecommitdiff
path: root/src/Interface
diff options
context:
space:
mode:
authorSerghei Cebotari <51533848+schebotar@users.noreply.github.com>2022-03-24 07:00:37 +0300
committerGitHub <noreply@github.com>2022-03-24 07:00:37 +0300
commit215d68ea95ce44c68e1de235bc18c4dcbe5aaee2 (patch)
tree57353886c323aa86d43d8770f486e362be087593 /src/Interface
parent031ea7f7ef0c690d93bb7e653e59c7dac6964dbb (diff)
parenteaf3ebaa9489462e3d663c93df7a9bc34011464c (diff)
Merge pull request #18 from schebotar/dev
Dev
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);
- }
- }
- }
}
}