コード例 #1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        public FrmQueryOutputConfiguration()
        {
            InitializeComponent();
            this.butOk.DialogResult    = DialogResult.OK;
            this.butClose.DialogResult = DialogResult.Cancel;

            OilTableRowAccess RowAccess = new OilTableRowAccess();

            this._tableRowList = RowAccess.Get("1=1");
            GCMatch1Access gcMatch1Access = new GCMatch1Access();

            this._GCMatch1List = gcMatch1Access.Get("1=1");
        }
コード例 #2
0
        /// <summary>
        ///
        /// </summary>
        public FrmExperienceTrendCheck()
        {
            InitializeComponent();
            InitStyle();//设置表格显示样式
            OilTableRowAccess trendParmTableAccess = new OilTableRowAccess();

            this._trendParmTableList = trendParmTableAccess.Get("1=1");
            SetHeader();//设置表格的头部
            BindToolStripCmbTableType();
            this._trendTableType = (EnumTableType)this.toolStripComboBox1.ComboBox.SelectedValue;

            BindDgdViewAll();
        }