правка наймспейсов
This commit is contained in:
parent
9e84a378bf
commit
ad66d408e3
@ -1,4 +1,4 @@
|
||||
namespace SushiBarView
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
partial class FormComponent
|
||||
{
|
||||
|
@ -1,14 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SushiBarView
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormComponent
|
||||
{
|
||||
|
@ -3,7 +3,7 @@ using SushiBarContracts.BusinessLogicsContracts;
|
||||
using SushiBarContracts.SearchModels;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace SushiBarView
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormComponent : Form
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace SushiBarView
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
partial class FormComponents
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SushiBarView
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormComponents
|
||||
{
|
||||
|
@ -1,9 +1,9 @@
|
||||
using SushiBarContracts.BindingModels;
|
||||
using SushiBarContracts.BusinessLogicsContracts;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using SushiView;
|
||||
|
||||
|
||||
namespace SushiBarView
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormComponents : Form
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
partial class FormCreateOrder
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormCreateOrder
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormCreateOrder : Form
|
||||
{
|
||||
|
2
SushiBar/SushiBar/Forms/FormMain.Designer.cs
generated
2
SushiBar/SushiBar/Forms/FormMain.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
partial class FormMain
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormMain
|
||||
{
|
||||
|
@ -1,9 +1,10 @@
|
||||
using Microsoft.Extensions.Logging;
|
||||
using SushiBarContracts.BindingModels;
|
||||
using SushiBarContracts.BusinessLogicsContracts;
|
||||
using SushiView;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormMain : Form
|
||||
{
|
||||
|
2
SushiBar/SushiBar/Forms/FormSushi.Designer.cs
generated
2
SushiBar/SushiBar/Forms/FormSushi.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
partial class FormSushi
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormSushi
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
partial class FormSushiComponent
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormSushiComponent
|
||||
{
|
||||
|
@ -7,7 +7,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
partial class FormSushiComponent : Form
|
||||
{
|
||||
|
@ -3,8 +3,9 @@ using SushiBarContracts.BindingModels;
|
||||
using SushiBarContracts.BusinessLogicsContracts;
|
||||
using SushiBarContracts.SearchModels;
|
||||
using SushiBarDataModels.Models;
|
||||
using SushiView;
|
||||
|
||||
namespace SushiBarView.Forms
|
||||
namespace SushiBar.Forms
|
||||
{
|
||||
public partial class FormSushi : Form
|
||||
{
|
||||
@ -64,14 +65,12 @@ namespace SushiBarView.Forms
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "Ошибка загрузки компонент изделия");
|
||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK,
|
||||
MessageBoxIcon.Error);
|
||||
MessageBox.Show(ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
private void ButtonAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
var service =
|
||||
Program.ServiceProvider?.GetService(typeof(FormSushiComponent));
|
||||
var service = Program.ServiceProvider?.GetService(typeof(FormSushiComponent));
|
||||
if (service is FormSushiComponent form)
|
||||
{
|
||||
|
||||
|
@ -5,9 +5,9 @@ using SushiBarBusinessLogic.BusinessLogics;
|
||||
using SushiBarContracts.BusinessLogicsContracts;
|
||||
using SushiBarContracts.StoragesContracts;
|
||||
using SushiBarListImplement.Implements;
|
||||
using SushiBarView.Forms;
|
||||
using SushiBar.Forms;
|
||||
|
||||
namespace SushiBarView
|
||||
namespace SushiView
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user