コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }