예제 #1
0
        private void btn_NewDSA_Click(object sender, EventArgs e)
        {
            frm_DsaAdd newDsa = new frm_DsaAdd();

            newDsa.FormClosing += new FormClosingEventHandler(this.RefreshView);
            newDsa.Show();
        }
예제 #2
0
        private void dgv_Dsas_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int r = e.RowIndex;

            if (r > -1)
            {
                try
                {
                    int        docID   = (int)dgv_Dsas.Rows[r].Cells["DocumentID"].Value;
                    frm_DsaAdd editDsa = new frm_DsaAdd(docID);
                    editDsa.Show();
                }
                catch (Exception ex)
                {
                    MessageBox.Show("Please double click on a data row to open DSA record." + Environment.NewLine + ex);
                }
            }
        }
예제 #3
0
 public frm_DsaProjectAdd(Form parentForm)
 {
     dsaFrm = parentForm as frm_DsaAdd;
     InitializeComponent();
     FillProjectTable();
 }
예제 #4
0
 public frm_DsaAmendmentAdd(Form parentForm)
 {
     dsaFrm = parentForm as frm_DsaAdd;
     InitializeComponent();
     FillAmendmentTable();
 }