Exemplo n.º 1
0
 private void steeveforce_Load(object sender, EventArgs e)
 {
     this.initial();
     try
     {
         dt           = OperateSql.LoadData(sql, dgv);
         dt.TableName = "吊杆力记录表";
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemplo n.º 2
0
        private void FrontPivotRecord_Load(object sender, EventArgs e)
        {
            this.initial();

            try
            {
                dt           = OperateSql.LoadData(sql, dgv);
                dt.TableName = "前支点数据记录表";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }
Exemplo n.º 3
0
 private void steevedisplacement_Load(object sender, EventArgs e)
 {
     this.initial();
     sql = "select * from SteeveDisplacement";
     try
     {
         dt           = OperateSql.LoadData(sql, dgv);//加载数据
         dt.TableName = "吊杆位移记录表";
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Exemplo n.º 4
0
        private void warn_Load(object sender, EventArgs e)
        {
            this.initial();
            string sql = "select * from AlarmRecord";

            try
            {
                dt           = OperateSql.LoadData(sql, dgv);
                dt.TableName = "报警记录";
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }