public Form_DURS_FilesPreview(Form_DURS_output form_DURS_output) { InitializeComponent(); // TODO: Complete member initialization this.form_DURS_output = form_DURS_output; try { lbl_file_GLAVA.Text = form_DURS_output.cmbR_FilePath.Text + form_DURS_output.filename_DURS_IZPIS_RACUNI_GLAVE_TXT; lbl_file_POSTAVKE.Text =form_DURS_output.cmbR_FilePath.Text + form_DURS_output.filename_DURS_IZPIS_RACUNI_POSTAVKE_TXT; txt_GLAVA.Text = File.ReadAllText(lbl_file_GLAVA.Text); txt_POSTAVKE.Text = File.ReadAllText(lbl_file_POSTAVKE.Text); } catch (Exception ex) { MessageBox.Show(this, lngRPM.s_Error.s + ":" + ex.Message); } }
private void DURS_output() { Form_DURS_output DURS_output_dlg = new Form_DURS_output(m_usrc_InvoiceTable); DURS_output_dlg.ShowDialog(); }
public DURS_Izpis_Postavka(Form_DURS_output frm) { frm_parent = frm; }