public void RegisterPhone() { m_SoftPhone = new FacadeSoftPhone(this.ParentForm); m_SoftPhone.CallState_Changed += new FacadeSoftPhone.CallStateChangedEventHandler(m_SoftPhone_CallState_Changed); m_SoftPhone.PhoneRegisterSuccess += new FacadeSoftPhone.PhoneRegisterSuccessEventHandler(m_SoftPhone_PhoneRegisterSuccess); m_SoftPhone.RegisterPhone(); }