title: C# Error? An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll Additional information: Parameter is not valid
body: <p>It will give me this error when I try to hover over or click something like a button, I've try lot's of thing's please try to help? Here's my code.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using System.Windows.Forms;
  using System.Data.OleDb;
  namespace Login_Viper_Safe
   {
   public partial class login : Form
   {
      {
          InitializeComponent();
  
      private void bunifuThinButton22_Click_1(object sender, EventArgs e)
      {
          SlideA.Location = slideB.Location;
      }
  
      private void bunifuThinButton21_Click_1(object sender, EventArgs e)
      {
          slideB.Location = SlideA.Location;
      }
  
     }
  }
  </code></pre>