private void btn_AddNewVender_Click(object sender, EventArgs e) { frm_NewVendor frm = new frm_NewVendor( ); frm.FormClosed += new FormClosedEventHandler(dongformVender); frm.ShowDialog( ); }
private void btn_Add_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { frm_NewVendor frm = new frm_NewVendor(); frm.FormClosed += new FormClosedEventHandler(dongform); frm.Show(); }