コード例 #1
0
        public MeetingList(MainForm form)
        {
            mainForm = form;

            InitializeComponent();

            this.gridViewMeetings.CustomDrawCell += new DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventHandler(gridViewMeetings_CustomDrawCell);
            this.gridViewMeetings.FocusRectStyle  = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None;
            this.gridViewMeetings.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridViewMeetings.Click        += new EventHandler(gridViewMeetings_Click);
            this.gridViewMeetings.MouseMove    += new MouseEventHandler(gridViewMeetings_MouseMove);
            this.gridViewMeetings.RowCellStyle += new RowCellStyleEventHandler(gridViewMeetings_RowCellStyle);
            this.gridViewMeetings.ExpandAllGroups();

            ReloadMeetings();
        }
コード例 #2
0
ファイル: NotifyList.cs プロジェクト: thachgiasoft/abc-erp
        public NotifyList(MainForm form)
        {
            mainForm = form;

            InitializeComponent();

            this.gridViewNotifies.CustomDrawCell += new DevExpress.XtraGrid.Views.Base.RowCellCustomDrawEventHandler(gridViewNotifies_CustomDrawCell);
            this.gridViewNotifies.FocusRectStyle  = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.None;
            this.gridViewNotifies.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridViewNotifies.Click        += new EventHandler(gridViewNotifies_Click);
            this.gridViewNotifies.MouseMove    += new MouseEventHandler(gridViewNotifies_MouseMove);
            this.gridViewNotifies.RowCellStyle += new RowCellStyleEventHandler(gridViewNotifies_RowCellStyle);
            this.gridViewNotifies.ExpandAllGroups();

            chkShowNewMailOnly.Checked = true;
            ChangeView(false);

            chkSound.Checked = false;
            ChangeSoundOnOff(true);
        }