夜光序言:
工作再忙碌,也不会忽略了真正的朋友。
生活再劳累,也不会忘记了深刻的友情。
正文:
可以看到很多资源都是放在这里
可以划一下,多选
有很多工具嗯
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;
namespace WindowsFormsApp1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
/* MessageBox.Show("窗体加载时");*/
coBox.SelectedIndex = 0;
}
private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
MessageBox.Show("窗体关闭时");
}
private void Button1_Click(object sender, EventArgs e)
{
MessageBox.Show("夜光:鼠标点击事件");
}
}
}
第一个索引就是0
第二个是1