TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mohamed Lotfi
NA
1
2.2k
I want to make form include 4 checkboxs and vote buttom and set rules with clicking on 4 checkboxs a...
Sep 23 2012 8:57 PM
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Raul_CheckedChanged(object sender, EventArgs e)
{
}
private void vote_Click(object sender, EventArgs e)
{
if (Robben.Checked&Pizzaro.Checked &Raul.Checked & Kroos.Checked)
{
MessageBox.Show("Accepted palyers");
}
else if (Robben.Checked && Pizzaro.Checked && Raul.Checked || Kroos.Checked)
{
MessageBox.Show(" Good 3 Players");
}
else if (Robben.Checked && Pizzaro.Checked ||Raul.Checked || Kroos.Checked)
{
MessageBox.Show("Very Good 2 Players");
}
else if (Robben.Checked || Pizzaro.Checked || Raul.Checked ||Kroos.Checked)
{
MessageBox.Show("Excellent Player");
}
else
{
MessageBox.Show("Failed");
}
}
}
}
Reply
Answers (
0
)
How to Create Custom ComboBox using Expression Blend
How to create menus in Expression Blend 4?