コード例 #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
ファイル: frm_DsaProjectAdd.cs プロジェクト: sntck/DAT_CMS
 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();
 }