private void SwitchButtons_Switched(object sender, bool e) { var join = (bool)e; JoinForm.FadeTo(join ? 1d : 0d); CreateForm.FadeTo(join ? 0d : 1d); }
private void SwitchButtons_Switched(object sender, bool e) { var join = (bool)e; JoinForm.FadeTo(join ? 1d : 0d); CreateForm.FadeTo(join ? 0d : 1d); }