✅ How to Update the original instance of my Main Form from another form

I have a Function i'd Like to call from my Mainform and from my second form( the function updates a listbox an my Mainform), to achieve that i created a new instance of my Mainform in my second form, but it apears to only update the listbox on the new Instance of my Main form not on the old one, how can i Update the listbox on the Original Mainform instance.
(i apollogize for my bad english)
This is the Function id Like to call that should update the listbox on my Mainform
public void showMacro() //Funktion die alle Dateien im macro Pfad in einer ListBox auflistet
{
    MessageBox.Show("test");
    if (Directory.Exists(macroPath))
    {
        string[] files = Directory.GetFiles(macroPath);
        ltxMacroShowCase.Items.Clear();

        foreach (string macro in files)
        {
            ltxMacroShowCase.Items.Add(Path.GetFileName(macro));
        }
    }
}

This is the Button from my second form that i use to call my function on the first Form.
private void btnOkay_Click(object sender, EventArgs e)
{
    try
    {
        Form1 f1 = new Form1();

        File.WriteAllText(Path.Combine(Form1.macroPath, txbNameInput.Text), "");
        f1.showMacro();
        this.Close();   //erfolgreiches erstellen der macro Datei

    }
    catch (Exception ex)
    {
        MessageBox.Show("this is not a valid Name! " + ex.Message);
        return;
    }
}

(i use windows Forms incase thats important)
Was this page helpful?