all groups > dotnet windows forms > april 2004 > threads for tuesday april 13
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
Need help with control's Graphics
Posted by Leonid Shirmanov at 4/13/2004 4:39:59 PM
Hi!
I have a custom control with a drawing made on its Graphics
and I want to save this drawing to image file (jpeg for example).
Does anyone know how this can be done?
Thanks in advance,
Leonid.
... more >>
(possibly) a simple question
Posted by Saurabh at 4/13/2004 2:04:49 PM
Hi All,
I quite like the idea of using the 'as' operator in C# and test for nullness
for example,
void MyFunction(Object o)
{
MyDataType dt = o as MyDataType;
if (dt == null)
{
DoSomething();
}
}
but I cannot use it on the value types. There is a similar situ... more >>
How to find the index of a listview column after a reorder
Posted by David Pizzi at 4/13/2004 1:54:33 PM
Hi guys
I have a big problem with the ListView control.
I want to allow the users to reorder the columns of a ListView and then save
the changes the user did, but I was not able to find an event which is fired
when the columns are reordered or just a property which tells me the new
position o... more >>
Font.SizeInPoints
Posted by Big E at 4/13/2004 1:33:22 PM
I'm using VB.net. I change a users Font size when they highlight text and
click a button.
It makes the Font 2 sizes smaller. Problem is that when I'm done making it
smaller I can't get the text after the selection to go back to the original.
I'm using Font.SizeinPoints and multiplying times .8 t... more >>
Control.Disposing property doesn't work
Posted by Sean J Donovan at 4/13/2004 12:45:52 PM
Forgive me, this has probably been in here before.
In a Dispose(..) method, within the IF statement, try testing the
Control.Disposing property. It's always FALSE.
It's quite an irritation.
I would've expected that as soon as Dispose() is called on a Control
instance that it would inte... more >>
Can't compile project
Posted by Aaron Prohaska at 4/13/2004 11:40:57 AM
I have just had a very strange problem happen. Yesterday when I left
work everything was working fine and I could compile and run my winforms
project in debug or release versions. This morning I just came in and
made some changes to the code then set the project in release mode and
tried to ... more >>
Forwarding Notifications
Posted by WineNCheese at 4/13/2004 9:05:36 AM
Hello,
I have a form which contains a panel which contains a tab control. I want
to trap the TCN_SELCHANGING event in WndProc in the form and prevent tab
changes in certain scenarios. If I remove the panel control such that the
tab control is a child of the form, I receive the message just f... more >>
How to generate custom code in the "Windows Form Designer generated code" section
Posted by .Net Developer at 4/13/2004 7:06:04 AM
I'm developing a composite winforms control that derives from System.Windows.Forms.UserControl, and I want it to behave as a singleton so that each form will access the same instance. When I implement the singleton design pattern by making the constructor private, the VS IDE throws an error when I ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Html InputFile control regarding
Posted by Raji at 4/13/2004 6:10:31 AM
Hi!
I'm working on ASP.NET using C#.
I'm using Html InputFile Control in webform to download file.I've two buttons,namely,"Import" and "Show summary".I'll hav to click "Show Summary" to see the details of the file to be downloaded before clicking "Import" button.But when I click "Show Summary",... more >>
How to show tooltip on tray-icon?
Posted by Evgeny Zoldin at 4/13/2004 12:23:21 AM
Hi ALL.
I develop some program that sit in tray and does some work. As some event
occurs, I would like to display to user notification about it. I prefer
notification to be a tooltip with click on that open specified url in the
browser. How to do that? I would be appreciated for any help.
E... more >>
|