[New Utility]Mouse Without Borders

* Integrate Mouse Without Borders into PowerToys

---------

Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
This commit is contained in:
Andrey Nekrasov
2023-05-15 23:32:26 +01:00
committed by Jaime Bernardo
parent a0b9af039d
commit 29eebe16a4
304 changed files with 37234 additions and 133 deletions

View File

@@ -0,0 +1,51 @@
/*
* File name: frmLogon.cs (not used)
* History:
* Truong Do (ductdo) 2008-10-XX Created/Updated
* */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace MouseWithoutBorders
{
internal partial class frmLogon : Form
{
internal System.Windows.Forms.Label LabelDesktop
{
get { return labelDesktop; }
set { labelDesktop = value; }
}
internal frmLogon()
{
InitializeComponent();
}
private void frmLogon_Load(object sender, EventArgs e)
{
Left = 10;
Top = 10;
Width = labelDesktop.Width + 2;
Height = labelDesktop.Height + 2;
}
private void frmLogon_FormClosing(object sender, FormClosingEventArgs e)
{
if (e.CloseReason != CloseReason.WindowsShutDown)
{
e.Cancel = true;
}
}
private void frmLogon_Shown(object sender, EventArgs e)
{
//Common.SetForegroundWindow(Common.GetDesktopWindow());
}
}
}