msgfunc.cs
来自「JAVA的精彩实例」· CS 代码 · 共 26 行
CS
26 行
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace feiyun0112.cnblogs.com.CSDNReader.Functions
{
class MsgFunc
{
private MsgFunc()
{ }
public static void ShowWarning(string strMsg)
{
MessageBox.Show(strMsg, "CSDN Reader", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
public static DialogResult ShowQuestion(string strMsg)
{
return MessageBox.Show(strMsg, "CSDN Reader", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?