Example #1
0
        private void BtnRep_Click(object sender, RoutedEventArgs e)
        {
            var btn     = (Button)sender;
            var strType = btn.Content;
            var tid     = 0;

            switch (strType)
            {
            case "Good": tid = 2;
                break;

            case "Bad": tid = 3;
                break;

            case "Ugly": tid = 4;
                break;

            default: tid = 1;
                break;
            }
            var frm = new ReleaseReports(TheRelease);

            frm.TheStatus = ste.Status.Where(a => a.Id == tid).Single();
            frm.Show();
        }
Example #2
0
        private void Label_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            var frm = new ReleaseReports(TheRelease);

            // frm.TheStatus = ste.Status.Where(a => a.Release_ID == TheRelease.Id && a.Status_ID == TheStatus.Id)
            frm.Show();
        }
Example #3
0
        private void BtnReports_Click(object sender, RoutedEventArgs e)
        {
            Release latestRelease = GetLatestRelease();
            var     reports       = new ReleaseReports(latestRelease);

            reports.Show();
        }
Example #4
0
        private void DgReports_Selected(object sender, RoutedEventArgs e)
        {
            var frm = new ReleaseReports(TheRelease);

            frm.Show();
        }
Example #5
0
        private void BtnReleaseReports_Click(object sender, RoutedEventArgs e)
        {
            var frm = new ReleaseReports(TheRelease);

            frm.Show();
        }