CyManager/FrmAccountDay.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Common;
using BLL;
namespace CyManager
{
public partial class FrmAccountDay : Form
{
public string userid;
public string username="";
public FrmAccountDay()
{
InitializeComponent();
this.Load += FrmAccountDay_Load;
dgvAccountlist.AutoGenerateColumns = false;
dtpDate.Value = DateTime.Today;
}
public FrmAccountDay(string username,string userid):base()
{
this.userid = userid;
this.username = username;
dtpDate.Value = DateTime.Today;
}
void FrmAccountDay_Load(object sender, EventArgs e)
{
//throw new NotImplementedException();
LoadCbb();
}
private void LoadCbb()
{
List<string> lsthh = new List<string>();
List<string> lstmm = new List<string>();
List<string> lsthhend = new List<string>();
List<string> lstmmend = new List<string>();
//加载小时
int i= 0;
for (i = 0; i < 24;i++ )
{
string hh = i.ToString().PadLeft(2, '0');
lsthh.Add(hh);
lsthhend.Add(hh);
}
cbbend_h.DataSource = lsthhend;
cmbStart_h.DataSource = lsthh;
//加载分钟
for (i = 0; i < 59; i++)
{
后面还有 230 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。