Ejemplo n.º 1
0
        static void Main()
        {
            MainForm      form  = new MainForm();
            FormSizeSaver saver = new FormSizeSaver(form);

            Application.Run(form);
        }
Ejemplo n.º 2
0
        private void details_Click(object sender, System.EventArgs e)
        {
            WindowTreeNode       node     = (WindowTreeNode)windowTree.SelectedNode;
            WindowPropertiesForm propForm = new WindowPropertiesForm();

            propForm.TargetWindowHandle = node.Hwnd;

            FormSizeSaver saver = new FormSizeSaver(propForm);

            propForm.ShowDialog();
        }
Ejemplo n.º 3
0
 static void Main()
 {
     MainForm form = new MainForm();
     FormSizeSaver saver = new FormSizeSaver(form);
     Application.Run(form);
 }
Ejemplo n.º 4
0
        private void details_Click(object sender, System.EventArgs e)
        {
            WindowTreeNode node = (WindowTreeNode)windowTree.SelectedNode;
            WindowPropertiesForm propForm = new WindowPropertiesForm();
            propForm.TargetWindowHandle = node.Hwnd;

            FormSizeSaver saver = new FormSizeSaver(propForm);
            propForm.ShowDialog();
        }