Esempio n. 1
0
 public TimeLimitAccessKeyField(SharedAccessKeysEditor editor)
     : base(editor)
 {
     this._TimeIntervalField = new Skill.Editor.UI.FloatField()
     {
         Margin = new Thickness(4, 2)
     };
     this._TimeIntervalField.Label.text = "Time Interval";
     this.Controls.Add(_TimeIntervalField);
     this._TimeIntervalField.ValueChanged += _TimeIntervalField_ValueChanged;
 }
Esempio n. 2
0
 public CounterLimitAccessKeyField(SharedAccessKeysEditor editor)
     : base(editor)
 {
     this._MaxAccessCountField = new Skill.Editor.UI.IntField()
     {
         Margin = new Thickness(4, 2)
     };
     this._MaxAccessCountField.Label.text = "Max Access Count";
     this.Controls.Add(_MaxAccessCountField);
     this._MaxAccessCountField.ValueChanged += _MaxAccessCountField_ValueChanged;
 }
Esempio n. 3
0
            public AccessKeyField(SharedAccessKeysEditor editor)
            {
                this.Editor      = editor;
                this.Orientation = Framework.UI.Orientation.Vertical;

                this._NameField = new Skill.Editor.UI.TextField()
                {
                    Margin = new Thickness(4, 2)
                };
                this._NameField.Label.text = "Name";
                this.Padding    = new Thickness(2);
                this.AutoHeight = true;
                this.Controls.Add(_NameField);
                this._NameField.TextChanged += _NameField_TextChanged;
            }
Esempio n. 4
0
 public AccessKeyListItem(SharedAccessKeysEditor editor, AccessKeyData data)
     : base(editor, false)
 {
     this.Data = data;
 }