Example #1
0
        private void bunifuFlatButton2_Click(object sender, EventArgs e)
        {
            addProgramForm f = new addProgramForm();

            f.id          = mytable.SelectedCells[0].Value.ToString();
            f.category    = mytable.SelectedCells[1].Value.ToString();
            f.name        = mytable.SelectedCells[2].Value.ToString();
            f.description = mytable.SelectedCells[3].Value.ToString();
            byte[] bite = (byte[])mytable.SelectedCells[4].Value;
            f.img = fc.byteToImage(bite);
            f.Show();
        }
Example #2
0
        private void bunifuFlatButton1_Click(object sender, EventArgs e)
        {
            addProgramForm f = new addProgramForm();

            f.Show();
        }