private void lblEvaluate_Click(object sender, EventArgs e)
        {
            ProjectEvaluation evaluation = ProjectEvaluation.GetInstance();

            evaluation.Show();
            this.Hide();
        }
Пример #2
0
 public static ProjectEvaluation GetInstance()
 {
     if (Instance == null)
     {
         ProjectEvaluation new_Instance = new ProjectEvaluation();
         return(new_Instance);
     }
     return(Instance);
 }
Пример #3
0
        private void btnEvaluation_Click(object sender, EventArgs e)
        {
            DatabaseConnection.createStatement("Select * from GroupProject where ProjectId = " + TempData.CurrentProject.Id.ToString());
            SqlDataReader reader2 = DatabaseConnection.getData();

            if (reader2.Read())
            {
                TempData.CurrentGroupId = int.Parse(reader2["GroupId"].ToString());
            }
            ProjectEvaluation evaluation = ProjectEvaluation.GetInstance();

            evaluation.Show();
            this.Hide();
        }