📄 navigationframe.cs
字号:
//
// navigationFrame
//
this.AutoScaleBaseSize = new System.Drawing.Size(9, 19);
this.ClientSize = new System.Drawing.Size(706, 504);
this.Controls.Add(this.KaoQinManageGroup);
this.Controls.Add(this.label11);
this.Controls.Add(this.lowImage);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.userManagerGroup);
this.Controls.Add(this.SystemManagerGroup);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "navigationFrame";
this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultLocation;
this.Text = "navigationFrame";
this.Load += new System.EventHandler(this.navigationFrame_Load);
this.Controls.SetChildIndex(this.SystemManagerGroup, 0);
this.Controls.SetChildIndex(this.userManagerGroup, 0);
this.Controls.SetChildIndex(this.groupBox1, 0);
this.Controls.SetChildIndex(this.lowImage, 0);
this.Controls.SetChildIndex(this.label11, 0);
this.Controls.SetChildIndex(this.KaoQinManageGroup, 0);
this.Controls.SetChildIndex(this.titleLabel, 0);
this.groupBox1.ResumeLayout(false);
this.KaoQinManageGroup.ResumeLayout(false);
this.SystemManagerGroup.ResumeLayout(false);
this.userManagerGroup.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
#region 系统初始化....
private void navigationFrame_Load(object sender, System.EventArgs e)
{
this.KaoQinManageGroup.Visible=true;
this.userManagerGroup.Visible=false;
this.SystemManagerGroup.Visible=false;
ShowControl(false);
}
#endregion
#region 主事件...
/// <summary>
///
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
///
//考勤管理
private void kaoQinManagerTitle_Click(object sender, System.EventArgs e)
{
this.KaoQinManageGroup.Visible=true;
this.userManagerGroup.Visible=false;
this.SystemManagerGroup.Visible=false;
}
//用户管理
private void userManagerTitle_Click(object sender, System.EventArgs e)
{
this.KaoQinManageGroup.Visible=false;
this.userManagerGroup.Visible=true;
this.SystemManagerGroup.Visible=false;
}
//系统管理
private void SystemManagerTitle_Click(object sender, System.EventArgs e)
{
this.KaoQinManageGroup.Visible=false;
this.userManagerGroup.Visible=false;
this.SystemManagerGroup.Visible=true;
}
//技术支持
private void jishuzhichiTitle_Click(object sender, System.EventArgs e)
{
技术支持 log=new 技术支持();
log.ShowDialog();
}
#endregion
#region 考勤管理...
private void EmployeeLabel_Click(object sender, System.EventArgs e)
{
str="部门信息管理";
this.UserOperatorHistory(str);
EmployeeFrame log=new EmployeeFrame();
log.ShowDialog();
}
private void KaoQinRiZhiLabel_Click(object sender, System.EventArgs e)
{
str="考勤日志";
this.UserOperatorHistory(str);
KaoQinRiZhiHistoryFrame log=new KaoQinRiZhiHistoryFrame();
log.ShowDialog();
}
private void ZhaoTuiLabel_Click(object sender, System.EventArgs e)
{
str="未到管理";
this.UserOperatorHistory(str);
// ZhaoTuiSearchFrame log=new ZhaoTuiSearchFrame();
// log.ShowDialog();
Emp_UnComeFrame log=new Emp_UnComeFrame();
log.ShowDialog();
}
private void lateLabel_Click(object sender, System.EventArgs e)
{
str="迟到管理";
this.UserOperatorHistory(str);
// LateFrame log=new LateFrame();
// log.ShowDialog();
Emp_LateManager log=new Emp_LateManager();
log.ShowDialog();
}
private void LeaveLabel_Click(object sender, System.EventArgs e)
{
str="查询请假记录";
this.UserOperatorHistory(str);
// LeaveSearchFrame log=new LeaveSearchFrame();
// log.ShowDialog();
LeaveFreamSearch log=new LeaveFreamSearch();
log.ShowDialog();
}
private void QuXianLabel_Click(object sender, System.EventArgs e)
{
str="员工信息管理";
this.UserOperatorHistory(str);
DepartmentFrame log=new DepartmentFrame();
log.ShowDialog();
}
private void usersManagerLabel_Click(object sender, System.EventArgs e)
{
str="早退管理";
this.UserOperatorHistory(str);
zhaoTuiFrame log=new zhaoTuiFrame();
log.ShowDialog();
}
//考勤统计事件需要挂接快捷菜单
private void kaoQinTongJiLabel_Click(object sender, System.EventArgs e)
{
// kaqintongjiFrame log=new kaqintongjiFrame();
// log.ShowDialog();
MessageBox.Show(this,"展开快捷菜单啦!!!","提示信息",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
//考勤数据备份事件....
private void KaoQinBackLabel_Click(object sender, System.EventArgs e)
{
考勤备份 log=new 考勤备份();
log.ShowDialog();
}
private void ImageMoKuai_Click(object sender, System.EventArgs e)
{
//MessageBox.Show(this,"没有任何响应事件啊!!!","提示信息",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
//月统计
private void menuMonth_Click(object sender, System.EventArgs e)
{
str="月统计";
this.UserOperatorHistory(str);
员工考勤 log=new 员工考勤();
log.ShowDialog();
}
//天统计
private void menuDay_Click(object sender, System.EventArgs e)
{
str="日统计";
this.UserOperatorHistory(str);
kaqintongjiFrame log=new kaqintongjiFrame();
log.ShowDialog();
}
#endregion
#region 系统管理...
private void SystemBackLabel_Click(object sender, System.EventArgs e)
{
str="系统备份";
this.UserOperatorHistory(str);
backFrame log=new backFrame();
log.ShowDialog();
}
private void SystemDesignLabel_Click(object sender, System.EventArgs e)
{
str="系统基本设置";
this.UserOperatorHistory(str);
SystemBasicDesignFrame log=new SystemBasicDesignFrame();
log.ShowDialog();
}
private void SystemRevertLabel_Click(object sender, System.EventArgs e)
{
str="系统还原";
this.UserOperatorHistory(str);
RestroreFrame log=new RestroreFrame();
log.ShowDialog();
}
private void pictureBox6_Click(object sender, System.EventArgs e)
{
//MessageBox.Show(this,"没有任何响应事件啊!!!","提示信息",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
#endregion
#region 用户管理...
private void userManagerLabel_Click(object sender, System.EventArgs e)
{
UserManager log=new UserManager();
log.ShowDialog();
}
private void UserPopedomLabel_Click(object sender, System.EventArgs e)
{
popedom log=new popedom();
log.ShowDialog();
}
private void userManagerImage_Click(object sender, System.EventArgs e)
{
//MessageBox.Show(this,"没有任何响应事件啊!!!","提示信息",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
private void userPopedomImage_Click(object sender, System.EventArgs e)
{
//MessageBox.Show(this,"没有任何响应事件啊!!!","提示信息",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
private void userManagerGroup_Enter(object sender, System.EventArgs e)
{
//MessageBox.Show(this,"你已经进入了用户管理事件选项事件,此处图标事件无效!!!","提示信息",MessageBoxButtons.OK,MessageBoxIcon.Information);
}
#endregion
#region 鼠标移上某个控件字体变化...
private void kaoQinManagerTitle_MouseEnter(object sender, System.EventArgs e)
{
this.kaoQinManagerTitle.Font=new Font("楷体",12,FontStyle.Underline);
this.kaoQinManagerTitle.ForeColor=Color.DarkTurquoise;
}
private void kaoQinManagerTitle_MouseLeave(object sender, System.EventArgs e)
{
this.kaoQinManagerTitle.Font=new Font("Verdana",10.5f,FontStyle.Bold);
this.kaoQinManagerTitle.ForeColor=Color.White;
}
private void userManagerTitle_MouseLeave(object sender, System.EventArgs e)
{
this.userManagerTitle.Font=new Font("Verdana",10.5f,FontStyle.Bold);
this.userManagerTitle.ForeColor=Color.White;
}
private void userManagerTitle_MouseEnter(object sender, System.EventArgs e)
{
this.userManagerTitle.Font=new Font("楷体",12,FontStyle.Underline);
this.userManagerTitle.ForeColor=Color.DarkTurquoise;
}
private void SystemManagerTitle_MouseEnter(object sender, System.EventArgs e)
{
this.SystemManagerTitle.Font=new Font("楷体",12,FontStyle.Underline);
this.SystemManagerTitle.ForeColor=Color.DarkTurquoise;
}
private void SystemManagerTitle_MouseLeave(object sender, System.EventArgs e)
{
this.SystemManagerTitle.Font=new Font("Verdana",10.5f,FontStyle.Bold);
this.SystemManagerTitle.ForeColor=Color.White;
}
private void jishuzhichiTitle_MouseLeave(object sender, System.EventArgs e)
{
this.jishuzhichiTitle.Font=new Font("楷体",12,FontStyle.Bold);
this.jishuzhichiTitle.ForeColor=Color.White;
}
private void jishuzhichiTitle_MouseEnter(object sender, System.EventArgs e)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -