private void btnSave_Click(object sender, EventArgs e) { IMasterList objDonorlist = (IMasterList)ObjectFactory.CreateInstance("BusinessProcess.SCM.BMasterList,BusinessProcess.SCM"); int retrows = objDonorlist.SaveDonorList(theDT, GblIQCare.AppUserId); IQCareWindowMsgBox.ShowWindow("DonorSave", this); Init_Form(); }