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
Feroz Khan
1.1k
300
92.3k
How can Stop if Form Already Open..
Jan 3 2016 7:50 AM
Dear,
How can stop if form already open.
For Example i showed my form in panel but when i click its opening again and again so how can i stop this.. when i click one time should be open if i click second time should be not open again..
below my code..
private void Store_information_button_Click(object sender, EventArgs e)
{
try
{
StoresInformation storeinformation = new StoresInformation();
storeinformation.TopLevel = false;
Showing_Data_panel1.Controls.Add(storeinformation);
storeinformation.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
storeinformation.Dock = DockStyle.Fill;
storeinformation.Show();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
Reply
Answers (
5
)
c# constructor issues
c# code for when upload file to send secret key into mails