public UCWorldDailyView() { InitializeComponent(); BuildColumns(); rgViewMode.EditValue = 2; _OnChangeStoreOrWorld += new FireChangedStoreOrWorld(m_context_OnChangedStoreOrWorld); Disposed += new EventHandler(UCWorldDailyView_Disposed); _OnSaveEvent += new FireSaveEvent(m_context_OnSaveEvent); deDate.Properties.MinValue = DateTimeSql.SmallDatetimeMin; deDate.Properties.MaxValue = DateTimeSql.SmallDatetimeMax; panelControl4.Visible = false; }
public UCWeekTimePlanning() { InitializeComponent(); BuildColumnDiction(); _OnChangeStoreOrWorld = new FireChangedStoreOrWorld(m_context_OnChangedStoreOrWorld); _focusedRectangleLine.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot; Disposed += new EventHandler(UCWeekTimePlanning_Disposed); deMonday.Properties.MinValue = DateTimeSql.SmallDatetimeMin; deMonday.Properties.MaxValue = DateTimeSql.SmallDatetimeMax; }