mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
* Integrate Mouse Without Borders into PowerToys --------- Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
60 lines
1.9 KiB
C#
60 lines
1.9 KiB
C#
using System.Windows.Forms;
|
|
|
|
namespace MouseWithoutBorders
|
|
{
|
|
partial class FormDot
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.SuspendLayout();
|
|
//
|
|
// FormDot
|
|
//
|
|
this.BackColor = System.Drawing.Color.Black;
|
|
this.ClientSize = new System.Drawing.Size(2, 2);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FormDot";
|
|
this.Opacity = 0.5D;
|
|
this.ShowIcon = false;
|
|
this.ShowInTaskbar = false;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
|
|
this.TopMost = true;
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormDot_FormClosing);
|
|
this.Shown += new System.EventHandler(this.FormDot_Shown);
|
|
this.VisibleChanged += new System.EventHandler(this.FormDot_VisibleChanged);
|
|
this.Click += new System.EventHandler(this.FormDot_Click);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|
|
|