I'm Creating a Windows forms Program for My Graduating Project.
And The Thing is I want to implement something similar to that of showing cards when an event is called and the user can clear them.
Related
This is the Microsoft's Mail app on Windows 10. This app is Universal App.
I'm making an WPF app for windows 7. And here is it
I want to make my application able to handle responsive. When we resize the Window, Some of "Reply All" will hide and appear on the More button.
Currently, I make an WrapPanel to make all "Reply All" button is arrange base on windows size. How to make it Collapse and it only appear when we click on More btton (Like the Microsoft's Mail App)
My problem is how to determine which button need to hide. And how to make is become a item on More Button
As you say, things happen when you resize the windows. You should handle Window.SizeChanged event properly.
And making the whole ui responsive is a very broad topic.
I'm currently working on a school project where I'm asked to develop a C# WPF application. I'm implementing the MVVM design-pattern. This is why my main goal is to avoid using code-behind as much as I can. My main concern is that I'm trying to figure out an effective way around my software's "menu navigation" system.
For example, I'd like to have different windows to update clients, another to manage the employees and so on. My teacher said the best way would be to create an user control and adding it on every single window. How would that work? I would have to be able to detect the click on the user control and opening/loading the correct window according to that.
And if you try to organize your projects in tabs with a TabControl? You can personalize it too!
I am developing a Windows Form Application in Visual Studio 2008 (C#)
And I want to add Style to the items.
I have been investigating a few ideas about it but I have not found an example about how to do it. Is it really possible?
My app looks like:
But I really want to add more style in buttons, textboxs and other items I have:
My boss insists on using Visual Studio 2008.
To do this without purchasing anything else, you could create your own custom button and text box controls, either from scratch or as controls derived from the existing windows forms controls and then overriding OnPaint etc. Take a look at what's been done here:
http://dotnetrix.co.uk/button.htm
You could also investigate third party options.
Or, use WPF if that's a possibility as others have said. I'd push for WPF! If there's an existing WinForms Code base you can always host WPF Elements in WinForms. See:
Walkthrough: Hosting a Windows Presentation Foundation Control in Windows Forms
IF you wana to use Winforms than you have to buy this one for example:
http://devcomponents.com/
You have to bind the new assemblies in your application that is not a lot of work!
But better way do that with WPF
http://wpftutorial.net/DataGrid.html
Hi I am currently building a WPF application that is supposed to run on a windows 7 OS. Users will interact with the system via a touch screen.
I need a virtual keyboard so users can enter information into the system, but want to prevent them from having access to controls such as ctr+alt+del.
I want something like this: http://www.eightforums.com/attachments/f1/f42/20237d1366083644-annoying-touch-keyboard-problem-microsoft-windows-8-touch-keyboard-mouse.jpg
How do I implement something like this so that the keyboard comes up when a textbox receives focus?
Are there any free / commercial solutions? or do I have to manually implement something like this?
This post shows a good way to use Windows p/invoke commands to automatically display the Touch Keyboard when the user clicks on an element: https://stackoverflow.com/a/22396330/865666.
Can you give me an example on how to put my application form in the taskbar?
like Windows media player or Window search when minimize.
What you are looking for is creating an Application Desktop Toolbar (also known as AppBar). The main function you use to register your application window as an AppBar is SHAppBarMessage.
To get you started, you can look at this old appbar example with C++. If you want to do it in C#, there's a thread that discusses some details on how to do it in WPF. I am not aware of examples of how to do it with WinForms, but a quick search on the web should bring something.
Update: Actually, if you want a toolbar that sits on the taskbar, you need to implement a Deskband. Here's a sample DeskBand in C++ and here's a DeskBand in C#.
That's what happens when you don't touch a topic in a while. :-)
What this is really called is the 'System Tray' You want your app to have an icon in the windows system tray. Many languages provide this functionality.
Here are a few links:
http://www.codeguru.com/Cpp/COM-Tech/shell/icons/article.php/c1335
http://www.codeproject.com/KB/shell/systemtray.aspx