示例#1
0
        public frmAddAppointment(frmAppointment caller, AppoinmentPresenter presenter)
        {
            InitializeComponent();
            this.caller             = caller;
            this.presenter          = presenter;
            presenter.AppAddingView = this;

            refreshAll();
        }
示例#2
0
        public frmAddAppointment(Form caller, AppoinmentPresenter presenter, string appCode)
        {
            InitializeComponent();
            this.caller             = caller;
            this.presenter          = presenter;
            this.updatedAppCode     = appCode;
            presenter.AppAddingView = this;

            refreshAll();

            presenter.loadExistedAppointment(updatedAppCode);
        }
示例#3
0
        public frmAppointment()
        {
            InitializeComponent();
            presenter         = new AppoinmentPresenter();
            presenter.AppView = this;
            presenter.loadAppointmentList();

            GridView gridView = grdconALAppointment.FocusedView as GridView;

            foreach (GridColumn col in gridView.Columns)
            {
                col.OptionsFilter.AutoFilterCondition = AutoFilterCondition.Contains;
            }

            gridView.GroupPanelText = "Thả một tiêu đề ở đây để nhóm thông tin";
            //gridView.Columns["APP_CODE"].SortOrder = DevExpress.Data.ColumnSortOrder.Descending;
        }