[MonoDevelop] Monodevelop-list Digest, Vol 64, Issue 36

Balázsi Györgyné rambo.1914 at hotmail.com
Mon Aug 30 15:12:29 EDT 2010


Ha majd emberi nyelven irjatok le mi a bajotok,akkor majd jol csinalom amit akartok,vagy ha kegyeskedtek a forditom engedni,hogy hasznaljam,mivel szerint azert van az alkalmazasokban!

> From: monodevelop-list-request at lists.ximian.com
> Subject: Monodevelop-list Digest, Vol 64, Issue 36
> To: monodevelop-list at lists.ximian.com
> Date: Mon, 30 Aug 2010 10:42:58 -0400
> 
> Send Monodevelop-list mailing list submissions to
> 	monodevelop-list at lists.ximian.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.ximian.com/mailman/listinfo/monodevelop-list
> or, via email, send a message with subject or body 'help' to
> 	monodevelop-list-request at lists.ximian.com
> 
> You can reach the person managing the list at
> 	monodevelop-list-owner at lists.ximian.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Monodevelop-list digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Hex editor as a widget for my application? (Mike Kr?ger)
>    2. Mono/Monodevelop Bundle (anidotnet)
>    3. Re: Hex editor as a widget for my application? (Rampage)
>    4. Re: Hex editor as a widget for my application? (Mike Kr?ger)
>    5. Re: 2 widgets in the same container using form designer?
>       (Adam Tauno Williams)
>    6. Re: variables that don't exist in current context (Devin Venable)
>    7. Re: Hex editor as a widget for my application? (Rampage)
>    8. Re: Hex editor as a widget for my application? (Rampage)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 30 Aug 2010 13:02:46 +0200
> From: Mike Kr?ger <mkrueger at novell.com>
> Subject: Re: [MonoDevelop] Hex editor as a widget for my application?
> To: monodevelop-list at lists.ximian.com
> Message-ID: <4C7B8FD6.9010106 at novell.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
>   Hi
> 
> It should be very simple to extract - it isn't based on any other mono 
> develop stuff.
> 
> Grab the MonoDevelop.HexEditor project remove the MonoDevelop.HexEditor 
> folder (that contains the monodevelop binding that you don't need).
> 
> The control is in Mono.MHex.HexEditor - it is usable like any other gtk 
> control.
> 
> btw. any feedback on that is appreciated (I want to use cairo for the 
> drawing - it's still an old style gtk control).
> 
> Regards
> Mike
> > Hello everyone, i was wondering, is it possible to use the hex editor
> > available in monodevelop as a component for my application? like a widget?
> > it's really cool and really fits my needs, it would be really cool if i
> > could use it as a widget for a simple app i'm writing.
> > if it's possible, can anyone ventually drive me into the right direction
> > on how to do so?
> >
> > thanks in advice.
> > Francesco
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 30 Aug 2010 04:17:39 -0700 (PDT)
> From: anidotnet <anidotnet at gmail.com>
> Subject: [MonoDevelop] Mono/Monodevelop Bundle
> To: monodevelop-list at lists.ximian.com
> Message-ID: <1283167059714-2399932.post at n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> This topic is regarding to the following topic
> 
> http://mono.1490590.n4.nabble.com/Portable-Monodevelop-Mono-Distribution-tp2333717.html
> 
> After a small experimentation I successfully created a portable
> Mono/Monodevelop bundle (like JDK included eclipse). Using it you can play
> with Monodevelop without the installation of .net framework at all.
> 
> Now I am asking the community that can I publish my small effort here, so
> that it might be helpful for someone else?
> -- 
> View this message in context: http://mono.1490590.n4.nabble.com/Mono-Monodevelop-Bundle-tp2399932p2399932.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 30 Aug 2010 13:34:56 +0200
> From: Rampage <atomikramp at email.it>
> Subject: Re: [MonoDevelop] Hex editor as a widget for my application?
> To: monodevelop-list at lists.ximian.com
> Message-ID: <4C7B9760.9080307 at email.it>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi,
> i've downloaded the sources from the GIT repo, and removed the 
> monodevelop.hexeditor folder,
> can you explain me a bit in details how to import it as part of my 
> existing project? do i have to compile it somehow? as i see it's a 
> complete solution.
> 
> Sorry if the question is so n00b, but that's what i am :)
> 
> Best regards
> Francesco
> 
> Mike Kr?ger ha scritto:
> >   Hi
> >
> > It should be very simple to extract - it isn't based on any other mono 
> > develop stuff.
> >
> > Grab the MonoDevelop.HexEditor project remove the MonoDevelop.HexEditor 
> > folder (that contains the monodevelop binding that you don't need).
> >
> > The control is in Mono.MHex.HexEditor - it is usable like any other gtk 
> > control.
> >
> > btw. any feedback on that is appreciated (I want to use cairo for the 
> > drawing - it's still an old style gtk control).
> >
> > Regards
> > Mike
> >   
> >> Hello everyone, i was wondering, is it possible to use the hex editor
> >> available in monodevelop as a component for my application? like a widget?
> >> it's really cool and really fits my needs, it would be really cool if i
> >> could use it as a widget for a simple app i'm writing.
> >> if it's possible, can anyone ventually drive me into the right direction
> >> on how to do so?
> >>
> >> thanks in advice.
> >> Francesco
> >> _______________________________________________
> >> Monodevelop-list mailing list
> >> Monodevelop-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >>     
> >
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >   
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 30 Aug 2010 13:40:53 +0200
> From: Mike Kr?ger <mkrueger at novell.com>
> Subject: Re: [MonoDevelop] Hex editor as a widget for my application?
> To: monodevelop-list at lists.ximian.com
> Message-ID: <4C7B98C5.7040705 at novell.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
>   Hi
> 
> You can do what you want - you can import it is part of your existing 
> project or just use it as an external project.
> (maybe it's the easiest thing to do just copy the 3 folders to your project)
> 
> Regards
> Mike
> 
> > i've downloaded the sources from the GIT repo, and removed the
> > monodevelop.hexeditor folder,
> > can you explain me a bit in details how to import it as part of my
> > existing project? do i have to compile it somehow? as i see it's a
> > complete solution.
> >
> > Sorry if the question is so n00b, but that's what i am :)
> >
> > Best regards
> > Francesco
> >
> > Mike Kr?ger ha scritto:
> >>    Hi
> >>
> >> It should be very simple to extract - it isn't based on any other mono
> >> develop stuff.
> >>
> >> Grab the MonoDevelop.HexEditor project remove the MonoDevelop.HexEditor
> >> folder (that contains the monodevelop binding that you don't need).
> >>
> >> The control is in Mono.MHex.HexEditor - it is usable like any other gtk
> >> control.
> >>
> >> btw. any feedback on that is appreciated (I want to use cairo for the
> >> drawing - it's still an old style gtk control).
> >>
> >> Regards
> >> Mike
> >>
> >>> Hello everyone, i was wondering, is it possible to use the hex editor
> >>> available in monodevelop as a component for my application? like a widget?
> >>> it's really cool and really fits my needs, it would be really cool if i
> >>> could use it as a widget for a simple app i'm writing.
> >>> if it's possible, can anyone ventually drive me into the right direction
> >>> on how to do so?
> >>>
> >>> thanks in advice.
> >>> Francesco
> >>> _______________________________________________
> >>> Monodevelop-list mailing list
> >>> Monodevelop-list at lists.ximian.com
> >>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >>>
> >> _______________________________________________
> >> Monodevelop-list mailing list
> >> Monodevelop-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >>
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Mon, 30 Aug 2010 08:39:06 -0400
> From: Adam Tauno Williams <awilliam at whitemice.org>
> Subject: Re: [MonoDevelop] 2 widgets in the same container using form
> 	designer?
> To: monodevelop-list at lists.ximian.com
> Message-ID: <1283171946.11465.3.camel at linux-yu4c.site>
> Content-Type: text/plain; charset="UTF-8"
> 
> On Wed, 2010-08-25 at 13:27 +0200, Rampage wrote:
> > Michael Hutchinson ha scritto:
> > > On Tue, Aug 24, 2010 at 6:55 AM, Anirudh <anirudh at anirudhsanjeev.org> wrote:
> > >>>>> i think the subject pretty explains it all, i was wondering if by using
> > >>>>> the
> > >>>>> designer it was possible to add 2 widgets in the same container and then
> > >>>>> from the source of my application manage the display of one or the other
> > >>>>> using the show() and hide() methos.        
> > >> I used to use a VBox or a HBox and drag many widgets. Then Use the
> > >> visible property to swap between them. Of course, this isn't a correct
> > >> way to do it, but it's a rough hack.
> > >> I'd done a similar variation in some older code, which you can see here:
> > >> http://github.com/ninjagod/splatter/blob/master/Frontend/AddQueryDialog.cs#L144
> > > Another reasonably common solution to this is to use a Notebook with
> > > the tabs disabled, then programmatically change the page.
> > Seems to be the cleanest way.... i like it, i'm gonna try this out
> > thank you very much to everyone for the help :)
> 
> I use that trick all the time.  Although an hbox/vbox would expected to
> work the same way when I hide/show to swap the widget pair sizing
> doesn't seem to work as well as when they are in a Notebook.
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Mon, 30 Aug 2010 08:00:37 -0500
> From: Devin Venable <venable.devin at gmail.com>
> Subject: Re: [MonoDevelop] variables that don't exist in current
> 	context
> To: Michael Hutchinson <m.j.hutchinson at gmail.com>
> Cc: monodevelop-list at lists.ximian.com
> Message-ID:
> 	<AANLkTi=EvjMGYrPh5GHpztvrn+RtsyMvjvxOmC+G-Rok at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Without anything more to add, I just wanted to say thank you Michael
> for this good information.  This is just what I was trying to get my
> head around.  I appreciate the explainer.
> 
> 
> 
> On Fri, Aug 27, 2010 at 4:23 PM, Michael Hutchinson
> <m.j.hutchinson at gmail.com> wrote:
> > On Fri, Aug 27, 2010 at 3:01 PM, Devin Venable <venable.devin at gmail.com> wrote:
> >> I'm porting an ASP.NET project on Windows to mono/Linux in
> >> MonoDevelop. ?I'm still a newbie when it comes to ASP.NET.
> >>
> >> On Windows, the project was a "web site" and I'm making it a "web
> >> application" by importing everything into an empty project.
> >>
> >> For each aspx file (web template) there is one ascs.cs file (the
> >> associated code).
> >>
> >> For every field that is in the aspx like this:
> >>
> >> <asp:RequiredFieldValidator ID="rfvQ1" runat="server"
> >> ControlToValidate="ddlQuestion1"
> >> ?? ? ? ? Display="Dynamic" ErrorMessage="Required.<br>" InitialValue="
> >> ?"></asp:RequiredFieldValidator>
> >> <asp:DropDownList ID="ddlQuestion1" runat="server">
> >>
> >> There is a reference in the c# like this where it is used:
> >>
> >> ?rfvAnswer1.ErrorMessage = msgRequired;
> >>
> >> The problem: ?When I compile I get:
> >>
> >> Error CS0103: The name `rfvAnswer1' does not exist in the current
> >> context (CS0103) (GTPCard)
> >>
> >>
> >> It's because the rfvAnswer variable hasn't been explicitly declared.
> >> If I add a protected member to the class like this:
> >>
> >> protected System.Web.UI.WebControls.RequiredFieldValidator rfvAnswer1;
> >>
> >> ...the error goes away.
> >>
> >> The question is WHY am I having to do this over and over again for
> >> every reference? ?Is there a reference I can include, or a way to
> >> configure the project so that the variables are automatically created?
> >>
> >> I assume something must be happening like this on the Windows/Visual
> >> Studio side, since there the project source doesn't have these
> >> variables explicitly created.
> >
> > This is down to the difference between the CodeBehind models used by
> > Web Sites and Web Applications.
> >
> > Web Sites are intended to be compiled fully on the server. In
> > contrast, Web Applications have a project that is compiled by the IDE.
> > Hence, the CodeBehind classes in Web Sites are compiled into
> > individual assemblies on the fly, while CodeBehind classes in Web
> > Applications are usually compiled into a single assembly by the IDE.
> >
> > Each as[pchm]x file is compile to a class by the ASP.NET server. The
> > class that it subclasses is called the "CodeBehind" class, and can be
> > specified by the Inherits attribute in the page directive. CodeBehind
> > classes can access controls defined in their subclasses because if
> > there is protected/public field/property in the base class with the
> > same name as the control's IDE, the control instance will be assigned
> > to that. You can define these members manually in the CodeBehind
> > class, or use the IDE or server's ability to autogenerate partial
> > classes with these members which can then be compiled together with
> > the CodeBehind class.
> >
> > If the Page directive has a CodeFile="Foo.aspx.cs" attribute, then
> > when the ASP.NET server compiles the aspx file it will also generate a
> > partial class and compile it together with the Foo.aspx.cs. You can
> > use this CodeBehind compilation model in a Web Application project,
> > but beware that you must set the Foo.aspx file's build action to
> > "Content", not "Compile". Also, MonoDevelop will provide only limited
> > or inaccurate code completion for this model.
> >
> > If there is no CodeFile attribute, the server tries to find the
> > CodeBehind class in the assemblies in the app's bin folder. This means
> > it will find any classes that have been compiled by the IDE, i.e. with
> > Compile build actions. Both VS and MD can assist this model - if there
> > is a class called Foo.aspx.designer.cs beside the Foo.aspx file, then
> > the IDE will generate the partial class in the "designer file"
> > whenever the aspx file is saved.
> >
> > Also look out for the App_Code folder - this is also intended for use
> > with Web Sites, since the server compiles all code in this folder, so
> > if you use it in Web Application project you must also set the build
> > action of these files to "Content" not "Compile" or you will get
> > duplicate type conflicts.
> >
> > --
> > Michael Hutchinson
> > http://mjhutchinson.com
> >
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Mon, 30 Aug 2010 06:22:49 -0700 (PDT)
> From: Rampage <atomikramp at email.it>
> Subject: Re: [MonoDevelop] Hex editor as a widget for my application?
> To: monodevelop-list at lists.ximian.com
> Message-ID: <1283174569387-2400095.post at n4.nabble.com>
> Content-Type: text/plain; charset=UTF-8
> 
> 
> 
> Mike Kr?ger wrote:
> > 
> >   Hi
> > 
> > You can do what you want - you can import it is part of your existing 
> > project or just use it as an external project.
> > (maybe it's the easiest thing to do just copy the 3 folders to your
> > project)
> > 
> > Regards
> > Mike
> > 
> > 
> 
> I've tried to import all the files into my project, it seems to work except
> that it says the Cairo namespace is missing... 
> am i missing something? i suppose so, but i dunno what :D
> 
> thank you for the help
> 
> Best regards
> Francesco
> -- 
> View this message in context: http://mono.1490590.n4.nabble.com/Hex-editor-as-a-widget-for-my-application-tp2399422p2400095.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Mon, 30 Aug 2010 07:42:54 -0700 (PDT)
> From: Rampage <atomikramp at email.it>
> Subject: Re: [MonoDevelop] Hex editor as a widget for my application?
> To: monodevelop-list at lists.ximian.com
> Message-ID: <1283179374646-2400230.post at n4.nabble.com>
> Content-Type: text/plain; charset=UTF-8
> 
> 
> 
> Rampage wrote:
> > 
> > 
> > Mike Kr?ger wrote:
> >> 
> >>   Hi
> >> 
> >> You can do what you want - you can import it is part of your existing 
> >> project or just use it as an external project.
> >> (maybe it's the easiest thing to do just copy the 3 folders to your
> >> project)
> >> 
> >> Regards
> >> Mike
> >> 
> >> 
> > 
> > I've tried to import all the files into my project, it seems to work
> > except that it says the Cairo namespace is missing... 
> > am i missing something? i suppose so, but i dunno what :D
> > 
> > thank you for the help
> > 
> > Best regards
> > Francesco
> > 
> 
> Heh my fault, i was missing the reference for mono.Cairo.
> 
> now i get another error :(
> 
> Error CS1061: Type
> `System.Collections.Generic.List<Mono.MHex.HexEditor.RedrawRequest>' does
> not contain a definition for `Select' and no extension method `Select' of
> type `System.Collections.Generic.List<Mono.MHex.HexEditor.RedrawRequest>'
> could be found (are you missing a using directive or an assembly reference?)
> 
> and other 5 errors that i think are derived from this one...
> 
> any suggestion?
> 
> Thanks in advice.
> Francesco
> -- 
> View this message in context: http://mono.1490590.n4.nabble.com/Hex-editor-as-a-widget-for-my-application-tp2399422p2400230.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> 
> 
> ------------------------------
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> 
> End of Monodevelop-list Digest, Vol 64, Issue 36
> ************************************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100830/6bb3c7d8/attachment-0001.html 


More information about the Monodevelop-list mailing list