Example #1
0
 public VideoManagement(VideosListForm fatherForm)
 {
     InitializeComponent();
     this.fatherForm = fatherForm;
     if (fileName != null)
     {
         PanelFileChecked.BackColor = Color.PaleGreen;
     }
     else
     {
         PanelFileChecked.BackColor = Color.LightCoral;
     }
 }
Example #2
0
        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;
            }
        }