all groups > dotnet windows forms > may 2004 > threads for thursday may 27
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Printing GDI drawings
Posted by Flare at 5/27/2004 11:34:48 PM
Hi. I have made a simple painting applcation.
I have a mainform wich creates a class called drawingPanelwich inherit from
Panel. In the drawingPaneli have overriden onPaint an the the painting.
Now on my mainform i have a button called Print. I know how to print
.....PrintPageEventArgs e (e.... more >>
CodeDom and ClickOnce not compatible?
Posted by google NO[at]SPAM markevans.org at 5/27/2004 10:42:37 PM
Hi Gurus
I have a windows application that is deployed via ClickOnce (No Touch
Deployment). It uses the CodeDom to create an assembly on the fly. The
problem is that this assembly can't find it's referenced assemblies
(IPSTypes.dll in the example below). It works fine when run locally
but fai... more >>
Previous focused control
Posted by Mikhail Fedosov at 5/27/2004 8:53:30 PM
Hello all!
Please tell me how to determine thr previous focused control when the other
control get focus.
Enter and GotFocus events does not provide this information.
--
With best regards,
Mikhail
... more >>
Color Matrix rounding error
Posted by pdavis68 NO[at]SPAM hotmail.com at 5/27/2004 5:36:41 PM
I have a black and white bitmap in my app. White is transparent and the
black needs to be converted to a different color.
To manage this, I've created a ColorMatrix as follows:
Color sortArrowColor_ = Color.FromArgb(184, 192, 201);
float r = (float)sortArrowColor_.R / 255F;
float g = (float... more >>
Cannot Load Late Boung Protected Assembly
Posted by localhost at 5/27/2004 3:07:48 PM
Help!
I have a WinForm that at startup creates a custom principal (inherits
from GenericPrincipal) and assign it and its roles to the current
thread.
The WinForm then loads a class library via Reflection. The class
library works fine until I assign a security attribute to the class
like... more >>
Menu in Arabic
Posted by Mahmoud Ouf at 5/27/2004 1:00:44 PM
Dear All
I am implementing a desktop application in arabic.
i have made a menu (from right to left)
i set the property, and when it run it appear from right to left
But, when i press on any item, the Menu item is reversed suddenly
(from left to right) while it is still right justified
what... more >>
use of DISTINCT in DataTable.Select Method
Posted by M.M Ansari at 5/27/2004 10:15:51 AM
Hi all
is it valid to use DISTINCT operator in select method of datatable? if yes
then what is syntax?
thanks in advance
Ansari
... more >>
Unable to restore focus to main window after calling dialog boxes
Posted by Steve Sargent at 5/27/2004 9:30:51 AM
Hi:
I'm having problems restoring the focus to my main window after
calling a couple of dialog boxes. Sometimes the focus is restored,
other times not.
In my code, when setting up an account, the user clicks the button and
the event handler for the button pops up. The event handler then
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Textbox with label class
Posted by Colin Stutley at 5/27/2004 9:23:03 AM
I find the task of placing Text manually next to a TextBox a pain - which is
only amplified when I move/align the textbox and then have to do the same
with the text.
Has anyone got example of a new class/component/helper which allows you to
drop a textbox onto a form, and have a 'Caption' prop... more >>
What the hell is going on with Form Inheritance?
Posted by Andreas C. Andreou at 5/27/2004 8:39:15 AM
I am trying to build an application in which I have some base forms (for
example a base edit form) on which I have some basic controls that I will
need on descendant forms (for example a grid and 2 buttons OK and Cancel)
I have though lots of problems on forms I create inheriting from those bas... more >>
PageSize in a PageSetupDialog ??
Posted by (cmrchs NO[at]SPAM yahoo.com) at 5/27/2004 4:07:52 AM
Hi,
how can I set the PageSize in a pageSetupDialog-box ?
I tried :
objPageSetup.PageSettings.PaperSize.Kind = PaperKind.A4
but the Kind-property is read-only.
So how ?
Thanks
Chris
**********************************************************************
Sent via Fuzzy ... more >>
Dealy after Menu Item selection
Posted by Prashanth at 5/27/2004 3:01:03 AM
Hi
I am developing a custom menu, where I need to put a 250 m.s. delay whenever user checks/unchecks a checked type of menu item. The reason is, we need to show the user, the changed option before dismissing the menu. Is there any option to do this in .NET
Thank
Prashanth... more >>
|