private void bt_buying_goods_Click(object sender, EventArgs e) { this.Hide(); BuyingGoodsForm buyingGoodsForm = new BuyingGoodsForm(); buyingGoodsForm.ShowDialog(); this.Show(); }
private void bt_Save_Click(object sender, EventArgs e) { deliveryBindingSource.EndEdit(); tableAdapterManager.UpdateAll(courseWorkFor7LabDataSet); this.Dispose(); BuyingGoodsForm buyinggoodsForm = new BuyingGoodsForm(); buyinggoodsForm.ShowDialog(); }