123456789101112131415161718192021222324252627282930313233343536373839 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using LYFZ.Model;
- namespace LYFZ.Software.MainBusiness.NewCameraControlBook
- {
- public class frmThumbtackText : LYFZ.Software.NewCameraControlBook.frmThumbtackText
- {
- public frmThumbtackText()
- {
- this.Load += FrmThumbtackText_Load;
- }
- private void FrmThumbtackText_Load(object sender, EventArgs e)
- {
- switch (tType)
- {
- case ThumbtackType.公休图钉:
- this.Text = String.Format("公休说明(最多可输入500个字,公休说明为空时,将自动取消公休日)");
- break;
- case ThumbtackType.普通图钉:
- case ThumbtackType.摄控本日历图钉:
- this.Text = String.Format("编辑图钉(最多可输入500个字)");
- break;
- }
- }
- Model.ThumbtackType tType = Model.ThumbtackType.摄控本日历图钉;
- /// <summary>
- /// 图钉类型
- /// </summary>
- public ThumbtackType TType { get => tType; set => tType = value; }
- }
- }
|