// 打开关闭:isForce 强制打开,并且刷新 public virtual void Show(bool b = true, bool isForce = false) { if (PMutexer == null) { ShowDirect(b, isForce); return; } if (b) { PMutexer.Show(this); } else { PMutexer.ShowDefault(); } }
public virtual void SetDirtyShow() { if (!IsIndependent) { if (Parent != null) { Parent.SetDirtyShow(); } else if (PMutexer != null) { PMutexer.SetDirtyShow(); } else { CLog.Error("非独立组件无法调用SetDirtyShow,请通过顶级组件调用:{0}", GOName); } return; } IsDirtyShow = true; PUIView?.ActiveControlFixedUpdate(this); }