Пример #1
0
        private void btnGo_Click(object sender, EventArgs e)
        {
            ApplicationForm applicationsForm = new ApplicationForm(dbConnection, Int32.Parse(tagsList.SelectedItems[0].SubItems[0].Text), securityStatus, memberId, Int32.Parse(tagsList.SelectedItems[0].SubItems[1].Text));

            applicationsForm.Show();
            otherWindowOpen = true;
            this.Close();
        }
        private void btnBack_Click(object sender, EventArgs e)
        {
            ApplicationForm form = new ApplicationForm(dbConnection, jobId, securityStatus, memberId);

            form.Show();
            otherWindowOpen = true;
            this.Close();
        }
 private void btnView_OnClick(object sender, EventArgs e)
 {
     try
     {
         int             jobId = Int32.Parse(jobList.SelectedItems[0].Text);
         ApplicationForm addApplicationForm = new ApplicationForm(dbConnection, jobId, securityStatus, memberId);
         addApplicationForm.Show();
         otherWindowOpen = true;
         this.Close();
     }
     catch (Exception ex)
     { Console.WriteLine("Job not selected..."); }
 }