'Declaration
Property WindowState As FormWindowState
'Usage
Dim instance As IFrame Dim value As FormWindowState instance.WindowState = value value = instance.WindowState
FormWindowState WindowState {get; set;}
'Declaration
Property WindowState As FormWindowState
'Usage
Dim instance As IFrame Dim value As FormWindowState instance.WindowState = value value = instance.WindowState
FormWindowState WindowState {get; set;}
void Sample_Frame_WindowState() { Application app = MyReflection.ActiveApplication; IFrame frame = (IFrame)app.GetObject("Frame"); Console.Write("Press 'm' to maximize the Reflection Desktop window..."); ConsoleKeyInfo cki = Console.ReadKey(); if (cki.KeyChar == 'm') frame.WindowState = System.Windows.Forms.FormWindowState.Maximized; else frame.WindowState = System.Windows.Forms.FormWindowState.Normal; }