private void button1_Click(object sender, EventArgs e) { Click2Mail.SetupStationaryFields.addressitem ai = new Click2Mail.SetupStationaryFields.addressitem(); ai.Address1 = TB_A1.Text; ai.Address2 = TB_A2.Text; ai.nAddress3 = TB_A3.Text; ai.city = TB_CITY.Text; ai.state = TB_IL.Text; ai.zip5 = TB_ZIP.Text; Click2Mail.SetupStationaryFields c2mmail = new Click2Mail.SetupStationaryFields(new System.IO.FileInfo(TB_Template.Text).DirectoryName); c2mmail._hideform = true; c2mmail.WindowState = FormWindowState.Minimized; c2mmail.verifysingledocument(ai, TB_PDF.Text, new System.IO.FileInfo(TB_Template.Text).Name, true); c2mmail.ShowDialog(); if (c2mmail.merror != "") { MessageBox.Show(c2mmail.merror); } //c2mmail.RichTextBox1.Text RECEIVED XML From Click2Mail //c2mmail.mode LIVE OR TEST MODE //c2mmail.sentXML The exact XML sent to Click2Mail (WARNING UNENCRYPTED PW Will be on this) c2mmail.Dispose(); }
private void button1_Click(object sender, EventArgs e) { Click2Mail.SetupStationaryFields.addressitem ai = new Click2Mail.SetupStationaryFields.addressitem(); ai.Address1 = TB_A1.Text ; ai.Address2 = TB_A2.Text ; ai.nAddress3 = TB_A3.Text ; ai.city = TB_CITY.Text; ai.state = TB_IL.Text ; ai.zip5 = TB_ZIP.Text; Click2Mail.SetupStationaryFields c2mmail = new Click2Mail.SetupStationaryFields(new System.IO.FileInfo(TB_Template.Text ).DirectoryName); c2mmail._hideform = true ; c2mmail.WindowState = FormWindowState.Minimized; c2mmail.verifysingledocument(ai, TB_PDF.Text, new System.IO.FileInfo(TB_Template.Text ).Name , true); c2mmail.ShowDialog(); if(c2mmail.merror != "" ) { MessageBox.Show(c2mmail.merror); } //c2mmail.RichTextBox1.Text RECEIVED XML From Click2Mail //c2mmail.mode LIVE OR TEST MODE //c2mmail.sentXML The exact XML sent to Click2Mail (WARNING UNENCRYPTED PW Will be on this) c2mmail.Dispose(); }
private void button4_Click(object sender, EventArgs e) { Click2Mail.SetupStationaryFields c2mmail = new Click2Mail.SetupStationaryFields(new System.IO.FileInfo(TB_Template.Text).DirectoryName); c2mmail._hideform = true; c2mmail.WindowState = FormWindowState.Normal; c2mmail.templatemulti(TB_PDF.Text, new System.IO.FileInfo(TB_Template.Text).Name, true); c2mmail.ShowDialog(); if (c2mmail.merror != "") { MessageBox.Show(c2mmail.merror); } //c2mmail.RichTextBox1.Text RECEIVED XML From Click2Mail //c2mmail.mode LIVE OR TEST MODE //c2mmail.sentXML The exact XML sent to Click2Mail (WARNING UNENCRYPTED PW Will be on this) c2mmail.Dispose(); }
private void button4_Click(object sender, EventArgs e) { Click2Mail.SetupStationaryFields c2mmail = new Click2Mail.SetupStationaryFields(new System.IO.FileInfo(TB_Template.Text ).DirectoryName); c2mmail._hideform = true ; c2mmail.WindowState = FormWindowState.Normal; c2mmail.templatemulti( TB_PDF.Text, new System.IO.FileInfo(TB_Template.Text ).Name , true); c2mmail.ShowDialog(); if(c2mmail.merror != "" ) { MessageBox.Show(c2mmail.merror); } //c2mmail.RichTextBox1.Text RECEIVED XML From Click2Mail //c2mmail.mode LIVE OR TEST MODE //c2mmail.sentXML The exact XML sent to Click2Mail (WARNING UNENCRYPTED PW Will be on this) c2mmail.Dispose(); }