public void ChangeSize_Click(object sender, MenuButtonClickEventArgs e) { var handle = System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle; NativeMethods.SetWindowPos(handle, Constants.HWND_TOP, 0, 0, _Width, _Height, 0); }
public void ChangeSize_Click(object sender, MenuButtonClickEventArgs e) { var handle = System.Diagnostics.Process.GetCurrentProcess().MainWindowHandle; NativeMethods.SetWindowPos(handle, Constants.HWND_TOP, 0, 0, _Width, _Height, 0); }