48 lines
1.3 KiB
C#
48 lines
1.3 KiB
C#
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 FormBrigadeMenu : Form
|
||
{
|
||
public FormBrigadeMenu()
|
||
{
|
||
InitializeComponent();
|
||
}
|
||
|
||
private void сотрудникиToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
var service = Program.ServiceProvider?.GetService(typeof(FormEmployees));
|
||
if (service is FormEmployees form)
|
||
{
|
||
form.ShowDialog();
|
||
}
|
||
}
|
||
|
||
private void назначитьНаЗаказToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
var service = Program.ServiceProvider?.GetService(typeof(FormEmployeeOrders));
|
||
if (service is FormEmployeeOrders form)
|
||
{
|
||
form.ShowDialog();
|
||
}
|
||
}
|
||
|
||
private void должностиToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
var service = Program.ServiceProvider?.GetService(typeof(FormPositions));
|
||
if (service is FormPositions form)
|
||
{
|
||
form.ShowDialog();
|
||
}
|
||
}
|
||
}
|
||
}
|