Rupert

::Me(C#,VC,MonoTouch,MonoforAndroid);

导航

上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 107 下一页

2012年8月29日

摘要: http://download.csdn.net/detail/lanweiqiang/4357932privateintcomboBoxColumnIndex=0;//DataGridView的首列publicForm1(){InitializeComponent();InitComboBoxValues();this.dataGridView1.Controls.Add(this.comboBox1);this.dataGridView1.CellEnter+=newDataGridViewCellEventHandler(dataGridView1_CellEnter);this.dat 阅读全文

posted @ 2012-08-29 18:44 ArRan 阅读(848) 评论(0) 推荐(0)

2012年8月25日

摘要: 导读: 当前单元格指的是 DataGridView 焦点所在的单元格,它可以通过 DataGridView 对象的 CurrentCell 属性取得。如果当前单元格不存在的时候,返回Nothing(C#是null) // 取得当前单元格内容 Console.WriteLine(DataGridView1.CurrentCell.Value);// 取得当前单元格的列 Index Console.WriteLine(DataGridView1.CurrentCell.ColumnIndex);// 取得当前单元格的行 Index Console.WriteLine(DataGridVi... 阅读全文

posted @ 2012-08-25 12:57 ArRan 阅读(576) 评论(0) 推荐(0)

2012年8月24日

摘要: 1、窗体1、常用属性(1)Name属性:用来获取或设置窗体的名称,在应用程序中可通过Name属性来引用窗体。(2) WindowState属性: 用来获取或设置窗体的窗口状态。 取值有三种: Normal (窗体正常显示)、 Minimized(窗体以最小化形式显示)和 Maximized(窗体以最大化形式显示)。(3)StartPosition属性:用来获取或设置运行时窗体的起始位置。(4)Text属性:该属性是一个字符串属性,用来设置或返回在窗口标题栏中显示的文字。(5)Width属性:用来获取或设置窗体的宽度。(6)Height属性:用来获取或设置窗体的高度。(7)Left属性:用来获取 阅读全文

posted @ 2012-08-24 11:53 ArRan 阅读(354) 评论(0) 推荐(0)

上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 107 下一页