/// <summary>
 ///     添加(必须实装)
 /// </summary>
 /// <params name="sender"></params>
 /// <params name="e"></params>
 private void btnAdd_Click(object sender, EventArgs e)
 {
     var prospectingLineInfoEnteringForm = new ProspectingLineInfoEntering();
     if (DialogResult.OK == prospectingLineInfoEnteringForm.ShowDialog())
     {
         RefreshData();
     }
 }
Exemplo n.º 2
0
        /// <summary>
        ///     添加(必须实装)
        /// </summary>
        /// <params name="sender"></params>
        /// <params name="e"></params>
        private void btnAdd_Click(object sender, EventArgs e)
        {
            var prospectingLineInfoEnteringForm = new ProspectingLineInfoEntering();

            if (DialogResult.OK == prospectingLineInfoEnteringForm.ShowDialog())
            {
                RefreshData();
            }
        }
Exemplo n.º 3
0
        /// <summary>
        ///     修改(必须实装)
        /// </summary>
        /// <params name="sender"></params>
        /// <params name="e"></params>
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            var prospectingLineInfoEnteringForm =
                new ProspectingLineInfoEntering((ProspectingLine)gridView1.GetFocusedRow());

            if (DialogResult.OK == prospectingLineInfoEnteringForm.ShowDialog())
            {
                RefreshData();
            }
        }
 /// <summary>
 ///     修改(必须实装)
 /// </summary>
 /// <params name="sender"></params>
 /// <params name="e"></params>
 private void btnUpdate_Click(object sender, EventArgs e)
 {
     var prospectingLineInfoEnteringForm =
         new ProspectingLineInfoEntering((ProspectingLine)gridView1.GetFocusedRow());
     if (DialogResult.OK == prospectingLineInfoEnteringForm.ShowDialog())
     {
         RefreshData();
     }
 }