Exemplo n.º 1
0
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="k1Value"></param>
        public K1ValueEntering(K1Value k1Value)
        {
            InitializeComponent();
            K1Value = k1Value;

            FormDefaultPropertiesSetter.SetEnteringFormDefaultProperties(this, Const_OP.K1_VALUE_CHANGE);
            var k1ValueList = K1Value.FindAllByK1ValueId(k1Value.K1ValueId);

            selectTunnelSimple1.SetTunnel(K1Value.Tunnel);
            foreach (var k1 in k1ValueList)
            {
                dgrdvK1Value.Rows.Add(k1.ValueK1Dry, k1.ValueK1Wet, k1.Sg, k1.Sv, k1.Q, k1.BoreholeDeep, k1.Time);
            }
        }
Exemplo n.º 2
0
 private void RefreshData()
 {
     gcK1AndSValue.DataSource = K1Value.FindAll();
 }