当我尝试将鼠标悬停在上面或点击按钮之类的东西时,它会给我这个错误,我尝试了很多东西请尝试帮忙吗?这是我的代码。
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;
}
}
}
答案 0 :(得分:-1)
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;
}
}
}