摘要:
1.怎样定制VC#DataGrid列标题?
DataGridTableStyle dgts = new DataGridTableStyle();
dgts.MappingName = "myTable"; //myTable为要载入数据的DataTable 阅读全文
摘要:
通过openFileDialog打开对话框,选择要用到的文件, 通过以下方法可得到选定文件路径 OpenFileDialog openFileDialog = new OpenFileDialog(); openFileDialog.Filter = "图像文件(JPeg,Gif)|*.jpg;*.jpeg;*.gif;|JPeg 图像文件(*.jpg;*.jpe... 阅读全文