public GCalcMethodBuilderView()
 {
     InitializeComponent();
     _editHesoVitri = (IEditTableView)this.gTableView1;
     this.gTableView1.grvAttributeTable.RowClick += new RowClickEventHandler(grvAttributeTable_RowClick);
     this.gTableView1.grvAttributeTable.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(grvAttributeTable_FocusedRowChanged);
 }
Beispiel #2
0
 public FrmHem2()
 {
     InitializeComponent();
     _edit = (IEditTableView)this.gTableViewAllowCopy1;
     this.Load += new EventHandler(Frm_Load);
     initMap();
 }
Beispiel #3
0
 public FrmGiaDatNn()
 {
     InitializeComponent();
     _curConfig = CurrentConfig.CallMe();
     _edit = (IEditTableView)this.gTableViewAllowCopy1;
     this.Load += new EventHandler(Frm_Load);
 }
Beispiel #4
0
 public CopyDataView(IEditTableView editor)
 {
     InitializeComponent();
     _copy = new CopyData();
     _copy.SetView(this);
     _controller = new CopyDataController(_copy, this);
     _editor = editor;
 }
Beispiel #5
0
 //private IEditTableView _editLoaiXa;
 public FrmLoaiXa()
 {
     InitializeComponent();
     _editXa = (IEditTableView)this.tblXa;
     _editXa.AllowAddNewRow = false;
     _editXa.AllowDeleteRows = false;
     //_editLoaiXa = (IEditTableView)this.tblLoaiXa;
     this.Load += new EventHandler(FrmLoaiXa_Load);
 }
Beispiel #6
0
 public GQueryInfoThuaView()
 {
     InitializeComponent();
     _query = new QueryThua(this);
     _controller = new QueryThuaController(_query, this);
     _info = new ThuaInfo();
     _edit = (IEditTableView)this.gTableView1;
     this._query.Querying += new QueryingEventHandler(_query_Querying);
     this._query.Finished += new QueryFinishedEventHandler(_query_Finished);
     initPopup();
     this.gTableView1.ContextMenu = this._contextMenu;
 }
Beispiel #7
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);
        }
Beispiel #8
0
 public FrmAttribute()
 {
     InitializeComponent();
     _edit = (IEditTableView)this.gTableView1;
     _edit.SetContextMenuType(G1TypeOfContextMenu.HAS_MAP_AND_CALC);
 }
Beispiel #9
0
 public FrmLoaiDat()
 {
     InitializeComponent();
     _edit = (IEditTableView)this.gTableView1;
     this.Load += new EventHandler(Frm_Load);
 }
Beispiel #10
0
 void IParamsEditorView.SetHook(IEditTableView hook)
 {
     this._hook = hook;
 }