private void button2_Click(object sender, EventArgs e)
        {
            Detail_form print_screen = new Detail_form();

            print_screen.fetch_rec(file_path);
            print_screen.get_dataline_semster(textBox3.Text);
            print_screen.Show();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            Detail_form update_delete_file = new Detail_form();

            update_delete_file.fetch_rec(file_path);
            update_delete_file.get_dataline_delete(textBox1.Text);

            MessageBox.Show("Record Deleted Sucessfully");
            this.Dispose();
        }
Example #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            decimal[]   positions      = new decimal[3];
            Detail_form get_positionss = new Detail_form();

            get_positionss.fetch_rec(file_path);
            positions     = get_positionss.get_positions();
            textBox1.Text = Convert.ToString(positions[0]);
            textBox2.Text = Convert.ToString(positions[1]);
            textBox3.Text = Convert.ToString(positions[2]);
        }