穿正装的男孩葡京签到送彩金

第壹遍见他是面试的时候,他一身正装,干净,一脸庄敬正经,笑得时候特意赏心悦目。

葡京签到送彩金 1

第1、次见到他,我一度跻身她的机关,他是本身领导,小编师兄。开会时,他坐在作者对面,他打开统计机,整理质感,认真,专注。偶尔抬头,四目相对,我不好意思地别过头,面红耳赤。拍照回看,我找了个离她微微距离的地点,因为本身怕自个儿会不自在。散会,作者说,师兄一般都要宴请的,他开玩笑的语气地说好啊,后来漫天单位就本身没有被他请,作者借口说这天忙。

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 frmMaintance
{
public partial class frmMain : Form
{
public frmMain()
{
InitializeComponent();
this.dgvProgrammer.AutoGenerateColumns = false;
}
public List<SE> programmerList = new List<SE>();

其一回会合,小编正式初阶工作,签到,做会议记录,他站在自家边上,玩手机,小编笑着说,师兄,说好的开会不或者玩手机吗。他痞痞地说:“哪个人,是什么人在玩手机。”笔者呵呵笑,“不亮堂啊,你怎么耍赖你麻麻知道呢。”

private Dictionary<string, Record> recordList = new
Dictionary<string, Record>();
public void BindGrid(List<SE> list)
{
this.dgvProgrammer.DataSource = new BindingList<SE>(list);
}

第肆次碰面,小编说师哥你还欠作者一顿饭,他说“那走咯,请你吃晚饭。”作者呵呵说“未来才四点,不然你发给红包安慰安慰自身。”小编实在没有勇气单独和你吃饭。

private void frmMain_Load(object sender, EventArgs e)
{

第1次相会,大家单位九个小伙伴在运动场聊天,听歌,安安静静的夜幕,习习凉风,很满面红光,这一阵子特意想就这么一辈子。你和小叶斗嘴,玩闹,耍流氓,你们四目绝对,说着家门的特产,小编明明感觉到空气中暧昧的鼻息,你很好,她特性也招人喜爱,作者恍然觉得你们真的很般配,好想告诉他们“你们在联合吧。”散场时,你们并排走,笔者在你们身后,小编拿起照相机,拍下这么雅观的背影。

}

本人的男孩,赏心悦目的女孩,一定要幸福,才不辜负自个儿藏起怎么久以来的首先次脸红。

private void tsbtnAdd_Click(object sender, EventArgs e)
{
frmMaintance frm = new frmMaintance();
frm.MaintaceType = 1;
frm.FrmParent = this;
frm.ShowDialog();

葡京签到送彩金 2

}

private void tsbtnDelete_Click(object sender, EventArgs e)
{
if (this.dgvProgrammer.SelectedRows.Count != 1)
{
Message博克斯.Show(“请选中一行!”);
return;
}

DialogResult rt = MessageBox.Show(“确实要去除这几个员工的音信吗?”,
“确认音讯”);
if (rt != DialogResult.OK)
{
return;
}

string workNo =
dgvProgrammer.CurrentRow.Cells[“workNo”].Value.ToString();

foreach (SE obj in programmerList)
{
if (obj.Id == workNo)
{
this.programmerList.Remove(obj);
break;
}
}

this.BindGrid(this.programmerList);
MessageBox.Show(“删除成功!”, “执行新闻”);
}

private void btnQuery_Click(object sender, EventArgs e)
{
List<SE> tempList = new List<SE>();
foreach(SE item in this.programmerList){
if (item.Id.IndexOf(this.txtID.Text.Trim()) != -1)
{
tempList.Add(item);
}
}
this.dgvProgrammer.DataSource = new BindingList<SE>(tempList);
}

private void tsmiSignIn_Click(object sender, EventArgs e)
{
if(this.dgvProgrammer.SelectedRows.Count!=1){
MessageBox.Show(“请选中一行!”);
return;
}
string workNo =
dgvProgrammer.CurrentRow.Cells[“workNo”].Value.ToString();

foreach(string id in recordList.Keys){
if(workNo==id){
MessageBox.Show(“您曾经立下过了!”);
return;
}
}
Record record = new Record();
record.Id = workNo;
record.Name =
dgvProgrammer.CurrentRow.Cells[“name”].Value.ToString();
record.SignInTime = DateTime.Now;
this.recordList.Add(record.Id,record);
MessageBox.Show(“签到成功!”) ;
}

private void tsmiSignOut_Click(object sender, EventArgs e)
{
if(this.dgvProgrammer.SelectedRows.Count!=1){
MessageBox.Show(“请选中一行!”);
return;
}
string ID =
dgvProgrammer.CurrentRow.Cells[“workNo”].Value.ToString();
bool isOut = false;
foreach(string key in recordList.Keys){
if(key==ID){
this.recordList[key].SignOutTime = DateTime.Now;
MessageBox.Show(“签退成功!”);
isOut = true;
break;
}
}
if(!isOut){
MessageBox.Show(“很对不起,尚未签到!”);
}
}

private void tbtnShowCardRecord_Click(object sender, EventArgs e)
{
frmmainready frm = new frmmainready();
frm.recordList = this.recordList;
frm.ShowDialog();
}

}
}

葡京签到送彩金 3

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 frmMaintance
{
public partial class frmmainready : Form
{
public frmmainready()
{
InitializeComponent();
}

public Dictionary<string,Record> recordList { get; set; }

private void frmmainready_Load(object sender, EventArgs e)
{
this.lbtitle.Text =
string.Format(“共有{0}条记录”,this.recordList.Count);
BindingSource bs = new BindingSource();
bs.DataSource = recordList.Values;
dgvRecords.DataSource = bs;
}

}
}

葡京签到送彩金 4

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 frmMaintance
{
public partial class frmMaintance : Form
{
public frmMain frmMain;

public frmMaintance()
{
InitializeComponent();
this.comboBox1.SelectedIndex = 0;
}
public int MaintaceType { get;set; }

public frmMain FrmParent { get; set; }
private void frmMaintance_Load(object sender, EventArgs e)
{

}

private void button1_Click(object sender, EventArgs e)
{
try
{
SE pr = new SE();
pr.Id =this.txt.Text.Trim();
pr.Age = Int32.Parse(this.textBox2.Text.Trim());
if (this.comboBox1.SelectedItem.ToString() == “男”)
{
pr.Gender = Gender.男;
}
else
{
pr.Gender = Gender.女;
}
pr.Name = this.textBox3.Text.Trim();
foreach(SE item in FrmParent.programmerList){
if(item.Id==pr.Id){
MessageBox.Show(“此工号已经存在!”);
return;
}
}
FrmParent.programmerList.Add(pr);
this.Close();
}
catch(Exception ex)
{
MessageBox.Show(“出错”+ex.Message);
}
finally
{
this.FrmParent.BindGrid(FrmParent.programmerList);
}

}
}
}