/// <summary> /// 接続・切断 /// </summary> /// <param name="param"></param> private void connectExecute(object param) { if (theta.IsConnected) { // 切断する theta.Disconnect(); } else { // 接続する theta.Connect(); } NotifyPropertyChanged("WindowTitle"); }