set_parent_rect() public method

public set_parent_rect ( Control logical_parent, Rectangle rect ) : void
logical_parent Control
rect Rectangle
return void
Example #1
0
        public test_snoop_form()
        {
            InitializeComponent();
            var snoop_a = new snoop_around_form();

            snoop_a.set_parent_rect(this, new Rectangle(a.Location, a.Size) );
            snoop_a.on_snoop = add_values;
        }