private void StartuseFixtureEditableToolStripMenuItem_Click(object sender, EventArgs e) { var frm = new StartTransaction(ClientService); frm.FormClosed += Frm_FormClosed; frm.ShowDialog(); }
public Form1(IServiceProvider serviceProvider, IOptions <AppSettings> settings, IClientService clientService, ILoggerFactory logger) { InitializeComponent(); ServiceProvider = serviceProvider; ClientService = clientService; Logger = logger.CreateLogger <Form1>(); Settings = settings.Value; LastRequests = new LastRequests(); StartTransaction = new StartTransaction(clientService); }