public VideoManagement(VideosListForm fatherForm) { InitializeComponent(); this.fatherForm = fatherForm; if (fileName != null) { PanelFileChecked.BackColor = Color.PaleGreen; } else { PanelFileChecked.BackColor = Color.LightCoral; } }
public VideoManagement(VideosListForm fatherForm, Video oldVideo) { InitializeComponent(); this.fatherForm = fatherForm; this.oldVideo = oldVideo; fileName = this.oldVideo.Url; fileOriginPath = this.oldVideo.getFullUrl(); KtextTittle.Value = this.oldVideo.Tittle; if (fileName != null) { PanelFileChecked.BackColor = Color.PaleGreen; } else { PanelFileChecked.BackColor = Color.LightCoral; } }