Edit dialog
This commit is contained in:
parent
dca27ebcc3
commit
539d22fb1e
@ -1,4 +1,6 @@
|
|||||||
namespace RehauSku.PriceListTools
|
using System;
|
||||||
|
|
||||||
|
namespace RehauSku.PriceListTools
|
||||||
{
|
{
|
||||||
internal class ConvertTool : PriceListTool
|
internal class ConvertTool : PriceListTool
|
||||||
{
|
{
|
||||||
@ -6,7 +8,20 @@
|
|||||||
|
|
||||||
public void GetCurrent()
|
public void GetCurrent()
|
||||||
{
|
{
|
||||||
Current = new Source(ExcelApp.ActiveWorkbook);
|
try
|
||||||
|
{
|
||||||
|
Current = new Source(ExcelApp.ActiveWorkbook);
|
||||||
|
}
|
||||||
|
|
||||||
|
catch (Exception exception)
|
||||||
|
{
|
||||||
|
System.Windows.Forms.MessageBox.Show
|
||||||
|
(exception.Message,
|
||||||
|
"Ошибка распознавания",
|
||||||
|
System.Windows.Forms.MessageBoxButtons.OK,
|
||||||
|
System.Windows.Forms.MessageBoxIcon.Information);
|
||||||
|
throw exception;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void FillTarget()
|
public void FillTarget()
|
||||||
|
@ -122,6 +122,7 @@
|
|||||||
<Compile Include="Assistant\RequestModifier.cs" />
|
<Compile Include="Assistant\RequestModifier.cs" />
|
||||||
<Compile Include="Assistant\SkuExtensions.cs" />
|
<Compile Include="Assistant\SkuExtensions.cs" />
|
||||||
<Compile Include="PriceListTools\CombineTool.cs" />
|
<Compile Include="PriceListTools\CombineTool.cs" />
|
||||||
|
<Compile Include="PriceListTools\ConvertTool.cs" />
|
||||||
<Compile Include="PriceListTools\PriceListTool.cs" />
|
<Compile Include="PriceListTools\PriceListTool.cs" />
|
||||||
<Compile Include="PriceListTools\MergeTool.cs" />
|
<Compile Include="PriceListTools\MergeTool.cs" />
|
||||||
<Compile Include="PriceListTools\PriceList.cs" />
|
<Compile Include="PriceListTools\PriceList.cs" />
|
||||||
|
Loading…
Reference in New Issue
Block a user