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
Daniel Ivicic
NA
10
0
C# form_load read ini, if and then? load something
May 24 2010 10:49 AM
Hello again
i made alternate way to read and write..but im stucked, plz help
this is how is reading done:
public void Form3_Closing(object sender, System.ComponentModel.CancelEventArgs e)
{
IniFile ini = new IniFile(".\\language.ini");
ini.IniWriteValue("Language", "Lang", name.Text);
public void Form3_Load(object sender, System.EventArgs e)
{
IniFile ini = new IniFile(".\\language.ini");
name.Text = ini.IniReadValue("Language", "Lang");
}
how to make it load like something like this?
if name.Text = ("enu")
to load this:
private void flagENG_Click(object sender, EventArgs e)
{
name.Text = ("enu");
flagENG.Visible = false;
this.BackgroundImage = Properties.Resources.status_box_engON;
}
or like
if name.Text = ("enu")
flagENG.Visible = false;
this.BackgroundImage = Properties.Resources.status_box_engON;
if name.Text = ("deu")
flagDEU.Visible = false;
this.BackgroundImage = Properties.Resources.status_box_deuON;
i dont know how to write this code exacly, help please.
Reply
Answers (
1
)
How to add vertical lines in a processed image???
How Do I: Loop thru a list and load the textBox?