123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace LYFZ.Software.MainBusiness.TimeAndAttendance
- {
- public class MakeAnAppointment : LYFZ.Software.UI.TimeAndAttendance.MakeAnAppointment
- {
- public MakeAnAppointment()
- {
- this.Load += MakeAnAppointment_Load;
- this.butnElectiondress.Click += butnElectiondress_Click;
- this.butnLookatthedesign.Click += butnLookatthedesign_Click;
- this.butnPickup.Click += butnPickup_Click;
- this.butnservice.Click += butnservice_Click;
- this.butnTakepictures.Click += butnTakepictures_Click;
- this.butnSelectionoffilms.Click += butnSelectionoffilms_Click;
- }
- /// <summary>
- /// 是否保存
- /// </summary>
- public bool IsSaveed = false;
- /// <summary>
- /// 选择的类型
- /// </summary>
- public string StrSelectType = "";
- /// <summary>
- /// 窗体加载事件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- void MakeAnAppointment_Load(object sender, EventArgs e)
- {
- }
- /// <summary>
- /// 安排拍照
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- void butnTakepictures_Click(object sender, EventArgs e)
- {
- this.IsSaveed = true;
- this.StrSelectType = "0";
- this.Close();
- }
- /// <summary>
- /// 安排选片
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- void butnSelectionoffilms_Click(object sender, EventArgs e)
- {
- this.IsSaveed = true;
- this.StrSelectType = "1";
- this.Close();
- }
- /// <summary>
- /// 安排看设计
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- void butnLookatthedesign_Click(object sender, EventArgs e)
- {
- this.IsSaveed = true;
- this.StrSelectType = "2";
- this.Close();
- }
- /// <summary>
- /// 安排取件
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- void butnPickup_Click(object sender, EventArgs e)
- {
- this.IsSaveed = true;
- this.StrSelectType = "3";
- this.Close();
- }
- /// <summary>
- /// 安排服务
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- void butnservice_Click(object sender, EventArgs e)
- {
- this.IsSaveed = true;
- this.StrSelectType = "4";
- this.Close();
- }
- /// <summary>
- /// 安排选礼服
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- void butnElectiondress_Click(object sender, EventArgs e)
- {
- this.IsSaveed = true;
- this.StrSelectType = "5";
- this.Close();
- }
- }
- }
|