public FormDocumentCU(FormDocumentManage fatherForm) { InitializeComponent(); this.fatherForm = fatherForm; if (fileName != null) { PanelFileChecked.BackColor = Color.PaleGreen; } else { PanelFileChecked.BackColor = Color.LightCoral; } }
public FormDocumentCU(FormDocumentManage fatherForm, DatabaseClass.Document oldVideo) { InitializeComponent(); this.fatherForm = fatherForm; this.oldDocument = oldVideo; fileName = this.oldDocument.Url; fileOriginPath = this.oldDocument.GetFullUrl(); KtextTittle.Value = this.oldDocument.Title; if (fileName != null) { PanelFileChecked.BackColor = Color.PaleGreen; } else { PanelFileChecked.BackColor = Color.LightCoral; } }