The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I have Form1 and Publick Function X() that loads data into a combo box in that form.
In my Form2 when I add a new customer how do I call Function X()in Form1 so it will execute and effect the data in Form1.
I tried in Form2 on Button Click event:
Dim Form1 as new Form1
Form1.X()
'but didn't work. What else I can try?
ADAdministrator Syncfusion Team December 9, 2002 06:54 PM UTC
If this is an mdi then the form2 can case (Form1)this.mdiparent or if this is an sdi then I try this.parent
> I have Form1 and Publick Function X() that loads data into a combo box in that form.
>
> In my Form2 when I add a new customer how do I call Function X()in Form1 so it will execute and effect the data in Form1.
>
>
> I tried in Form2 on Button Click event:
> Dim Form1 as new Form1
> Form1.X()
> 'but didn't work. What else I can try?
>
>
PEPeterDecember 10, 2002 11:17 AM UTC
Thank you for your replay.
Please if you can specify in VB instead of C#.