예제 #1
0
        public frmSettings()
        {
            InitializeComponent();

            containerList = new List <string>();
            containerList = GetSettings(1);
            if (containerList.Count > 0)
            {
                backupPath               = containerList[0];
                videoPath                = containerList[1];
                txtNews.Text             = containerList[2];
                numDaysBetween.Value     = decimal.Parse(containerList[3]);
                numExaminePrice.Value    = decimal.Parse(containerList[4]);
                numRe_ExaminePrice.Value = decimal.Parse(containerList[5]);
            }

            SettingsLogic.ShowPicture(videoPath, picVideoConfirm);
            SettingsLogic.ShowPicture(backupPath, picVideoConfirm);
        }
예제 #2
0
 //لما اليوزر يختار الفيديو اية اللى يحصل؟
 private void OfdChooseVideo_FileOk(object sender, CancelEventArgs e)
 {
     videoPath = ofdChooseVideo.FileName;
     SettingsLogic.ShowPicture(videoPath, picVideoConfirm);
 }