private void button1_Click(object sender, EventArgs e)
        {
            ServiceConnection.Service.InsertCar(Name.Text, Convert.ToInt32(Year.Value), Date.Value);
            FlowList flowList = new FlowList();

            flowList.CarsList(_mainForm);
            Close();
        }
Example #2
0
 private void списокАвтомобилейToolStripMenuItem_Click(object sender, EventArgs e)
 {
     flowList.CarsList(this);
 }