49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
using Microsoft.EntityFrameworkCore.Metadata.Conventions;
|
||
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 ConstructionCompanyView
|
||
{
|
||
public partial class FormWarehouseMenu : Form
|
||
{
|
||
public FormWarehouseMenu()
|
||
{
|
||
InitializeComponent();
|
||
}
|
||
|
||
private void материалыToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
var service = Program.ServiceProvider?.GetService(typeof(FormMaterials));
|
||
if (service is FormMaterials form)
|
||
{
|
||
form.ShowDialog();
|
||
}
|
||
}
|
||
|
||
private void поставкиToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
var service = Program.ServiceProvider?.GetService(typeof(FormMaterialOrders));
|
||
if (service is FormMaterialOrders form)
|
||
{
|
||
form.ShowDialog();
|
||
}
|
||
}
|
||
|
||
private void отчётОИспользованииToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
var service = Program.ServiceProvider?.GetService(typeof(FormWarehouseReport));
|
||
if (service is FormWarehouseReport form)
|
||
{
|
||
form.ShowDialog();
|
||
}
|
||
}
|
||
}
|
||
}
|