private void DataGV_DoubleClick(object sender, EventArgs e) { ContractorsUI.ContractorData form = new ContractorsUI.ContractorData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value)); form.ShowDialog(); manager.Save(); manager.CloseContext(); manager = new ContextManager(); Fill(); }
private void AbbContractorBt_Click(object sender, EventArgs e) { ContractorsUI.ContractorData form = new ContractorsUI.ContractorData("new", null); form.ShowDialog(); InitContractorsLookUp(); }
private void NewSB_Click(object sender, EventArgs e) { ContractorsUI.ContractorData form = new ContractorsUI.ContractorData("new", null); form.ShowDialog(); Fill(); }