blah blah blah is here! blah blah » Close

0
votes
0 answers

C# window resize

Hi. I am beginner in C#, for creating projects I use Microsoft Visual Studio C# 2010 Express and in whole interent I haven't find working answer to my question: how can I change window size as an action after mouse click on some button? To ...

1
votes
4 answers

Reduce image size

Hi, I'm writing a c# application which will store images (jpeg, png, bmp) in db. The problem is the image size. I want to reduce the size (KB) without reducing image size (dimensions). I do not care about resolution since it's gonna be a ...

0
votes
0 answers

finding width of object before adding it to the parent (desiredsize)

i am using the child.measure, followed by asking for the desiredsize.width and still getting a width of 0.0 anyone know why? TextBlock label = new TextBlock(); label.Foreground = new SolidColorBrush(Colors.White); ...

0
votes
2 answers

Cannot implicitly convert type 'string' to 'System.Drawing.Size'

I've searched around, and I'm not finding a solution to this one so I figured I'd ask you bright people: Trying to pull form size information out of a database and pass it to a form upon instance. The relevant code in the parent form ...

0
votes
0 answers

Regarding SOAP Exception

Hi, I have a drawingboard[windows C#] application and a web application. Using web application i can select the drawing board application. I used click once deployment for that. In this case i am using a dataset to get the values from ...

1
votes
1 answers

C# ScaleTransform with sync. panel resizing?

Hi Everyone I'm writing a simple drawing application, in this application the user will be able to "zoom" in and out of the simple line / box collections they have made. To do this I have been using the ScaleTransform function ...

0
votes
1 answers

Compute length of an MP3 file

Hello, I'm looking for a simple, at least relatively efficient way to compute the exact length of an MP3 file. There are many issues that come into play with this. One may initially simply think of reading an mp3 frame to obtain the b ...

Feedback