Exemple #1
0
 private void NewFinance_Click(object sender, EventArgs e)
 {
     EditFinDetail f = new EditFinDetail();
     f.StartPosition = FormStartPosition.CenterParent;
     f.ShowDialog(this);
 }
Exemple #2
0
 private void FinDetailDataView_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     int id = Convert.ToInt32(this.FinDetailDataView.Rows[e.RowIndex].Cells[0].Value);
     if (id == 0) return;
     EditFinDetail f = new EditFinDetail();
     f.UpdateDetail = finOrderManager.GetFinDetail(id);
     f.ShowDialog(this);
 }