I have two different form applications. One form Application opens my camera and captures my head gesture, and the other application is just a game. Both the program run perfectly separately. All I need to know is how to merge this application. In short I want to run both at a time. The reason is I need to control the game application with my head gesture. There is not any code to add because I have not merge them so no error log as well. Please help me out to do this. Thanks
You need to create one windows form application which has a single form and include both forms in this app side by side. Make sure that you have all assets to be copied along with the forms otherwise you will face error outputs and design time errors.
adding both forms is into same layout is just by adding them as sub component in your new layout.
Related
I want to embedd an application (Hikvision iVMS-4200) into my winform .net application. The application appears to use custom rendering for its GUI, and a loading screen appears before the main window is launched.
In more detail, I want the window of this app to be confined within the window area of my application in a locked position (user can't move the embedded window), and display other things in the same parent window (for example a picture).
I have tried solutions such as this. It worked perfectly, but only with notepad. This solution doesn't work with the application I want (the process is opened successfuly but it is in a completely independant window).
My guess is that the app (again, Hikvision iVMS-4200) uses OpenGL for a custom GUI or another type of non-native GUI library. As a though, shouldn't any application on windows have atleast a single main window? could I access and edit its position and parenting properties? Any solution would be highly appreciated.
Late to the party and new to Xamarin.Forms. I'm looking for an example Xamarin.Forms app (sample code) which does not use any XAML, or, as little as possible. This is because I'm translating from an existing C# project where all of the user interface elements are built in code.
The existing project has two what would be called "forms": a splash form, and an application form. The structure of the application form changes dynamically - for example, depending on the GPS coordinates of the user at start-up, hence the dynamic building of the form.
The two "forms" exist as independent classes extending ContentPage and using AbsoluteLayout. My difficulty boils down to how to get the splash screen to display at start-up, and then, after determining what my application form should look like and establishing its structure, hiding the splash form and showing the application form.
The building of the splash and application interfaces already take into account scaling for display size and orientation.
We have googled around a fair bit on this end but apparently we're not googling the right thing.
My client has a previously developed windows application which they don't have the source code. They need a dash board in the application. This application has a option to add and call third party application, so I developed a dash board screen application with all the data they needed and add it in their application. But they wanted to see the dash board in side the main screen (just like MDI from and child form). I am thinking I can place my new application in such way that it will look like a child form but I need to track the minimize, maximized and close event of the main application so can change my application accordingly. Is it possible?
For the last part of your question if you want the new app intercepts when the first one being maximized or minimized, you can use global hooks.you can try this link:
https://www.codeproject.com/Articles/802412/Global-Interceptable-Program-and-System-Hooks-in-N
In Android when finished with an Activity and want to return to previous activity you use finish();.
Is there an equivalent in WinForms using C#? In my application once the user clicks the Enter button I want the user to return to previous window.
Base on a superficial understanding of an Activity in Android (sounds like a window element), you just need to call Close on the current window, then the previous one will then move to the foreground.
For future reference however, I would advise you not too create such analogies between two radically different technologies since the life cycle of an Activity in Android is radically different from a form in a Windows Form application. You should try to learn the framework rather than replicating an implementation from a different framework/platform.
I am in the middle of creating a form that will work with Tablet PCs. But right now i need to see what are the best practices that one can have when creating them. When i am creating forms i am referring to the forms where a user fills in data presses next it is similar to a survey application.
Does anyone have any helpful links or even suggestions that will help me understand the best practices for tablet PCs?
Although this isn't directly C# related, I found it to be a fine example of how to do forms for Tablets in the manner you describe, where the user can hit the Next or Back button to navigate thru a form in a user-friendly environment: http://jqtouch.com/
I just started converting a site that was designed for Tablet users earlier today and managed to finish about a 20+ field form to the point where I'm ready to plug in the existing .NET form fields first thing on Monday. If I can, I'll post an example after it's ready to go
Just create a next form & On Button_Click require.FormName & Form1.Visible=false
So a next form will open with different options,etc and the fist form will hide so it will look like a different page.