public static void Popup(string id, Data.Value.DynamicEquationReference reference1, Data.Value.DynamicEquationReference reference2, Data.Value.Boolean enabled) { if (Manager.NativeManager.RadioButton(Resources.GetString("DynamicFixed") + id + "_1", !enabled)) { enabled.SetValue(false); reference1.SetValue(null); reference2.SetValue(null); } Manager.NativeManager.SameLine(); if (Manager.NativeManager.RadioButton(Resources.GetString("DynamicDynamic") + id + "_2", enabled)) { enabled.SetValue(true); } }
public void SetBinding(object o) { var o_ = o as Data.Value.Boolean; Binding = o_; }