コード例 #1
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();
     }
 }
コード例 #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();
            }
        }
コード例 #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();
            }
        }
コード例 #4
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();
     }
 }