Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MyClass c1 = new Myclass();
- c1.method(textBox1);
- class MyClass
- {
- public void method(Object obj)
- (obj as TextBox).Text = "a";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement