Exemplo n.º 1
0
 public Form1()
 {
     InitializeComponent();
     trackBar1.Value = treschold;
     trackBar2.Value = maxValue;
     //tbImageName.Text = @"\IKEA\911535086.png";
     tbImageName.Text     = @"\IKEA\20201106160822_01536495020045254784_Label_F.png";
     processImageDelegate = ProcessCapturedImage;
     ip = new ImageProcessing();
     //_delegate = SetImage(Bitmap b);
     //Process();
     //Test();
     //image = new Image<Bgr, byte>(@"C:\Temp\" + tbImageName.Text);
     ProcessLoadedImage();
 }
Exemplo n.º 2
0
        static private void nestSearch(Mono.Cecil.TypeDefinition type,
                                       Mono.Cecil.AssemblyDefinition assembly,
                                       ref string prefix,
                                       _delegate del)
        {
            if (prefix != "")
            {
                prefix += ".";
            }
            if (type.Namespace != "")
            {
                prefix += type.Namespace + ".";
            }
            prefix += type.Name;

            var _prefix = prefix;

            type.NestedTypes.ToList().ForEach(x =>
            {
                del(x, assembly, _prefix);
            });
        }
Exemplo n.º 3
0
 public Command(_delegate Action)
 {
     _action = Action;
 }