Quantcast
Channel: Visual COBOL
Viewing all articles
Browse latest Browse all 5819

Wiki Page: How to call a second windows form from a first Windows form in a .NET Framework Application

$
0
0
Problem: How to call a second windows form from a first Windows form in a .NET framework application. Resolution: Assuming the Visual COBOL for Visual Studio .NET framework windows form application, has a second form called Form2 - call this Form2 Window by using code as follows: declare myform2 as type call2ndform.Form2 = new call2ndform.Form2 invoke myForm2::Show()  This declares a new object called myform2 which then can use the inherited properties and methods. In this case, the Show() method which opens the Windows Form.

Viewing all articles
Browse latest Browse all 5819


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>