示例#1
0
 public SupplierList()
 {
     InitializeComponent();
     presenter       = new SupplierPresenter(this);
     CurrentSupplier = new Supplier();
     GridSupplierDetails.DataContext = CurrentSupplier;
 }
示例#2
0
        public frmAddSupplier(SupplierPresenter preSupplier, Model.SUPPLIER obj)
        {
            this.preSupplier = preSupplier;
            this.obj         = obj;
            InitializeComponent();

            tboxName.Text    = obj.SUPPLIER_NAME;
            tboxTaxCode.Text = obj.TAX_CODE;
            tboxPhone.Text   = obj.PHONE;
            tboxAddress.Text = obj.ADDRESS;
        }
示例#3
0
        public frmSupplier()
        {
            InitializeComponent();
            preSupplier = new SupplierPresenter(this);

            GridView gridView = gridSupplier.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["SUPPLIER_ID"].SortOrder = DevExpress.Data.ColumnSortOrder.Descending;
        }
示例#4
0
 public SupplierForm()
 {
     InitializeComponent();
     _presenter = new SupplierPresenter(this);
 }
 public SupplierView()
 {
     InitializeComponent();
     supplierPresenter = new SupplierPresenter(this);
 }
示例#6
0
 public frmAddSupplier(SupplierPresenter preSupplier, Model.SUPPLIER obj, Form beforeForm)
     : this(preSupplier, obj)
 {
     this.beforeForm = beforeForm;
 }
示例#7
0
 public frmAddSupplier(SupplierPresenter preSupplier, Form beforeForm)
 {
     this.beforeForm  = beforeForm;
     this.preSupplier = preSupplier;
     InitializeComponent();
 }
示例#8
0
 public frmAddSupplier(SupplierPresenter preSupplier)
 {
     this.preSupplier = preSupplier;
     InitializeComponent();
 }