见过不少人、经过不少事、也吃过不少苦,感悟世事无常、人心多变,靠着回忆将往事串珠成链,聊聊感情、谈谈发展,我慢慢写、你一点一点看......
1.创建AutoControlSize类
public class AutoControlSize
{
private static Queue<Control> MyControlQuery_Init = new Queue<Control>();//初始化控件集合队列
private static ArrayList MyControlInfoList_Init = new ArrayList();//初始化控件参数集合
private static Int32 MainDlg_H_Init;//初始化主对话框参数
private static Int32 MainDlg_W_Init;//初始化主对话框参数
private static Int32 MainDlg_H_Curr;//当前主对话框参数
private static Int32 MainDlg_W_Curr;//当前主对话框参数
private struct ControlInfo//控件参数结构体
{
public string ControlName;