messageBoxCS.AppendFormat

private void DGV_ColumnHeaderMouseDoubleClickbak(object sender, DataGridViewCellMouseEventArgs e)

{

System.Text.StringBuilder messageBoxCS = new System.Text.StringBuilder();

messageBoxCS.AppendFormat("{0} = {1}", "ColumnIndex", e.ColumnIndex);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "RowIndex", e.RowIndex);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "Button", e.Button);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "Clicks", e.Clicks);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "X", e.X);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "Y", e.Y);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "Delta", e.Delta);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "Location", e.Location);

messageBoxCS.AppendLine();

MessageBox.Show(messageBoxCS.ToString(), "ColumnHeaderMouseDoubleClick Event");

}

#region  messageBoxCS  goto Loop0;

/*

StringBuilder messageBoxCS = new StringBuilder();

messageBoxCS.AppendFormat(文件Info.Name);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "匹配度", 匹配度);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "开", 匹配["开"]);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "高", 匹配["高"]);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "低", 匹配["低"]);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "收", 匹配["收"]);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "量", 匹配["量"]);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("{0} = {1}", "仓", 匹配["仓"]);

messageBoxCS.AppendLine();

messageBoxCS.AppendFormat("先人工处理,再继续?", "");

DialogResult result = MessageBox.Show(messageBoxCS.ToString(), "校正_497:  ", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

if (result == DialogResult.Yes)

goto Loop0;

*/

#endregion  messageBoxCS

(0)

相关推荐