60 lines
1.1 KiB
C#

namespace DeviceAdmin
{
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
}
private void ButtonCabinets_Click(object sender, EventArgs e)
{
using (var form = new FormCabinets())
{
form.ShowDialog();
}
}
private void ButtonDevices_Click(object sender, EventArgs e)
{
using (var form = new FormDevices())
{
form.ShowDialog();
}
}
private void ButtonKinds_Click(object sender, EventArgs e)
{
using (var form = new FormKinds())
{
form.ShowDialog();
}
}
private void ButtonKits_Click(object sender, EventArgs e)
{
using (var form = new FormKits())
{
form.ShowDialog();
}
}
private void ButtonOwnership_Click(object sender, EventArgs e)
{
using (var form = new FormOwnership())
{
form.ShowDialog();
}
}
private void ButtonService_Click(object sender, EventArgs e)
{
using (var form = new FormServices())
{
form.ShowDialog();
}
}
private void ButtonStaff_Click(object sender, EventArgs e)
{
using (var form = new FormStaff())
{
form.ShowDialog();
}
}
}
}