?? selectsystem.cs
字號:
?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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -