16,006,531 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by zahra1991 (Top 23 by date)
zahra1991
22-Jan-12 10:40am
View
hey thanx alot . i need some help from u . if i give u my code then would help me in putting the scores ?
zahra1991
2-Jan-12 4:37am
View
oh ok thanx alot , i am creating thread for the time time .. i really dont have any idea regarding threads . kindly can u guide me about Win32 API threading functions ?
zahra1991
21-Dec-11 13:18pm
View
yeah u are right have made some changes but the black eye balls are not moving plz have alook what should i do ?
zahra1991
21-Dec-11 13:13pm
View
have tried this so far but the black eye balls are not moving :( what should i do ?
zahra1991
21-Dec-11 13:13pm
View
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication5
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Paint(object sender, PaintEventArgs e)
{
e.Graphics.DrawEllipse(Pens.Red, 50, 50, 100, 100);
}
private void Form1_Paint_1(object sender, PaintEventArgs e)
{
e.Graphics.FillEllipse(new SolidBrush(Color.White), 200, 100, 100, 100);
e.Graphics.FillEllipse(new SolidBrush(Color.Black), 210, 110, 30, 30);
}
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
}
private void Form1_Load(object sender, EventArgs e)
{
}
private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
{
int mouseX = e.X;
int mouseY = e.Y;
}
zahra1991
21-Dec-11 12:58pm
View
Thanx alot yeah i confess that am not very good in programming but i really to be a gud programmer , but tell what would you do if your teacher asks you to make a program , such program about which you dont have any idea .. infact you dont know the logics about that ?
zahra1991
21-Dec-11 10:46am
View
kindly tell me how to do it plz
zahra1991
21-Dec-11 10:19am
View
Deleted
[excessive code dump removed from this comment to improve readability of the whole page -- SA]
zahra1991
18-Dec-11 8:35am
View
but you wrote console.writeline .. i actually wnt to compare the text what i have entered in the textbox with listbox items.. when i click on button if the data matches it should proceed to next form
zahra1991
18-Dec-11 8:25am
View
private void button1_Click(object sender, EventArgs e)
{
if (listBox1.FindStringExact(this.textBox1.Text,0) == 0)
{MessageBox.Show("Found");
Form2 f = new Form2();
f.Show();
}
else
MessageBox.Show("Not Found");
}
have tried this , but its not working
zahra1991
18-Dec-11 8:24am
View
private void button1_Click(object sender, EventArgs e)
{
if (listBox1.FindStringExact(this.textBox1.Text,0) == 0)
{MessageBox.Show("Found");
Form2 f = new Form2();
f.Show();
}
else
MessageBox.Show("Not Found");
}
have tried this but its not working
zahra1991
12-Nov-11 3:57am
View
but how?? what is the syntax for that?
zahra1991
12-Nov-11 3:49am
View
but i dont know its syntax , as i am a beginner in C#. would you please help me out ?
zahra1991
7-Nov-11 14:59pm
View
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
string s;
s=comboBox1.SelectedItem;
switch(s)
{
case "1":
Form2 f=new Form2();
f.Show();
break;
case"2":
Form3 a=new Form3();
a.Show();
break;
}
}
}
}
it is giving me some error :(
zahra1991
7-Nov-11 14:58pm
View
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
{
string s;
s=comboBox1.SelectedItem;
switch(s)
{
case "1":
Form2 f=new Form2();
f.Show();
break;
case"2":
Form3 a=new Form3();
a.Show();
break;
}
}
}
}
zahra1991
7-Nov-11 14:20pm
View
for combo box i should write combobox.text ?
zahra1991
7-Nov-11 14:05pm
View
thankyou so much , now its working , u know i spent more than 3 hours while fixing it , but i cant use default statement why ? and how to use combo box ? what is its purpose ?
zahra1991
7-Nov-11 13:54pm
View
it is wrong dats y it is giving errors
zahra1991
7-Nov-11 13:48pm
View
but see i want that i am offering different packages , and its upto the user that which package he want to choose , i have to apply the switch statement . how would i apply ?
zahra1991
7-Nov-11 13:44pm
View
i actually want that whatever user enters in the textbox and when click on the enter buttn , i must open the next forms , let suppose if the user enters "1" it must open the form 2, similarly if he enters "2" it should open form 3
zahra1991
7-Nov-11 13:38pm
View
i actually want that whatever user enters in the textbox and when click on the enter buttn , i must open the next forms , let suppose if the user enters "1" it must open the form 2, similarly if he enters "2" it should open form 3
zahra1991
7-Nov-11 13:34pm
View
i am looking for the correct syntax , this code is giving some errors . kindly correct it. i have tried alot
zahra1991
24-Oct-11 10:19am
View
i mean to say a telephone directory ... if we want search by name , adreess, or by phone number
Show More