repeat an image in background desktop applications [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
As we do in website design, take 1px of an image and repeat that image in x or y direction using CSS. Is this possible to do with C# desktop applications.
After searching I found tilebrush but it seems to be for WPF only. My question is can we do the same in desktop applications without WPF? Please make me clear.
Guys better to make comments what is wrong with the post so that I can edit rather than to give negative mark for the post. Please tell me what is wrong with my question.

In properties of your form (hit F4 to open the properties panel) set BackgroundImage to the selected image and BackgroundImageLayout to Tile.

Related

Color Console - Performance? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
i have a little question.
Im write my project at the moment but i think a "grey" console is boring.
Now is my question -> Can i use colors without performance loose?
For example with a public.
Best whishes
When the project it built, the "gray" color you are referring to is just like any other color you might choose. So when it comes to performance - it doesn't matter if you leave the default gray or use custom colors.

C# Allow the user to draw their signature on the form [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm building an ibanking system with my friends and I'm in charge for the credits part. I want to allow the user to have their signature on a webform and is it possible ?
You won't be able to do that in C#, on the web if you want user interactivity like drawing you'll have to do it in javascript (on the browser), the user isn't going to go in your datacenter and draw on the server :)
If you're fine with limiting yourself to HTML 5 browsers you should be able to do this with drawing in a canva and then sending the finished drawing to the server. Here is another SO question that covers user drawing in a canva: Draw on HTML5 Canvas using a mouse

Windows form, C#, background image [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm developing a project using Windows Forms. Here I have created a form in which I used TableLayout tool and a label. I have set a background image for form. I want the same background to be set to table and label without setting background for each of them again.
Is this possible?
All you need to do is go to your table layout properties and set the Background color to Transparent

New button on top corner of any Windows App C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Somebody know how to add a button on top right corner of any windows app loaded?, and manage a controller to interacting with them.
Really what I want is a method to set the property "Always on top" of any form.
I appreciate any help to do this posible... :)
(my programing language is c#)
It is possible to do so but prepare yourself to get dirty. Really dirty.
See this CodeProject article: Add Your Control On Top Another Application. Basically that guy is drawing a kind of custom control into another app's title bar.
In addition to this, this article about global system hooks might get handy for you as well.

Overlaying Text in VLC using WPF [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I am creating a program that displays song lyrics using WPF. I want to use videos as the background(using VLC player). How can I overlay the lyrics over the video background?
Thanks in advance.
This may not be possible directly in WPF. I assume that you would need a WinformsHost to host the VLC player. It's a known issue(limitation) that WPF controls and winforms can't share the same screen area(airspace limitation). However there are many workarounds for this limitation, one of them being adding 2 WPF windows overlayed.
Alternatively you can try upgrading to WPF 4.5(Using VS-2012), this issue seems to b e fixed there.
Read:
https://msdn.microsoft.com/en-us/library/aa970688(v=vs.100).aspx
http://bartwullems.blogspot.in/2010/11/wpf-and-winforms-airspace-problem.html?m=1

Categories