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.
1
Expert's answer
2015-01-26T11:58:47-0500
//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!"); } }
Comments
Leave a comment