How to access the previous form after doing showdialog?

后端 未结 3 633
Happy的楠姐
Happy的楠姐 2021-01-13 19:47

Having trouble figuring this one out..

I currently have a frmMain and a frmLoading..

inside frmMain Shown event, I\'m doing

frmLoading load = new          


        
3条回答
  •  没有蜡笔的小新
    2021-01-13 20:21

    frmLoading doesn't know about frmMain. But you can use events if you want to change sth on form main from second form. You need to pass frmMain handle to frmLoading.

    Look here: http://forum.codecall.net/c-programming/515-c-calling-parent-functions-child-form.html

提交回复
热议问题