private void button1_Click(object sender, EventArgs e) { ServiceConnection.Service.InsertService(Name.Text, Description.Text, Convert.ToDouble(Price.Value)); FlowList flowList = new FlowList(); flowList.ServicesList(_mainForm); Close(); }
private void списокУслугToolStripMenuItem_Click(object sender, EventArgs e) { flowList.ServicesList(this); }