Exemple #1
0
        public DataSourceEditor(Lpp.Dns.DataMart.Model.IModelMetadata modelData, IList <Lpp.Dns.DataMart.Lib.PropertyData> properties)
        {
            this.ModelData         = modelData;
            this.CurrentProperties = properties;

            InitializeComponent();

            txtPort.KeyPress += (sender, e) => {
                if (!char.IsControl(e.KeyChar) && !char.IsDigit(e.KeyChar))
                {
                    e.Handled = true;
                }
            };
        }
Exemple #2
0
 public ProxyModelMetadata(Model.IModelMetadata data)
 {
     metadata = data;
 }
Exemple #3
0
 public ProxyModelMetadata()
 {
     metadata = new EmptyModelMetaData();
 }