C# winform help
Posted: July 31st, 2017, 12:23 pm
I'm working on my first winform project and also my first C# project so i have no idea what i'm doing pretty much
One problem i have is calling a function from form1 on form2's FormClosing
I've looked it up and most posts are from 6-8 years old and i don't understand most of them but one thing i did understand is that i could make the function i'm trying to call static but i can't because then my OleDB connection is getting some problems
If anyone wants to take a look at the code i'll link it but 2 things, i'm writing this for a VS 2013 user and when i tried to run it using VS 2015 it just didn't work, and code is partially not written in english
If you still want to look at the code here it is
https://www.mediafire.com/?x7y5zqnr6pdmm8b
PS. specifically what I want to do is call the function dodajKorisnika() (from FormMain) when FormDodajKorisnika is closing
One problem i have is calling a function from form1 on form2's FormClosing
I've looked it up and most posts are from 6-8 years old and i don't understand most of them but one thing i did understand is that i could make the function i'm trying to call static but i can't because then my OleDB connection is getting some problems
If anyone wants to take a look at the code i'll link it but 2 things, i'm writing this for a VS 2013 user and when i tried to run it using VS 2015 it just didn't work, and code is partially not written in english
If you still want to look at the code here it is
https://www.mediafire.com/?x7y5zqnr6pdmm8b
PS. specifically what I want to do is call the function dodajKorisnika() (from FormMain) when FormDodajKorisnika is closing