Passing a variable between Windows Forms forms
Pass any information you want to in to the constructor of Settings form, and provide accessor methods for things you need out of there. public class SettingsForm : WinForm { private string m_Data; private int m_nExample = 0; // ctor public SettingsForm(string _data) { m_Data = data; // you can now use this in SettingsForm … Read more