コード例 #1
0
        private void update_button_Click(object sender, EventArgs e)
        {
            this.Hide();
            var CR = new CrudResource(true, int.Parse(dataGridView1.SelectedRows[0].Cells[0].Value.ToString()));

            CR.Closed += (s, args) => this.Close();
            CR.Show();
        }
コード例 #2
0
        private void add_button_Click(object sender, EventArgs e)
        {
            this.Hide();
            var CR = new CrudResource(false);

            CR.Closed += (s, args) => this.Close();
            CR.Show();
        }