public frmEFileAdd(frmEFileURL frmParent, string strType) { InitializeComponent(); LoadYA(strType); LoadType(strType); cboForm.Text = strType; this.frmParent = frmParent; boolEditMode = false; this.Text = "Add new URL Dcoument"; }
public frmEFileAdd(frmEFileURL frmParent, string strURL, string strYA, string strType, string strIndex) { InitializeComponent(); LoadYA(strType); LoadType(strType); this.frmParent = frmParent; this.strIndex = strIndex; cboForm.Text = strType; cboForm.Enabled = false; cboYA.Text = strYA; cboYA.Enabled = false; txtURL.Text = strURL; boolEditMode = true; this.Text = "Edit URL Document"; }