protected override void AttachCore() { Test.Attach(); if (Test.Value) { True.Attach(); } else { False.Attach(); } }
private void TestChanged(object sender, EventArgs e) { if (!IsAttached) { return; } if (Test.Value) { True.Attach(); False.Detach(); } else { True.Detach(); False.Attach(); } Refresh(); }