Example #1
0
 protected virtual void OnReceivePrintMessage(UnZipDLLPrintMessageEventArgs e)
 {
     if (ReceivePrintMessage != null)
     {
         ReceivePrintMessage(this, e);
     }
 }
Example #2
0
        protected int UZDLLPrint([MarshalAs(UnmanagedType.LPStr)] String msg, uint x)
        {
            UnZipDLLPrintMessageEventArgs e =
                new UnZipDLLPrintMessageEventArgs(msg.Substring(0, Math.Min(unchecked ((int)x),
                                                                            msg.Length)));

            OnReceivePrintMessage(e);

            return(0);
        }
Example #3
0
		private void unZip_ReceivePrintMessage(object sender, UnZipDLLPrintMessageEventArgs e)
		{
			textBox1.Text += e.PrintMessage.Replace("\n", Environment.NewLine);
			Application.DoEvents();
		}
Example #4
0
 private void unZip_ReceivePrintMessage(object sender, UnZipDLLPrintMessageEventArgs e)
 {
     textBox1.Text += e.PrintMessage.Replace("\n", Environment.NewLine);
     Application.DoEvents();
 }
Example #5
0
    protected int UZDLLPrint([MarshalAs(UnmanagedType.LPStr)]String msg, uint x)
    {
      UnZipDLLPrintMessageEventArgs e =
          new UnZipDLLPrintMessageEventArgs(msg.Substring(0, Math.Min(unchecked((int)x),
                                                                      msg.Length)));
      OnReceivePrintMessage(e);

      return 0;
    }
Example #6
0
 protected virtual void OnReceivePrintMessage (UnZipDLLPrintMessageEventArgs e)
 {
   if (ReceivePrintMessage != null)
   {
     ReceivePrintMessage(this, e);
   }
 }