コード例 #1
0
        private void dgvFunds_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int           index         = dgvFunds.CurrentRow.Index;
            Guid          searchFundId  = new Guid(dgvFunds.Rows[index].Cells["SearchFundId"].Value.ToString());
            SearchFund    searchFund    = new SearchFund(searchFundId);
            frmSearchFund frmSearchFund = new frmSearchFund(frmMain_Parent, searchFund);

            frmSearchFund.FormClosed += frmSearchFund_FormClosed;
        }
コード例 #2
0
        private void btnNewFund_Click(object sender, EventArgs e)
        {
            frmSearchFund frmSearchFund = new frmSearchFund(frmMain_Parent, CurrentSearch);

            frmSearchFund.FormClosed += frmSearchFund_FormClosed;
        }