Пример #1
0
        public ToMain(suspensionFrame form)
        {
            InitializeComponent();
            pParent = form;

            this.Size = this.pParent.taskPage1.taskLabel.button1.Size;
        }
Пример #2
0
        private void mainFrame_Load(object sender, System.EventArgs e)
        {
            // Save window state
            fwsPrevious     = this.WindowState;
            suspensionFrame = new suspensionFrame(this);
            this.taskPage1.taskLabel.button1.Click += suspensionFrame.hide;

            // Create top most window
        }