示例#1
0
        private FrmThongSoQuyDinh()
        {
            InitializeComponent();

            _edit = (IEditTableView)this.gTableView1;
            _edit.SetContextMenuType(G1TypeOfContextMenu.NORMAL);
            _paramView = this.gParamsView1;
            _paramView.SetContainer(this);
            _paramView.SetHook(_edit);
            this.gTableView1.grvAttributeTable.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(grvAttributeTable_FocusedRowChanged);

            _curConfig = CurrentConfig.CallMe();
            this._openConfigView = new FrmTnOpenParams();
            this._openConfigView.SetConfigView(this);
            this._saveConfigView = new FrmTnSaveParams();
            this._saveConfigView.SetConfigView(this);
            ((IConfigView)this).SetOpenAndSaveView(this._openConfigView, this._saveConfigView);
        }
示例#2
0
 public FrmAttribute()
 {
     InitializeComponent();
     _edit = (IEditTableView)this.gTableView1;
     _edit.SetContextMenuType(G1TypeOfContextMenu.HAS_MAP_AND_CALC);
 }