public Form_XML_FilesPreview(Form_XML_output form_XML_output) { InitializeComponent(); // TODO: Complete member initialization this.m_form_XML_output = form_XML_output; try { lbl_file_GLAVA.Text = form_XML_output.cmbR_FilePath.Text + form_XML_output.filename_XML_IZPIS_RACUNI_GLAVE_TXT; lbl_file_POSTAVKE.Text =form_XML_output.cmbR_FilePath.Text + form_XML_output.filename_XML_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 btn_XML_export_Click(object sender, EventArgs e) { Form_XML_output XML_output_dlg = new Form_XML_output(m_usrc_InvoiceTable); XML_output_dlg.ShowDialog(); }
public XML_Izpis_Postavka(Form_XML_output frm) { frm_parent = frm; }