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