-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTrackOrAnalysis.cs
42 lines (37 loc) · 1.2 KB
/
TrackOrAnalysis.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using Qios.DevSuite.Components;
using Soccer.SYS.DBController;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Soccer.SYS
{
public partial class TrackOrAnalysis : Qios.DevSuite.Components.Ribbon.QRibbonForm
{
public TrackOrAnalysis()
{
InitializeComponent();
}
private void TrackOrAnalysis_Load(object sender, EventArgs e)
{
if (GlobalVariables.PROJECTSTATE == 2) analysis_btn.Enabled = false;//项目未完成视频跟踪前,分析部分功能不可用
}
private void track_btn_Click(object sender, EventArgs e)
{
ObjectTracking objectTracking = new ObjectTracking();
objectTracking.Show();
this.Close();
}
private void analysis_btn_Click(object sender, EventArgs e)
{
ProjAnalysisMySQL.GetVideoPaths(GlobalVariables.PROJECTID);
VideoAnalysis videoAnalysis = new VideoAnalysis();
videoAnalysis.videoPath = GlobalVariables.ALL_VIDEO_PATH[0];
this.Close();
videoAnalysis.Show();
}
}
}