예제 #1
0
 protected virtual void OnReceivePrintMessage(ZipDLLPrintMessageEventArgs e)
 {
     if (ReceivePrintMessage != null)
     {
         ReceivePrintMessage(this, e);
     }
 }
예제 #2
0
        //The zip32.dll passes activity messages to the declared byte array.  Decode
        //the byte array to see the message
        protected int ZDLLPrint(ref ZipCBChar msg, uint x)
        {
            string s = string.Empty;

            if (msg.ch[0] == 0)
            {
                return(0);
            }
            s = m_Ascii.GetString(msg.ch, 0, (int)x);

            //Raise this event
            ZipDLLPrintMessageEventArgs e = new ZipDLLPrintMessageEventArgs(s);

            OnReceivePrintMessage(e);

            return(0);
        }
예제 #3
0
 private void zipObj_ReceivePrintMessage(object sender, ZipDLLPrintMessageEventArgs e)
 {
     textBox1.Text = e.PrintMessage + "\r\n";
     Application.DoEvents();
 }
예제 #4
0
        //The zip32.dll passes activity messages to the declared byte array.  Decode
        //the byte array to see the message
        protected int ZDLLPrint(ref ZipCBChar msg, uint x)
        {
            string s = string.Empty;

            if (msg.ch[0] == 0) return 0;
            s = m_Ascii.GetString(msg.ch,0, (int)x);

            //Raise this event
            ZipDLLPrintMessageEventArgs e = new ZipDLLPrintMessageEventArgs(s);
            OnReceivePrintMessage(e);

            return 0;
        }
예제 #5
0
 protected virtual void OnReceivePrintMessage(ZipDLLPrintMessageEventArgs e)
 {
     if (ReceivePrintMessage != null)
     {
         ReceivePrintMessage(this, e);
     }
 }
예제 #6
0
파일: Form1.cs 프로젝트: wromerogithub/libs
 private void zipObj_ReceivePrintMessage(object sender, ZipDLLPrintMessageEventArgs e)
 {
     textBox1.Text = e.PrintMessage + "\r\n";
     Application.DoEvents();
 }