Пример #1
0
        private void OK_Click(object sender, EventArgs e)
        {
            IntPtr      x              = DBase.GetEXEHandler(edtAppname.Text);
            const short SWP_NOMOVE     = 0X2;
            const short SWP_NOSIZE     = 1;
            const short SWP_NOZORDER   = 0X4;
            const int   SWP_SHOWWINDOW = 0x0040;

            DBase.SetWindowPos(x, 0, 0, 0, DBase.IntReturn(edtW.Text), DBase.IntReturn(edtH.Text), SWP_NOZORDER | SWP_SHOWWINDOW);
        }