예제 #1
0
 public FormBuildTimeLine(FBTimeLineOptions options)
 {
     InitializeComponent();
     isLoop                 = true;
     isExit                 = false;
     dataTimelines          = new List <FBDataTimeLine>();
     timeline               = new FBFactoryTimeLine();
     timeline.Options       = options;
     timeline.LogCall       = AddLogs;
     timeline.CurrentDirTMP = $"TMP_DATA/{Guid.NewGuid().ToString()}";
     Program.ListProccess.Add(timeline);
 }
예제 #2
0
        private void btn_run_Click(object sender, EventArgs e)
        {
            FBTimeLineOptions opts = new FBTimeLineOptions();

            opts.DissembleStatusStartNum = ckb_boquastatus.Checked ?  (int)nud_boquastatus.Value : 0;
            opts.MaximumStatus           = ckb_statustoida.Checked ? (int)nud_statustoida.Value : -1;
            opts.SpeackStatus            = ckb_noistatus.Checked;
            opts.NumSpeackComment        = ckb_noicomment.Checked ? (int)nud_noicomment.Value : 0;
            opts.DissembleStatusNoText   = ckb_bostatuskhongvb.Checked;
            opts.DissembleStatusNoMedia  = ckb_bostatuskhongmedia.Checked;
            opts.DissembleStatusTag      = ckb_bostatustag.Checked;
            opts.LinkFB = txb_link.Text;

            this.Hide();
            (new FormBuildTimeLine(opts)).ShowDialog(this);
            this.Show();
        }