示例#1
0
        void SetNameEditProperties(NameEditBoxProperties props)
        {
            var d = dialog.Value;

            d.nameTextBox.Text    = props.Value;
            d.nameTextBox.Enabled = props.Enabled;
            d.nameLinkLabel.Text  = props.LinkText;
        }
示例#2
0
 void IView.SetNameEditProperties(NameEditBoxProperties props)
 {
     SetNameEditProperties(props);
 }
 private void SetNameEditProperties(NameEditBoxProperties props)
 {
     nameTextBox.StringValue       = props.Value;
     nameEditLinkLabel.StringValue = props.LinkText;
     nameTextBox.Enabled           = props.Enabled;
 }