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