I have the following event
I know that object obj will be a window. How do i access the window
properties and methods through this obj object?
static void test1 (object obj, EventArgs args)
{
// i tried
(Window)obj.some_method_in_window
// but got error about cast
}