I created a WPF Window with a StatusBar. I tried to create a method to update the Statusbar Text with a Buttom from another form:
    public static void setSbStatus(string ComPort)
    {
        setSbStatus.Text = clsVariables.strSelectCom;
    }
But Visual Studio throws error CS0199. How can I access the statusbar from another form?