Untitled

                Never    
C#
       
///thats my program.cs
static class Program
{
    /// <summary>
    /// Der Haupteinstiegspunkt für die Anwendung.
    /// </summary>
    [STAThread]
    static void Main()
    {
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Updater _update = new Updater();
        Form1 _main = new Form1();
        _update.SetScopeToMain(_main);
        _main.setScopeToUpdate(_update);
        Application.Run(new Form1());
    }
}


///Updater.cs

public class Updater
{
    public delegate void UpdateUIRBHandler(object sender, EventArgs e);

    public event UpdateUIRBHandler UpdateUIRB;

    private Form1 _main;
    public void SetScopeToMain(Form1 form)
    {
        _main = form;
    }

    public void _UpdateUIRB()
    {
        UpdateUIRB?.Invoke(this, new EventArgs());
    }
}
///in the form

 public void setScopeToUpdate(Updater updater)
 {
     _update = updater;
 }

 public void UpdateUIRB(object sender, EventArgs e)
 {
     this.box2.Text = "hahahaha";
     this.HighlightTextBox(true);
 }

 

 private void edit_CheckedChanged(object sender, EventArgs e)
 {
    _update.UpdateUIRB += UpdateUIRB;
 }

Raw Text