如题
解决方案 »
- C# 中两个事件怎么在一个事务中处理
- 用js在客户端改变dropdownlist里的值之后postback后怎么保存已经更改过的值
- 最近看了个操作session和cookie的类 但是碰到问题了
- 一维字符串数组如何去重复字符串,相同的字符串元素只保留一个
- C#,表达式(string)转换成Double
- 请问在Resources.resx中定义的那些字符串如何使用?
- 如何在.NET中加入PowerPoint控件
- 新手问问题,希望各位高手指教!
- winform reportViewer报表~求高手指点~急求
- machine.config
- datagrid中的foramt怎么用
- .net如何调用存储过程然后如何显示
{
......
}...
//显示窗体
MyForm myForm1 = new MyForm();
MyForm.Show();
//关闭当前窗体
this.Close();
说清楚
frmopenlist.TempOperation ="修改";
frmopenlist.BoxName = strTemp;
this.OperationList="";//还原结帐判断变量
frmopenlist.ShowDialog (this);
if (frmopenlist.DialogResult != DialogResult.OK)
{
return;
}
refbuton(sender);//刷新按钮信息
if (this.OperationList.Trim()=="结帐")
{
//跳出结帐窗体
FrmCloseList frmCloselist = new FrmCloseList ();
frmCloselist.TempOperation ="结帐";
frmCloselist.BoxName = strTemp;
frmCloselist.ShowDialog (this);
if (frmCloselist.DialogResult == DialogResult.OK)
{
//还原按钮颜色
(sender as Button).BackColor = Color.Empty;
(sender as Button).ForeColor = Color.Black;
(sender as Button).FlatStyle = FlatStyle.Standard;
this.refbuton(sender);
(sender as Button).Text = strTemp + "空闲";
}
}
//如果结帐窗体返回OK 则还原按钮 否则不变