コード例 #1
0
ファイル: StoreWTWeekday.cs プロジェクト: 5509850/baumax
        public StoreWTWeekday(byte weekday, short opentime, short closetime, StoreWorkingTime storeWorkingTime)
		{
			this._weekday = weekday;
			this._opentime = opentime;
			this._closetime = closetime;
            this._storeWorkingTime = storeWorkingTime;
		}
コード例 #2
0
ファイル: StoreWTWeekday.cs プロジェクト: 5509850/baumax
 public StoreWTWeekday(byte weekday, short opentime, short closetime, StoreWorkingTime storeWorkingTime)
 {
     this._weekday = weekday;
     this._opentime = opentime;
     this._closetime = closetime;
     this._storeWorkingTime = storeWorkingTime;
 }
コード例 #3
0
 public void SuggestOptions(StoreWorkingTime previousWorkingTime, StoreWorkingTime nextWorkingTime)
 {
     rdo_ExpandPrevious.Enabled = previousWorkingTime != null;
     rdo_ExpandNext.Enabled = nextWorkingTime != null;
     rdo_LeaveRangesUnchanged.Enabled = (previousWorkingTime != null && nextWorkingTime == null);
     if (!rdo_ExpandPrevious.Enabled && rdo_ExpandPrevious.Checked)
     {
         rdo_ExpandPrevious.Checked = false;
         rdo_ExpandNext.Checked = true;
     }
     if (!rdo_ExpandNext.Enabled && rdo_ExpandNext.Checked)
     {
         rdo_ExpandNext.Checked = false;
         if (rdo_LeaveRangesUnchanged.Enabled)
             rdo_LeaveRangesUnchanged.Checked = true;
         else
             if (rdo_ExpandPrevious.Enabled)
                 rdo_ExpandPrevious.Checked = true;
     }
 }
コード例 #4
0
 private void ShowFocusedEntityDetails()
 {
     BeforeChangeEntity();
     _focusedRange = FocusedEntity;
     FireChangeTimeRange();
 }