C sharp(C#)-小结

1、基础

 

2、C#调用*.bat

https://blog.csdn.net/wszhbl/article/details/90292687?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-6&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-6

 

3、使用技巧小结

(1)子窗体刷新主窗体中的数据:https://zhidao.baidu.com/question/2115092341126095587.html

(2)判断表格中是否有记录行被选中

if (this.dataGridView1.SelectedRows.Count == 0)//判断是否选中某行
{
    MessageBox.Show("请选择要删除的行记录,鼠标左键该行!");
}

(3)C#连接mysql数据库:https://www.cnblogs.com/andy9468/p/12841413.html

(4)C# DataGridView的列宽设置(自动调整列宽):https://blog.csdn.net/zdyueguanyun/article/details/52144680

(5)C# DataGridView超链接功能:https://blog.csdn.net/u012972326/article/details/86554545

(6)C# 窗体居中:https://www.cnblogs.com/htwzl/p/7290919.html

(7)C# 窗体禁止最大化:https://blog.csdn.net/feiduan1211/article/details/88419561

posted @ 2020-04-30 17:08  安迪9468  阅读(281)  评论(0编辑  收藏  举报