refactoring namespaces
This commit is contained in:
parent
8a869e73fb
commit
dc1fc8b221
@ -100,7 +100,7 @@
|
||||
<Compile Include="Source\Ribbon\RibbonController.cs" />
|
||||
<Compile Include="Source\Assistant\HttpClientUtil.cs" />
|
||||
<Compile Include="Source\Assistant\StoreResponse.cs" />
|
||||
<Compile Include="Source\DataExport\DataWriter.cs" />
|
||||
<Compile Include="Source\DataExport\Exporter.cs" />
|
||||
<Compile Include="Source\AddIn\AddIn.cs" />
|
||||
<Compile Include="Source\Assistant\IProduct.cs" />
|
||||
<Compile Include="Source\AddIn\Functions.cs" />
|
||||
|
@ -3,7 +3,7 @@ using ExcelDna.Registration;
|
||||
using Microsoft.Win32;
|
||||
using System.Net.Http;
|
||||
|
||||
namespace RehauSku.Assist
|
||||
namespace RehauSku
|
||||
{
|
||||
public enum ResponseOrder
|
||||
{
|
||||
|
@ -1,6 +1,7 @@
|
||||
using ExcelDna.Integration;
|
||||
using RehauSku.Assistant;
|
||||
|
||||
namespace RehauSku.Assist
|
||||
namespace RehauSku
|
||||
{
|
||||
public class Functions
|
||||
{
|
||||
|
@ -5,7 +5,7 @@ using System.Net;
|
||||
using System.Net.Http;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RehauSku.Assist
|
||||
namespace RehauSku.Assistant
|
||||
{
|
||||
static class HttpClientUtil
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace RehauSku.Assist
|
||||
namespace RehauSku.Assistant
|
||||
{
|
||||
interface IProduct
|
||||
{
|
||||
|
@ -3,7 +3,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace RehauSku.Assist
|
||||
namespace RehauSku.Assistant
|
||||
{
|
||||
public static class RequestModifier
|
||||
{
|
||||
|
@ -9,7 +9,7 @@ using System.Text.RegularExpressions;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace RehauSku.Assist
|
||||
namespace RehauSku.Assistant
|
||||
{
|
||||
public enum ProductField
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RehauSku.Assist
|
||||
namespace RehauSku.Assistant
|
||||
{
|
||||
public class StoreResponce
|
||||
{
|
||||
|
@ -3,17 +3,18 @@ using Microsoft.Office.Interop.Excel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using RehauSku.Assistant;
|
||||
|
||||
namespace RehauSku.Assist
|
||||
namespace RehauSku.DataExport
|
||||
{
|
||||
public class DataWriter : IDisposable
|
||||
public class Exporter : IDisposable
|
||||
{
|
||||
private Application xlApp;
|
||||
private Dictionary<string, double> SkuAmount { get; set; }
|
||||
private object[,] SelectedCells { get; set; }
|
||||
private string WorkingFileName { get; set; }
|
||||
|
||||
public DataWriter()
|
||||
public Exporter()
|
||||
{
|
||||
this.xlApp = (Application)ExcelDnaUtil.Application;
|
||||
this.WorkingFileName = xlApp.ActiveWorkbook.FullName;
|
@ -1,9 +1,9 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
using ExcelDna.Integration.CustomUI;
|
||||
using RehauSku.Assist;
|
||||
using RehauSku.DataExport;
|
||||
|
||||
namespace Ribbon
|
||||
namespace RehauSku.Ribbon
|
||||
{
|
||||
[ComVisible(true)]
|
||||
public class RibbonController : ExcelRibbon
|
||||
@ -26,7 +26,7 @@ namespace Ribbon
|
||||
|
||||
public void OnButtonPressed(IRibbonControl control)
|
||||
{
|
||||
using (DataWriter dw = new DataWriter())
|
||||
using (Exporter dw = new Exporter())
|
||||
{
|
||||
if (!dw.IsRangeValid())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user