public bool OpenAnalysisFile(string file_name) { string analysis_file = file_name; if (File.Exists(analysis_file)) { btn_view_structure.Enabled = true; Input_File = (file_name); string rep_file = Path.Combine(user_path, "ANALYSIS_REP.TXT"); //if (File.Exists(rep_file)) //{ // Truss_Analysis = new SteelTrussMemberAnalysis(rep_file); //} //else this.Refresh(); iApp.ShowPleaseWait("Reading Result please wait....."); Truss_Analysis = new BridgeMemberAnalysis(iApp, analysis_file); txt_length.Text = Truss_Analysis.Analysis.Length.ToString(); txt_X.Text = "-" + txt_length.Text; txt_width.Text = Truss_Analysis.Analysis.Width.ToString(); txt_gd_np.Text = (Truss_Analysis.Analysis.NoOfPanels - 1).ToString("0"); txt_analysis_file.Visible = true; txt_analysis_file.Text = analysis_file; //if (File.Exists(kFile)) //{ // //Read_DL_SIDL(); // //Read_Live_Load(); //} iApp.ClosePleaseWait(); this.Refresh(); MessageBox.Show(this, "File opened successfully."); } string ll_txt = Path.Combine(user_path, "LL.txt"); Live_Load_List = LoadData.GetLiveLoads(ll_txt); if (Live_Load_List == null) { return(true); } cmb_load_type.Items.Clear(); return(true); }