Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# C错误?System.Drawing.dll中发生类型为“System.ArgumentException”的未处理异常。其他信息:参数无效_C# - Fatal编程技术网

C# C错误?System.Drawing.dll中发生类型为“System.ArgumentException”的未处理异常。其他信息:参数无效

C# C错误?System.Drawing.dll中发生类型为“System.ArgumentException”的未处理异常。其他信息:参数无效,c#,C#,它会给我这个错误,当我试图悬停或点击按钮之类的东西,我已经尝试了很多的东西,请尝试帮助?这是我的密码 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.

它会给我这个错误,当我试图悬停或点击按钮之类的东西,我已经尝试了很多的东西,请尝试帮助?这是我的密码

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;
    }

   }
}

这是你真正的密码吗?有错误。嗨,欢迎来到StackOverflow。我们不可能仅用2行解释和代码块的细节来重现您的问题,其中除了2行几乎相同的代码外,其他所有内容都是纯样板。请阅读并尝试改进您的问题,否则,没有人能够帮助您
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
    {
        public login()
        {
            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;
        }
    }
}