Edit dialog
This commit is contained in:
parent
dca27ebcc3
commit
539d22fb1e
@ -1,14 +1,29 @@
|
|||||||
namespace RehauSku.PriceListTools
|
using System;
|
||||||
|
|
||||||
|
namespace RehauSku.PriceListTools
|
||||||
{
|
{
|
||||||
internal class ConvertTool : PriceListTool
|
internal class ConvertTool : PriceListTool
|
||||||
{
|
{
|
||||||
private Source Current;
|
private Source Current;
|
||||||
|
|
||||||
public void GetCurrent()
|
public void GetCurrent()
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
Current = new Source(ExcelApp.ActiveWorkbook);
|
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()
|
||||||
{
|
{
|
||||||
ExcelApp.ScreenUpdating = false;
|
ExcelApp.ScreenUpdating = false;
|
||||||
|
@ -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