private void Initialize() { vui = new VirtualUI(); vui.Start(); webcam = new VuiWebcam(); webcam.OnBitmapChanged += BitmapChanged; webcam.CreateComponent(pnlWebcam); }
public Form1() { InitializeComponent(); EnablePanel(panel1, false); vui = new VirtualUI(); vui.Start(); qz = new VuiQz(); qz.CreateComponent(); qz.OnPrinterChange += qz_OnPrinterChange; qz.OnStateChanged += qz_OnStateChanged; }
public VuiQz() { vui = new VirtualUI(); m_Xtagdir = AppDomain.CurrentDomain.BaseDirectory; DirectoryInfo di = new DirectoryInfo(m_Xtagdir); while (di != null) { m_Xtagdir = di.FullName + @"\x-tag\"; if (Directory.Exists(m_Xtagdir)) { return; } di = di.Parent; } }
private void Initialize() { cmbMp4.SelectedIndex = 0; vui = new VirtualUI(); vui.Start(); video = new VuiVideo(); video.OnStateChanged += video_OnStateChanged; video.OnPositionChanged += video_OnPositionChanged; video.OnLengthChanged += video_OnLengthChanged; video.CreateComponent(panelXVideo); groupBox1.Enabled = false; var mediafile = Path.GetFullPath(video.XTagDir + @"..\demos\vui-video\media\big_buck_bunny_480p_2mb.mp4"); cmbMp4.Items.Insert(0, mediafile); }
public void SetUp() { repozitorijum = new FakeRepozitorijum(); virtualui = new VirtualUI(repozitorijum); }