static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); mainWindow = new MainWindow(); Application.Run(mainWindow); }
int targetVideoLen; //number of video frames; #endregion Fields #region Constructors /// <summary> /// Public Constructor: /// Initialize Component /// Initialize mainWindow and controller /// Set the initial text of FileNameLabel /// Initialize Video Preview Component /// </summary> public ConflictWindow() { InitializeComponent(); mainWindow = Program.getMainWindow(); controller = MainWindow.controller; warningLabel.Hide(); sourceFileNameLabel.Text = ""; targetFileNameLabel.Text = ""; targetMd = new MediaDetClass(); sourceMd = new MediaDetClass(); sourcePreviewer = new VideoPreview("tmp"); targetPreviewer = new VideoPreview("tmp"); successful = false; }
public SyncStart(Controller ctrl, ConflictWindow cnflct, MainWindow mainWin) { control = ctrl; conflict = cnflct; main = mainWin; }