Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
        public void SetBinding(object o)
        {
            var o_ = o as Data.Value.Boolean;

            Binding = o_;
        }