public SetComport(Interface r_clsInterface) { InitializeComponent(); m_clsInterface = r_clsInterface; //com port selection numComNum.Value = m_clsInterface.uiLibSettingComPort; }