Re: Trap a build start event from designer



Hi Boris,

Thank you for your reply!

The MenuCommandService class implements the IMenuCommandService interface,
which is the managed interface used to add handlers for menu commands and
to define verbs. However, the Build/Start Debugging commands are not
commands on a designer, instead, they're commands of Visual Studio IDE.

So it's impossible to trap a build start event from designer.

The problem is that cell's new value is not stored with each character
typed, but
only when moving to another cell.

When we make any change on a control in the designer, the changes should be
serialized into the InitializeComponent method immediately, even if we
don't save the changes.

I suggest you to type new value in a grid cell and switch to the code view
to see if the changes are serialized into the form's InitializeComponent
method.

If you could create a simple project that could reproduce the problem, I
still recommend you to send the sample project to me. Then I may give you a
direct assistance.

I look forward to your reply.


Sincerely,
Linda Liu
Microsoft Online Community Support

.



Relevant Pages

  • Re: Overview Of New Intel Core i7(Nehalem) Processor
    ... has to create funny RS232 commands to have it do anything? ... Zero bugs in the code. ... One joy of being an electronics designer is that you don't have to get ... On the other side of the spectrum there are more good, say successful, hardware project, AND software projects. ...
    (sci.electronics.design)
  • Re: Dynamic CommandText for an SqlDataAdapter
    ... you shouldn't modify the designer generated code. ... Parameters in Data-Adapter Commands ... OrganizationId. ... VS.NET freaks out and removes the CommandText property completely (and ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: To Howard, on the First Law of Intelligence
    ... As Howard said, ... And this is about observable data. ... but I watched him type in the commands at his keyboard. ... observable data about how that particular intelligent designer ...
    (talk.origins)
  • Re: How to add StandardCommands.Undo/Redo to MenuCommandService?
    ... I had a task to add SendToBack and BringToFront functionality to designer. ... IMenuCommandService menuCommandService = ... the Undo/Redo standard commands? ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)

Loading