public bool CopyData(string pid,string pid1) { bool bl = false; FormModuleList fm=new FormModuleList(); fm.PID = pid; fm.PID1 = pid1; if (fm.ShowDialog() == System.Windows.Forms.DialogResult.OK) bl = true; return bl; }
public bool CopyData(string pid, string pid1) { bool bl = false; FormModuleList fm = new FormModuleList(); fm.PID = pid; fm.PID1 = pid1; if (fm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { bl = true; } return(bl); }