PIbd-31_Malafeev.L.S._COP_25/Cop_25/Forms/FormMain.cs

30 lines
708 B
C#
Raw Normal View History

2024-11-05 22:04:24 +04:00
using System;
2024-09-06 00:43:56 +04:00
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 Forms
{
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
}
2024-10-06 18:45:39 +04:00
2024-11-05 22:04:24 +04:00
private void созданиеТипаДоставкиToolStripMenuItem_Click(object sender, EventArgs e)
2024-09-06 00:43:56 +04:00
{
2024-11-05 22:04:24 +04:00
var service = Program.ServiceProvider?.GetService(typeof(DeliveryTypeForm));
if (service is DeliveryTypeForm form)
2024-10-06 18:45:39 +04:00
{
2024-11-05 22:04:24 +04:00
form.ShowDialog();
}
2024-10-06 17:39:02 +04:00
}
2024-09-06 00:43:56 +04:00
}
}