public frmAddAppointment(frmAppointment caller, AppoinmentPresenter presenter) { InitializeComponent(); this.caller = caller; this.presenter = presenter; presenter.AppAddingView = this; refreshAll(); }
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); }
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; }