コード例 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            frm_settings_fee_entry frm = new frm_settings_fee_entry();

            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ShowDialog();
            DisplayFeeSummary();
        }
コード例 #2
0
        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            int FeeID = Convert.ToInt16(dgBreakdown.Rows[SelectedFee].Cells[0].Value);
            Fee fee   = Fee.GetFee(FeeID);
            frm_settings_fee_entry frm = new frm_settings_fee_entry(fee);

            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.ShowDialog();
            DisplayFeeSummary();
        }