コード例 #1
0
 private void 修改数据ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         AddExpForm addExpForm = new AddExpForm(ExpListView.SelectedItems[0].Index, ExpListView.SelectedItems[0], this);
         addExpForm.ShowDialog();
     }
     catch { }
 }
コード例 #2
0
 public AddHeaderForm(AddExpForm parentForm, String fieldName, String fieldValue, Int32 modifyIndex)
 {
     InitializeComponent();
     this.parentForm  = parentForm;
     this.modifyIndex = modifyIndex;
     if (String.IsNullOrEmpty(fieldName) || String.IsNullOrEmpty(fieldValue))
     {
         return;
     }
     this.HeadNameTextBox.Text  = fieldName;
     this.HeadValueTextBox.Text = fieldValue;
 }
コード例 #3
0
        private void 添加数据ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddExpForm addExpForm = new AddExpForm(this);

            addExpForm.ShowDialog();
        }