I don't have access (by design) to mainForm from the background thread (one
of the drawbacks of a tightly coupled event mechanism such as delegates).
My background thread receives events from hardware devices which may cause a
background session (on a seperate thread) to be initiated. I'm using
co
Chris Sells' XmlPrecompiler might help you.
http://www.sellsbrothers.com/tools/#XmlSerializerPreCompiler
Also check this:
http://msdn.microsoft.com/library/en-us/dnxmlnet/html/trblshtxsd.asp
===
This list is hosted by DevelopMentorĀ® http://www.develop.com
View
Hi All
I need to customize FileDialog where the user is not allowed to
perform certain KeyBoard operations such as F2 (rename a file) within the
FileDialog.
I have used Keyboard Hooks to achieve this. Basically I trap the F2 Key
and display an error message to user stating that the functi
Hi all,
I am working on a MS Project plugin and I keep coming up with the same
issues with ShowDialog ().
The latest issue is:
I have a dialog that shows a dialog and then uses the Project API to
show a Project dialog (task information), and after the project dialog
has closed my dialogs are no l
Add the following to your app.config file.
This causes generated intermediate serialization files to be left for your
inspection. So, build and run the program, then look in your temp
directory. You should find a *.cs file that was generated by the
serializer. Something in that
It will always work if the leafs of your object serilization are primitive
types, maybe your are trying to serialize something like System.Type and
that is not serializable
A l e j a n d r o G. J a c k | P r i n c i p a lC o n s u l t a
n t| 15-5755-9122
-Original Message
hi All,
I'm getting the following exception when I try to DeSerialize one of my
parent objects.
"System.IO.FileNotFoundException: File or assembly name n.dll, or
one of its dependencies, was not found."
Although the exception says it can't find the assembly, the problem really
is that som
Is there a reason why you can't invoke a delegate on the UI thread (from
the background thread) which constructs and displays the modeless form?
private void myBackgroundThread(Form mainForm)
{
// do stuff
If (someCondition)
{
mainForm.Invoke(new OpenModelessFormDelegate(OpenMod
Can you post a simple example reproducing the problem?
--
Ian Griffiths
http://www.interact-sw.co.uk/iangblog/
> -Original Message-
> From: Ross Diesel
>
> Hi
>
> Have managed to further refine the UI thread problem reported in
earlier
> posts.
>
> Basically the problems manifested
Brad,
Since you have "control" over the page class instance in this case, you
can override the following method to do what you wish:
protected override void RaisePostBackEvent(IPostBackEventHandler
sourceControl, string eventArgument)
{
base.RaisePostBackEvent (sourceControl, eventArgument);
}
A webpage holds a custom server control. The custom server control
holds LinkButtons.
A click event is fired on one of the LinkButtons in the custom server
control and RoutineA in the server control is called as the handler of
this event. Next, a delegate handler on the webpage, RoutineB, is
ca
Hi
Have managed to further refine the UI thread problem reported in earlier
posts.
Basically the problems manifested themselves as UI deadlock and control
parenting exceptions when trying to initiate forms creation from a
background thread using a synchronization object. The synchronization objec
Brad,
You're not giving much to go on here. Are we taking about:
1) Supressing a custom server control from invoking one of it's public
events that may be raised whenever the click event of a containing button
is fired?
2) Supressing a button click event from firing where the button is on a
con
13 matches
Mail list logo