예제 #1
0
        private void StartuseFixtureEditableToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var frm = new StartTransaction(ClientService);

            frm.FormClosed += Frm_FormClosed;
            frm.ShowDialog();
        }
예제 #2
0
        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);
        }