C#winform 弹出自定义对话框? 对话框中有三个选择,"打开","删除","取消"替换MessageBoxButtons.YesNoCancel,有没有简单的写法? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 自定义一个Form,其他的,估计没有,要不你继承一个MessageBox? public static DialogResult MessageBoxYesCancel(string Information)//通用弹出式信息显示对话框方法(进行互操作)返回黄色感汉号 { string caption = "【系统提示】"; MessageBoxButtons buttons = MessageBoxButtons.YesNoCancel; return MessageBox.Show(Information, caption, buttons, MessageBoxIcon.Question); } 那就自己写一个窗体.用showdialog的方法打开.再进行跨窗口操作 试着重写MessagesBox.show试试http://www.thewebhappy.com 自己做一个 winform窗体,设置样式最后用ShowDialog调用显示就行了。 自制一个窗体,再ShowDialog();就可以了 使用这个 APIint MessageBoxIndirect( const LPMSGBOXPARAMS lpMsgBoxParams); C#中如何实现一个总合计数值固定的队列,能返回当前队列中元素的最大值,最小值和元素个数 c# winform 如何实现框选图片 datagridview的问题 WPF 中如何隐藏一个控件呢 combox中ValueMember DisplayMember的区别? socket的问题 C#显示求助 关于C#网络编程,同步与异步的区别 关于使用DataGrid控件啊? 如何在程序中把一个控件放在其他控件的前面? 求一个验证xml的schema的写法 关于控制线程数的问题
{
string caption = "【系统提示】";
MessageBoxButtons buttons = MessageBoxButtons.YesNoCancel;
return MessageBox.Show(Information, caption, buttons, MessageBoxIcon.Question);
}
那就自己写一个窗体.用showdialog的方法打开.
再进行跨窗口操作
int MessageBoxIndirect(
const LPMSGBOXPARAMS lpMsgBoxParams
);