예제 #1
0
        private void pb_dgHelpStart_Click(object sender, EventArgs e)
        {
            switch (this.start)
            {
            case false:
                lb_dgHelpStart.Location = new Point(pb_dgHelpStart.Location.X, (pb_dgHelpStart.Location.Y + 16));
                lb_dgHelpStart.Visible  = true;
                advies = new Advies("dgHelpStart");
                lb_dgHelpStart.Text = advies.GetAdvies();
                this.start          = true;
                break;

            case true:
                lb_dgHelpStart.Visible = false;
                this.start             = false;
                break;

            default:
                MessageBox.Show("Er is iets foutgegaan met het advies.");
                break;
            }
        }
예제 #2
0
        private void pb_smHelpIngelogd_Click(object sender, EventArgs e)
        {
            switch (this.ingelogd)
            {
            case false:
                lb_smHelpIngelogd.Location = new Point(pb_smHelpIngelogd.Location.X, (pb_smHelpIngelogd.Location.Y + 16));
                lb_smHelpIngelogd.Visible  = true;
                advies = new Advies("smHelpIngelogd");
                lb_smHelpIngelogd.Text = advies.GetAdvies();
                this.ingelogd          = true;
                break;

            case true:
                lb_smHelpIngelogd.Visible = false;
                this.ingelogd             = false;
                break;

            default:
                MessageBox.Show("Er is iets foutgegaan met het advies.");
                break;
            }
        }