C# Special messagebox (or input box) - c#

I was wondering if someone knew how to "invoke" this kind of messagebox in C# or VB.NET
Don't take any notice of what is written in messagebox it's in French ^^
Thank you for your help !

What you are looking for is called Task Dialog. You can find out how to implement them in your WinForms application here.
EDIT:
Oh, look, someone has even created a wrapper to use them in WPF.

You can change the style of a Form in its properties and make it like a message box. Then add on it every item you need in ur "messagebox". When you wanto to show it, simply create a new instance of that form and it will appear.
Alternatively, check here: http://www.dreamincode.net/forums/topic/102866-how-to-display-combobox-items-in-message-box/

Related

How to display an entry alert in xamarin forms

I'm trying to show an alert with an entry inside it, as I can see it in a lot of apps, but I could'n t find a solution for now (neither custom renders)
Any suggestions?
You can use UserDialogs libary
After initialization simply use:
UserDialogs.Instance.Alert("message")
You can do that in multiple ways. Lets say if you have your own UI and the Entry field. Then you can create the Popup Page and Display that Popup Page whenever necessary for the User Input. If you want to use Popup Page (best - only if you have requirements to have your own style of prompt):
https://github.com/rotorgames/Rg.Plugins.Popup
If you have very simple requirement of only Showing the Entry Field the use :
https://github.com/aritchie/userdialogs
Since this is very common question and have all the resources online. Please go through the websites above have all the examples you can look into. Please let me know if you still need any more help.

How to control a winforms application using another?

I have a winforms Application 1 which looks like this:
This application is already built so I can't change its source code.
I want to write another winforms application, which can run hidden and auto fill that textbox in Application 1 then click the button.
But I don't know where to start. I Hope you can help me with some keyword, or technique that I can use in this situation. Thank you.
I found a good example that can solve my problem and easily to understand
http://www.codeproject.com/Articles/33049/WPF-UI-Automation

Create a popover-like control in C# WinForms?

So, one of my favorite things about iOS/ObjC in general is the "popover" control.
I am building an app in C# WinForms that would benefit greatly from this type of control- anyone have any ideas on how I might be able to emulate this type of look?
For reference, here's an example screenshot of what I'm talking about http://i.imgur.com/IzbbzrA.png
Thanks for any ideas!
You can create a simple popup control by following the articles linked below
Simple Popup Control
I don't think such a control exists in .Net. What I would do from this point if I were you is try to making one using a customized windows form on top of it. Play with the Mouse Hover events of the control and make the form appear for a short time. Make it without borders. With a little imagination you can have your own version of the PopOver.

Text effect on C#

I would like to ask what is the code for this text effect on C# when for example, I have this PROTECT YOUR COMPUTER title, then, when I point my cursor on it, it should be underlined, and when I click it, the contents inside it should be shown below the title. It is commonly used in Help and Support Section when your using Windows.
Thanks in advance! and Sorry for my english.
I think you are looking for the LinkLabel control.

How to setup feedback link on Windows Forms caption using C#?

I would like to setup Feedback link on every windows form, so that user can send suggestion about design, functionality etc.. using C# (.NET 3.5) but I could not find solution.
Any help or suggestion will be appreciated.
On every form? You could create a "FeedbackLink" UserControl, and place that whereever you like. I wouldn't recommend trying to do it as a clever blanket-thing, because you can never assume the place you want the feedback hyperlink won't be used by something else.
My suggestion would actually be to add it to the "Help" menu on your main form, and possibly in some kind of (very intrusive) pop-up dialog. Maybe do it the way Visual Studio tackles it - by putting an icon in the systray with a bubble that pops up for the user to click on?
Example image (might take a second or two to appear):
Example http://www.freeimagehosting.net/uploads/b7939d58ae.png

Categories