コード例 #1
0
        private void ShowData_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            AddPatientsPanel.Visible = false;

            if (e.RowIndex >= 0)
            {
                DataGridViewRow  row = this.ShowData.Rows[e.RowIndex];
                string           t   = row.Cells[0].Value.ToString();
                string           r   = row.Cells[3].Value.ToString();
                AppointMentEntry pe  = new AppointMentEntry(t, r);
                pe.Location = new Point(720, 0);
                pe.ShowDialog();
            }
        }
コード例 #2
0
        private void AgeTextBox_KeyPress(object sender, KeyPressEventArgs e)
        {
            AppointMentEntry d = new AppointMentEntry();

            d.NumbericMethod(sender, e);
        }