How to make popup on Windows Forms? - winforms

I was trying to make a program that notifies me when some even is happening. But, if I haven't got the form opened(minimized), it isn't working.
How to do this?
thanks in advance

Related

Eyeshot disables touch events in the whole of application

I have a WPF application that uses touch events (TouchDown, TouchMove, TouchUp). Everything works fine. But if I give the ViewportLayout (Eyeshot 11) component somewhere to the application, the touch events will stop working in the whole of application. Does anyone know why?
Thank you very much.
Have a look here and here to see if helps

how to make a form responsive when running a long loop in vb.net

Im doing an application that analyze records from an excel file using a loop... while my application is doing this, my form is not responsive, I cant even drag my application. any idea how to make my application responsive?
I now know how to make my form responsive.. you just have to add Application.DoEvents inside the loop.. Thanks :D
I think that in this Microsoft link you will find your solution. Use async/await to maintain your application responsive and do a work in background.

Freezing application when closing the tab - ExtJS 4

My whole application freezes when I'm closing a opened tab. I have a lots of code but I really have no idea why is this happening?...
Any ideas?
I would post some code but there is nothing specific which could help... -.-
It happens on more computers and tested on all mayor browsers.
It's a simple layout form.
verify if you are ot using a duplicated ID in 2 component.
What tab are you closing??? Is it a tab panel component. Keep a debugger pointing the listener which is called on the closing event and debug a little.bit.
And what do u mean by freeze??? U need to share something. It's hard to give a guess for
the questions.
What browser are you using? Is it happening in other browsers? Is a debugger attached?
In my experience IE is "freezing" when there is a lot of layout being built in the page. It's much more sensible than with ExtJS 2.

Windows 8 like modal dialog using WPF

I am working on a WPF-MVVM (.Net 4.0) application that has a Metro look (it just has a look, it is not a metro application.)
I need to show a windows 8 like message box that blocks the operations for the user before he rids that message box by clicking yes/no/cancel (or any button.).
I came across this otherwise great article and momentarily thought that I have found the solution. But this has its own drawback.It just stops the user from interacting with the controls behind by mouse clicks. The user can however use the tab key to get back to the buttons behind and click them (pressing enter).
A number of things are coming to my mind:
should I go for custom adorners and play with hitTestable property?
Or should I place a control and play with its visible property.
Before going for any approach I thought of putting forward my question to the wonderful community here if someone has done a similar thing in past and provide me some pointer/reference/approach.
Can someone suggest what is the way to achieve this? Please note I will be happy to use prism or any other open source if that solves the purpose but the window will have to be custom made.
Please excuse me if you find this too stupid a question. Please pardon my ignorance. Thanks for reading this.
I recently came across a similar problem, I resolved it using a DialogPresenter as explained there:
http://www.codeproject.com/Articles/36516/WPF-Modal-Dialog
I had to do a few tweaks there and there but overall it's working fine and I now have a nice way to display dialog boxes!
There is a better way of doing it
var dialog = new MessageDialog("Select Social network is already authorised!");
dialog.ShowAsync();

how can I show operating system info through c# code

Hi
I am working on a windows application in c#. I want to show a dialog box which describes the operating system information on click of a menu item. I should achieve this programatically.
Please let me know the procedure to achieve this.
Thanks in Advance
Use this: System.Environment.OSVersion

Resources