So i'm attempting to have a public void accessible from a newly opened window. I know that if I use example 1 on the code sheet that I can pass a string to the new window. But I would like to pass the void to the new window kinda like also passing a htmlelement using the same method.
So a short question format, how do I pass a void to a new window?
Form commitmentwall = new commitmenttime("");
public commitmenttime(string text)