|
Ok,
keep in touch
that's my mail: terrasi.carmelo@gmail.com
Bye and Happy New Year
|
|
|
|
|
hi All,
I am Currently Working on Wpf And WinForms using SCSF. Any one can please help me in this ,how to Develop The Themes Concept in Wpf or Win application .If any one knows Articles please FWD the Links it helps lot.
Thanks And Regards,
Guru
|
|
|
|
|
|
Hi Friends,
I am new to WPF programming, please help me out with the following Issue:
The text in the TextBox are separated,, i.e, like N 23°23.65, here User enters N first, after that he should press Tab to edit the next field (i.e, Degrees field) and then again press tab to edit next field (minutes field)....
Kindly help me...
Thanks in Advance...
|
|
|
|
|
Try this:
<StackPanel Orientation="Horizontal">
<TextBox x:Name="Northing" />
<TextBlock Text="°" />
<TextBox x:Name="Degrees" />
<TextBlock Text="." />
<TextBox x:Name="Minutes" />
</StackPanel>
|
|
|
|
|
Hi Bro,
Thanks for the reply...
Also i have to Data Bind this into a single field in the Dataset... How can i do this??? please help me out with this issue...
|
|
|
|
|
Hi
I am unable to place a checkbox in the header of the column in datagrid.
plz help me...
Thanks
Satish
|
|
|
|
|
You can customize the Header Template. You can easily find out the header template in Blend.
|
|
|
|
|
Is there any idea/code to make map maker(earth surface rendering with lights and clouds) using wpf?
|
|
|
|
|
I doubt there's any samples available in WPF. Typical applications that do this tend to use fractal mathematics to generate random heightmaps which get transformed into terrains. You might want to google terrain mapping directx to get started.
|
|
|
|
|
hello everbody;
i want a help for a black game codes using silverlight and c# in this week,this is my lesson project and i will give it at the end of this week,is somebody help me
|
|
|
|
|
So you're asking for help with your homework? Oh dear - we don't do that on this site.
|
|
|
|
|
you say good but i must do it at the end of this weekend,i did some animations in expression blend,but i stoped in the c# codes,i didnt do the card sharing
|
|
|
|
|
I'm sorry, but that's your problem. If you can't write the code for yourself, why do you think we will help you cheat? Your homework isn't a test to see if we can write code, it's to see if you can. When I used to do my homework, I did it myself - I didn't expect somebody else to do it for me.
|
|
|
|
|
Hi,
I want to cal my event handler when my custom wpf control is deleted from the designer. I want to know which event I need to override? or for which event I should attach my event handler?
Please give some input.
Regards,
Bharath
modified on Monday, December 22, 2008 2:25 AM
|
|
|
|
|
*maybe* the dispose event if you check in there that the control is being run inside the designer. I wouldn't hold my breath tho.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
It could almost defitely be checked that way with WinForms, however WPF designers load controls in a much different way (hence Expression Blend), so I don't believe it will work.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my Blog
|
|
|
|
|
|
The first event that comes to my mind is Unloaded.
Don't know about that getting raised from the designer(s) though....try it
and let us know!
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Hi,
Unloaded will be called in 2 cases in design time.
1. when window is closed
2. when we delete the control in designer.
But in both the cases the even argument values are same. this will not help me to identify which event is occurred, is it deletion or closing of the window.
So I want to know is there any event handler is called when we delete a control from desinger
Thanks and Regards,
Bharath
|
|
|
|
|
Hello,
I recently got a project and I need help how to crop an image, i got all the way where you get the image from browsing to your local disk, and it comes up on the image viewer, but now I need help on this part, I want the user to click on the button to start cropping it, after the user has made a rectangle around the part of the image he wants to crop, click on the button below the start cropping where i guess the button can say "crop it", or just change the start cropping and it turns into "crop it" which i think would be nice. But anyways, after the user clicks on the "crop it" it is now displayed on the imageviewer. How can this be done? hopefully I explained myself clearly, again, just need help on how to do a basic crop image, i looked at a couple of examples:
http://www.codeproject.com/KB/WPF/ImageCropper.aspx#HowItWorks
and
http://www.codeproject.com/KB/WPF/CropAdorner.aspx
but they are no help, they say in there examples its easier... YA right!!! there code doesnt look easy, can anyone give me an easier example and explain in jr. programming terms : )
also I guess a good example about the croping would be like windows paint, how the user presses the button to start cropping then they can save it. etc.
Thank you
|
|
|
|
|
siten0308 wrote: and explain in jr. programming terms : )
Well, some tasks are just more complex than can be explained in 'jr programming terms'. Having said that, all you need to do, is work out where the user clicked on the image and create a new image to that size, doesn't seem that hard to me ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hey chris,
Ok i guess that shed some light, but I am wondering how microsoft paint did it, how when you click on the zoom button, the rectangle box appears and when you click on the image with that rectangle box, it zooms in or enhances that part of the image, I am putting it together in my mind that it creates a new image with that size, is that right? if so, just getting it how to do it is a little hard, but correct me if I am wrong, do I figure out how to get that rectangle box to appear, then when the user clicks on that part of the imgae, which i called the image a variable called imageviewed, i just declare a new image or a new instance of the image that will replace the original with the zoom in one correct?
|
|
|
|
|
It doesn't look like Paint creates a new zoomed image, although that is
a possible approach.
It looks like Paint just stretches the "area-of-interest" designated by the rectangle
to a larger area of the window. There's no interpolation either - looks pretty pixelated.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
Sorry,
UPDATE:
Got somewhat the image to expand, but I made a button to do that, which is below, problem is, I want the user to be able to click on the button and it zooms in closer and closer and closer etc until its a spec, same with zoom out. I am doing something wrong because everytime i press the button, it stays that size and doesnt go smaller or bigger. what am i doing wrong : (
buttonzoomin
{
photoviewer1.height = +200;
photoviewer1.width = +200;
}
buttonzoomout
{
photoviewer1.height = 100;
photoviewer1.width = 100;
}
I know i am close but if someone can tell me what am i doing wrong that would be great and save me from pulling any more hair!!
Thank you
|
|
|
|