예제 #1
0
        // --------------------------------------------------------------------------------------

        public DayViewUIExtensionCore(IntPtr hwndParent, Translator trans, String helpID)
        {
            m_HwndParent = hwndParent;
            m_Trans      = trans;
            m_HelpID     = helpID;

            m_TaskIcons    = new UIExtension.TaskIcon(hwndParent);
            m_ControlsFont = new Font(FontName, 8);
            m_PrefsDlg     = new DayViewPreferencesDlg(trans, m_ControlsFont);

            InitializeComponent();
        }
예제 #2
0
        private void InitializeComponent()
        {
            m_TaskIcons    = new UIExtension.TaskIcon(m_HwndParent);
            m_ControlsFont = new Font(FontName, 8);
            m_PrefsDlg     = new DayViewPreferencesDlg(m_Trans, m_ControlsFont);

            // Day view always comes last
            CreateToolbar();
            CreateWeekLabel();
            CreateMonthYearCombos();
            CreateDayView();
        }
예제 #3
0
        private void InitializeComponent()
        {
            m_ControlsFont = new Font(FontName, 8);
            m_PrefsDlg     = new DayViewPreferencesDlg(m_Trans, m_ControlsFont);
            m_WorkWeek     = new WorkingWeek();

            CreateMonthYearCombos();
            CreateToolbar();
            CreateWeekLabel();
            CreateSelectedTaskDatesLabel();

            // Day view always comes last
            CreateDayView();
        }
        private void InitializeComponent()
        {
            m_ControlsFont = new Font(FontName, 8);
            m_PrefsDlg     = new DayViewPreferencesDlg(m_Trans, m_ControlsFont);
            m_WorkWeek     = new WorkingWeek();

            m_BannerHeight = RhinoLicensing.CreateBanner(m_TypeId, m_UiName, this, m_Trans, -1);

            CreateMonthYearCombos();
            CreateToolbar();
            CreateWeekLabel();
            CreateSelectedTaskDatesLabel();

            // Day view always comes last
            CreateDayView();
        }