本文整理汇总了C#中MainWindow.GetReviewFootageImageBox方法的典型用法代码示例。如果您正苦于以下问题:C# MainWindow.GetReviewFootageImageBox方法的具体用法?C# MainWindow.GetReviewFootageImageBox怎么用?C# MainWindow.GetReviewFootageImageBox使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类MainWindow
的用法示例。
在下文中一共展示了MainWindow.GetReviewFootageImageBox方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: LiveDisplayUpdaterDoWorkTest
public void LiveDisplayUpdaterDoWorkTest()
{
MainWindow main_window = new MainWindow();
LiveDisplayUpdater thread = new LiveDisplayUpdater(main_window.GetReviewFootageImageBox());
thread.StartWorking();
Assert.IsNotNull(thread.IsRunning());
}
示例2: ReviewDisplayUpdaterReviewDisplayUpdaterTest
public void ReviewDisplayUpdaterReviewDisplayUpdaterTest()
{
MainWindow main_window = new MainWindow();
Nkujukira.Demo.Singletons.Singleton.CURRENT_FILE_NAME = Singleton.VIDEO_FILE_PATH;
ReviewDisplayUpdater thread = new ReviewDisplayUpdater(main_window.GetReviewFootageImageBox());
Assert.IsNotNull(thread);
}
示例3: ReviewDisplayUpdaterResumeTest
public void ReviewDisplayUpdaterResumeTest()
{
MainWindow main_window = new MainWindow();
Nkujukira.Demo.Singletons.Singleton.CURRENT_FILE_NAME = Singleton.VIDEO_FILE_PATH;
ReviewDisplayUpdater thread = new ReviewDisplayUpdater(main_window.GetReviewFootageImageBox());
bool sucess = thread.Resume();
Assert.IsTrue(sucess);
}
示例4: LiveDisplayUpdaterRequestStopTest
public void LiveDisplayUpdaterRequestStopTest()
{
MainWindow main_window = new MainWindow();
LiveDisplayUpdater thread = new LiveDisplayUpdater(main_window.GetReviewFootageImageBox());
thread.StartWorking();
thread.RequestStop();
Assert.IsFalse(thread.IsRunning());
}
示例5: LiveDisplayUpdaterDisplayNextFrameTest
public void LiveDisplayUpdaterDisplayNextFrameTest()
{
MainWindow main_window = new MainWindow();
LiveDisplayUpdater thread = new LiveDisplayUpdater(main_window.GetReviewFootageImageBox());
Nkujukira.Demo.Singletons.Singleton.LIVE_FRAMES_TO_BE_DISPLAYED.Enqueue(Singleton.FACE_PIC);
bool sucess = thread.DisplayNextFrame();
Assert.IsTrue(sucess);
}
示例6: ReviewDisplayUpdaterRequestStopTest
public void ReviewDisplayUpdaterRequestStopTest()
{
MainWindow main_window = new MainWindow();
Nkujukira.Demo.Singletons.Singleton.CURRENT_FILE_NAME = Singleton.VIDEO_FILE_PATH;
ReviewDisplayUpdater thread = new ReviewDisplayUpdater(main_window.GetReviewFootageImageBox());
thread.StartWorking();
thread.RequestStop();
Assert.IsFalse(thread.IsRunning());
}
示例7: ReviewDisplayUpdaterDisplayNextFrameTest
public void ReviewDisplayUpdaterDisplayNextFrameTest()
{
MainWindow main_window = new MainWindow();
Nkujukira.Demo.Singletons.Singleton.CURRENT_FILE_NAME = Singleton.VIDEO_FILE_PATH;
ReviewDisplayUpdater thread = new ReviewDisplayUpdater(main_window.GetReviewFootageImageBox());
Nkujukira.Demo.Singletons.Singleton.REVIEW_FRAMES_TO_BE_DISPLAYED.Enqueue(Singleton.FACE_PIC);
bool sucess=thread.DisplayNextFrame();
Assert.IsTrue(sucess);
}
示例8: LiveDisplayUpdaterLiveDisplayUpdaterTest
public void LiveDisplayUpdaterLiveDisplayUpdaterTest()
{
MainWindow main_window = new MainWindow();
LiveDisplayUpdater thread = new LiveDisplayUpdater(main_window.GetReviewFootageImageBox());
Assert.IsNotNull(thread);
}