ShareThrowingScreenServer/FormErrors.cs
(完整代码) 1KBusing Cool.Windows.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ShareThrowingScreenServer
{
public partial class FormErrors : CoolForm
{
public FormErrors()
{
InitializeComponent();
Commom.Instance.RecursionSetSkin(this, Commom.Instance.SkinColor);
}
private void FormErrors_Load(object sender, EventArgs e)
{
}
public void Show(string msg)
{
this.lbMsg.Text = msg;
this.ShowDialog();
}
public void Show(string msg, string title)
{
this.coolFormTitleBar1.TitleText = title;
this.lbMsg.Text = msg;
this.ShowDialog();
}
public void Show(string msg, string title, MessageBoxButtons button)
{
}
public void Show(string msg, string title, MessageBoxIcon icon)
{
}
public void Show(string msg, string title, MessageBoxButtons button, MessageBoxIcon icon)
{
this.coolFormTitleBar1.TitleText = title;
this.lbMsg.Text = msg;
float msg_width = Graphics.FromHdc(lbMsg.Handle).MeasureString(msg, lbMsg.Font).Width;
this.ShowDialog();
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
