selectsystem.cs
来自「人事管理系统」· CS 代码 · 共 36 行
CS
36 行
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace 人事管理
{
public partial class selectsystem : Form
{
public static string aa;
public static string bb;
public selectsystem()
{
InitializeComponent();
}
private void selectsystem_Load(object sender, EventArgs e)
{
}
//确定
private void yesbtn_Click(object sender, EventArgs e)
{
//aa = begintimebtn.Value.Year + "-" + begintimebtn.Value.Month.ToString().PadLeft(2, '0') + "-" + begintimebtn.Value.Day.ToString().PadLeft(2, '0');
aa = begintimebtn.Value.ToString("yyyy-MM-dd 00:00:00");
//aa = aa + " 00:00:00";
//bb = endtimebox.Value.Year + "-" + endtimebox.Value.Month.ToString().PadLeft(2, '0') + "-" + endtimebox.Value.Day.ToString().PadLeft(2, '0');
bb = endtimebox.Value.ToString("yyyy-MM-dd 23:00:00");
//bb = bb + " 23:00:00";
this.Close();
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?