コード例 #1
0
        private void ViewPaymentsButton_Click(object sender, EventArgs e)
        {
            int             index;
            PaymentForEvent pf = new PaymentForEvent();

            pf.Show();
            index = tableBindingSource.Find("PaymentId", paymentIdComboBox.Text);
            tableBindingSource.Position = index;
        }
コード例 #2
0
        private void UpdatePaymentsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PaymentForEvent pf = new PaymentForEvent();

            if (sender.ToString() == "Payment Details...")
            {
            }

            pf.MdiParent = this;
            pf.Show();
        }