private void типыГрузовToolStripMenuItem_Click(object sender, EventArgs e) { var cargoForm = new CargoForm(ManagerFactoryResolver.ManagerFactory.CreateTypeOfCargoManager()) { Owner = this }; cargoForm.Show(); this.Hide(); }
private void button3_Click(object sender, System.EventArgs e) { var cargoForm = new CargoForm(ManagerFactoryResolver.ManagerFactory.CreateTypeOfCargoManager()) { Owner = this }; cargoForm.Show(); this.Hide(); }