[Mono-list] nunit

2014-07-25 Thread andreas graeper
i would like to use nunit from console. compiling sources with mcs and
starting the test with nunit-console.
but nunit.xxx.dll are in /lib/usr/monodevelop/AddIns/ only ? and i could
not find out how to compile the sources using nunit.framwork.

thanks in adance
andreas
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] PreviewKeyDownEvent

2014-07-17 Thread andreas graeper
hi,
i tried to reject non-digit characters in a textbox and found in msdn the
hint that i can
set
 event.IsInputKey = false
inside PreviewKeyDownEventHandler, so the KeyDownEvent is not raised. but
still it is.

maybe i dont actually understand ?!

thanks in advance
andreas
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] arraylist.sort unstable ?

2014-05-13 Thread andreas graeper
i am learning collections / generics ..
and found an example defining a class Cmp that implements IComparer using
CaseInsensitiveComparer

ArrayList l = new ArrayList();
l.Add(a);
l.Add(A);

l.Sort(new Cmp()); lprint(l);
l.Sort(new CaseInsensitiveComparer()); lprint(l);

each time i sort with either of that comparers the order of a,A is
changed,
though the Compare(a,A) returns 0.

is this an error ?
using the same comparer class twice should return the same order ?!

thanks in advance
andreas
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] first attempt using mysql-connector

2013-11-28 Thread andreas graeper
hi, i am on lubuntu, packages for using mysql are installed and
gacutil -l | grep -i mysql
shows MySql.Data, Version ...
but when i try to compile
 mcs .. -r:MySql.Data[.dll]
i get error cs0006 metadata for mysql.data.dll could not be found

now i use full path
 -r:/usr/lib/cli/Mysql.Data-6.4/Mysql.Data
and it works.
what i have to do, to get the short form: -r:MySql.Data working ?

thanks in advance
andreas
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list