[Mono-list] Making a copy of a class instance

2005-01-25 Thread Sergio Duran
Hi everybody,

I want to make a copy of class instance, but I know classes are
asigned by reference, so doing

myClass class1=new Class();
myClass class2=class1;

is the same as working with pointers, and class2 becomes an alias of
class1, I want to make class2 an independent copy of class1, and be
able to change values in each one of the instance and not touching the
other instance.

I'm thinking about doing a myClass ctor with a myClass argument and
manually copy every variable of the source instance, to the new
instance, but I dont think that's the best aproach.

isnt there a myClass class2=duplicate class1?
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Zebra printers on mono

2004-12-01 Thread Sergio Duran
I'm working on a project that will involve printing some tickets with
bar codes, using some Z4M Zebra printers, I would like to know if any
of you have previously worked with those kind of printers, and if
there is a .net solution already implemented, if not.. I would like to
know a way to get the job done.

Thanks.
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Looking for a library

2004-11-17 Thread Sergio Duran
the chm is a compressed set of html files, I installed the chmlib in
gentoo, it unpacks the chm file and you can browse the .html files.

You can also check xchm.


On Tue, 16 Nov 2004 22:48:42 -0200, Joshua Brickel
[EMAIL PROTECTED] wrote:
  Dear Gainluca,
  
  Thanks, that seems to have done it (with a couple of soft links added so
 monodevelop could find the libraries).  
  
  Now I don't suppose anyone has an idea of how to read the help file that
 comes with this library (it is a windows help file).  I've tried a couple of
 viewers but they just don't seem to cut it.  
  
  Regards,
  
  Joshua
 
 
  
  Gianluca Stella wrote: 
  Dear Joshua, you can try downloading the compiled version; extract the
 content of the archive and install in the GAC (gacutil -i) the
 bin\net-1.1\release\MySql.Data.dll and the ICSharpCode.SharpZipLib.dll. It
 works for me. Gianluca Stella monoForge Staff http://www.monoforge.com
 --- ad Host
 your mono site on monoforge.com for free /ad - Original Message -
 From: Joshua Brickel [EMAIL PROTECTED] To:
 [EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 9:43 PM
 Subject: [Mono-list] Looking for a library 
  Hi, I've seen from a number of posts that people are using a library
 specifically designed for MySql with mono. Could somebody point me in the
 direction of where I can find this library? I have tried to compile the
 sources from the mysql.com website but apparently some of the required
 attributes have not yet been implimented in mono (problem was in
 System.Drawing). For completenes sake, I am using a Debian system with mono
 at 1.0.4. Regards, Joshua
 II
 II AquaNet promises to take care and help its' customers stay safe II This
 Mail was Scanned By AquaNet's Anti-Virus Server And was Found OK! II
 http://www.aquanet.co.il
 II
 ___ Mono-list maillist -
 [EMAIL PROTECTED]
 http://lists.ximian.com/mailman/listinfo/mono-list
 II
 II AquaNet promises to take care and help its' customers stay safe II This
 Mail was Scanned By AquaNet's Anti-Virus Server And was Found OK! II
 http://www.aquanet.co.il
 II 

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list