private void Frm_Btn_CSV_Out_Loc_Browse_Click(object sender, EventArgs e) { csv_loc_fh.Open_Folder_Dialog(); //Do some checks to ensure everything went well here //Set the text for the CSV output path to local var csv_loc_fldr_path_str = csv_loc_fh.Get_Folder_Name(); //Set the textbox value for the CSV output path Frm_TxtBx_CSV_Out_Path.Text = csv_loc_fldr_path_str; //Lets set the default path for next load by using the User settings attribute Properties.Settings.Default.default_csv_out_path = csv_loc_fldr_path_str; //Save the changes to the properties **** Move this to the SFL->CSV Properties.Settings.Default.Save(); }
private void Frm_Btn_SFL_Loc_Browse_Click(object sender, EventArgs e) { //Open the folder browser window for SFL location sfl_loc_fh.Open_Folder_Dialog(); //Do some checks to ensure everything went well here //Set the text for the SFL path to local var sfl_loc_fldr_path_str = sfl_loc_fh.Get_Folder_Name(); //Set the textbox value for the selected path Frm_TxtBx_SFL_Path.Text = sfl_loc_fldr_path_str; //Lets set the default path for next load by using the User settings attribute Properties.Settings.Default.default_sfl_path = sfl_loc_fldr_path_str; //Save the changes to the properties **** Move this to the SFL->CSV Properties.Settings.Default.Save(); }