C# Calling a method from another Form

后端 未结 4 1311
清酒与你
清酒与你 2020-12-17 07:24

Hi I have 2 Form Form1 and Form2

Form1 have a table and there is my records and there is a Void for refresh the table in the Form1.

Form2 is my insert form I

4条回答
  •  爱一瞬间的悲伤
    2020-12-17 07:28

    In Form1, when you open Form2, attach to Form2 OnClose/Closed event, or a custom Save event, which when raised, refreshes the table in form 1.

提交回复
热议问题