Esempio n. 1
0
    private void Awake()
    {
        // allows this instance to behave like a singleton
        instance = this;

        ConsoleOut.SendText("Awake Result Label");
    }
Esempio n. 2
0
 private void OperationsOnOnTraverseEvent(string status)
 {
     ResultsLabel.InvokeIfRequired(label =>
     {
         label.Text = status;
         label.Refresh();
     });
 }
 public string GetPageResults()
 {
     ResultsLabel.Wait(3);
     if (Driver.WrappedDriver.GetType() == typeof(DummyDriver))
     {
         ResultsLabel.Text = FakeText;
     }
     return(ResultsLabel.Text);
 }
Esempio n. 4
0
    private void Awake()
    {
        // allows this instance to behave like a singleton
        instance = this;

        // Add the ImageCapture class to this Gameobject
        gameObject.AddComponent <ImageCapture_CV>();

        // Add the VisionManager class to this Gameobject
        gameObject.AddComponent <VisionManager>();

        // Add the CustomVisionObjects class to this Gameobject
        gameObject.AddComponent <CustomVisionObjects>();
    }
Esempio n. 5
0
 private void OperationsOnOnTraverseEvent(string status)
 {
     if (status.Contains("C:\\OED\\Dotnetland\\VS2019\\csharp-tips\\ClearControlsWindowsForms"))
     {
         listBox1.InvokeIfRequired(listbox =>
         {
             listbox.Items.Add(status);
             //listbox.Refresh();
         });
     }
     ResultsLabel.InvokeIfRequired(label =>
     {
         label.Text = status;
         label.Refresh();
     });
 }
Esempio n. 6
0
 private void Awake()
 {
     // allows this instance to behave like a singleton
     instance = this;
 }
Esempio n. 7
0
 public void Awake()
 {
     instance = this;
 }
 private void Awake()
 {
     instance = this;
 }