PIbd-23-Nasyrov-A.G.-Flower.../ProjectFlowerShop/ComponentForm.cs

24 lines
644 B
C#
Raw Normal View History

2024-02-08 17:34:56 +04:00
using Microsoft.Extensions.Logging;
using FlowerShopContracts.BusinessLogicsContracts;
using Microsoft.VisualBasic.Logging;
using FlowerShopContracts.SearchModels;
using System.Windows.Forms;
namespace ProjectFlowerShop
{
public partial class ComponentForm : Form
{
private readonly ILogger _logger;
private readonly IComponentLogic _logic;
private int? _id;
public int Id { set { _id = value; } }
public ComponentForm(ILogger<ComponentForm> logger, IComponentLogic logic)
{
InitializeComponent();
_logger = logger;
_logic = logic;
}
}
}