//Testines funkcijas galima rast ieskant #testarea //Tuscias funkcijas(nieko jose nebus daroma) galima rast ieskant #emptyarea public Form1() { InitializeComponent(); ListMethods.StateCheck(this); InitializeProfileClick(); // probably will need some method here to get current address of the current user ChildFormMethods.OpenChildFormMap(this); Application.ApplicationExit += new EventHandler(OnApplicationExit); //Method called on app exit }
private void ButtonEdit_Click(object sender, EventArgs e) { ChildFormMethods.OpenChildFormUserContribution(this); }
//PROFILE MANAGING private void InitializeProfileClick() { panelProfile.Click += (sender, e) => { ChildFormMethods.OpenChildFormProfile(this); }; //This will probably recieve the user info labelProfileName.Click += (sender, e) => { ChildFormMethods.OpenChildFormProfile(this); }; //This will probably recieve the user info pictureBoxProfile.Click += (sender, e) => { ChildFormMethods.OpenChildFormProfile(this); }; //This will probably recieve the user info }