65 691
Assignments Done
99,2%
Successfully Done
In October 2018

Answer to Question #50520 in C# for ChinuC

Question #50520
When the application executes for the first time, it should perform the following tasks:
Display a message to the user to specify the path of the file in which the customer details are to
be stored.
Expert's answer
//Double-clickon the Load Event in Designer to create this method
        private void Form1_Load(object sender, EventArgs e)
        {
            MessageBox.Show("Specify thepath of the file in which the customer details are to be stored");
            OpenFileDialog open = new OpenFileDialog();
            if (open.ShowDialog() == DialogResult.OK)
            {
                string Path = open.FileName;
            }
            else
            {
                MessageBox.Show("You have not specified the path of the file!");
            }
        }

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions