示例#1
0
        private void ViewButton_Click(object sender, EventArgs e)
        {
            View_Result vrFobj = new View_Result(teacher, tbname, id, classes, year);

            t.Start();
            while (t.IsAlive)
            {
                this.Hide();
                vrFobj.ShowDialog();
            }
            t.Abort();
            this.Close();
        }
示例#2
0
        private void MarksheetButton_Click(object sender, EventArgs e)
        {
            View_Result vrFobj = new View_Result(teacher, "final", selectedID, "Graduated", year.ToString());

            t.Start();
            while (t.IsAlive)
            {
                this.Hide();
                vrFobj.ShowDialog();
            }
            t.Abort();
            this.Close();
        }