public PlaceAdd(PlaceForm parentForm) { InitializeComponent(); this.pid = parentForm.currentPlace.C_id; this.parentForm = parentForm; lblPid.Text = pid; this.grade = parentForm.currentPlace.I_grade; Init(); }
public PlaceAddSingle(PlaceForm parForm) { InitializeComponent(); this.parForm = parForm; this.pid = parForm.currentPlace.C_id; this.grade = parForm.currentPlace.I_grade; lblId.Text = bll.GetNextCode(pid); lblPid.Text = pid; cbInuse.Checked = true; }