示例#1
0
 private void ShowDialog(DbMapper dbMapper, AddDbTableDelegate addDbTable)
 {
     _presenter  = new Presenter(dbMapper, this);
     _addDbTable = addDbTable;
     ShowDialog();
 }
示例#2
0
 public void Execute(AddDbTableDelegate addDbTable)
 {
     addDbTable(_model.Value, _name.Value, _dbName.Value, _description.Value);
 }
示例#3
0
 public static void Show(DbMapper dbMapper, AddDbTableDelegate addDbTable)
 {
     new DbTableWindow().ShowDialog(dbMapper, addDbTable);
 }