Пример #1
0
        private void RenderSchemaLoadType(SchemaLoadType loadType)
        {
            switch (loadType)
            {
            case SchemaLoadType.Connection:
            {
                this._lblLoadTypeSymbol.Image = Resources.schema_load_database;
                this._toolTip.SetToolTip(this._lblLoadTypeSymbol, "以数据库为结构源");
            }
            break;

            case SchemaLoadType.SchemaFile:
            {
                this._lblLoadTypeSymbol.Image = Resources.schema_load_file;
                this._toolTip.SetToolTip(this._lblLoadTypeSymbol, "以文件为结构源");
            }
            break;
            }
        }
Пример #2
0
 public void ShowSchemaLoadType(SchemaLoadType loadType)
 {
     this.CurrentSchemaLoadType = loadType;
     this.RenderSchemaLoadType(loadType);
 }