Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftplacer committed Apr 24, 2021
1 parent 50a7064 commit 2a12421
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions LogOutClassicWindow/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,6 @@ public partial class Form1 : Form
{
public Form1()
{
/* Bitmap bmp = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
using (Graphics g = Graphics.FromImage(bmp))
{
g.CopyFromScreen(0, 0, 0, 0, Screen.PrimaryScreen.Bounds.Size);
Form desktop = new Form();
desktop.ShowInTaskbar = false;
desktop.FormBorderStyle = FormBorderStyle.None;
desktop.WindowState = FormWindowState.Maximized;
PictureBox desktopPic = new PictureBox();
desktopPic.Width = Screen.PrimaryScreen.Bounds.Size.Width;
desktopPic.Height = Screen.PrimaryScreen.Bounds.Size.Height;
// desktopPic.Image = g;
desktop.Controls.Add(desktopPic);
// desktop.Show();
} */

Thread.CurrentThread.CurrentCulture = CultureInfo.CurrentCulture;
Thread.CurrentThread.CurrentUICulture = CultureInfo.CurrentUICulture;
Expand All @@ -43,10 +28,6 @@ private void pictureBox1_Click(object sender, EventArgs e)

private void Form1_Load(object sender, EventArgs e)
{

Brush aBrush = (Brush)Brushes.Black;
Graphics g = this.CreateGraphics();
g.FillRectangle(aBrush, 1, 1, 5, 5);
}

protected override void WndProc(ref Message message)
Expand Down

0 comments on commit 2a12421

Please sign in to comment.