CyManager/ParamSettings.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using Common;
using BLL;
using System.Windows.Forms;
namespace CyManager
{
public partial class ParamSettings:UserControl
{
public static int pId;
public ParamSettings()
{
InitializeComponent();
}
private void ParamSettings_Load(object sender, System.EventArgs e)
{
CParamSettings cps = new CParamSettings();
cps = BLLParamSettings.GetParamSettings();
if (printCheckYes.Checked = cps.PrintCheckYes)
{
}
else
{
printCheckNo.Checked = true;
}
if (pointCheckYes.Checked = cps.PointCheckYes)
{
txtPoint.Enabled = true;
}
else
{
pointCheckNo.Checked = true;
txtPoint.Enabled = false;
}
txtPoint.Text = Convert.ToString(cps.PointTimes*100);
pId = Convert.ToInt32(cps.PId);
}
private void txtPoint_KeyPress(object sender, KeyPressEventArgs e)
{
char ch = e.KeyChar;
if (ch >= '0' && ch <= '9' || ch == (char)8)
{
}
else
{
e.Handled = true;
MessageBoxNew.Show("人数必须输入数值型!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
this.txtPoint.Text = "";
this.txtPoint.Focus();
}
}
private void button1_Click(object sender, System.EventArgs e)
{
CParamSettings cps = new CParamSettings();
后面还有 23 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。