private void btnAdd_Click(object sender, EventArgs e) { var p = _sym.CreateParameter(); _params.Add(p); _sym.ParameterDefinition.AddParameter(p); var diag = new SymbolParameterDialog(_sym.ResourceVersion, p); diag.ShowDialog(); }
private void btnEdit_Click(object sender, EventArgs e) { if (grdParameters.SelectedRows.Count == 1) { var p = (IParameter)grdParameters.SelectedRows[0].DataBoundItem; var diag = new SymbolParameterDialog(_sym.ResourceVersion, p, _edSvc); diag.ShowDialog(); } }
private void btnAdd_Click(object sender, EventArgs e) { var p = _sym.CreateParameter(); _params.Add(p); _sym.ParameterDefinition.AddParameter(p); var diag = new SymbolParameterDialog(_sym.ResourceVersion, p, _edSvc); diag.ShowDialog(); }
private void btnEdit_Click(object sender, EventArgs e) { if (grdParameters.SelectedRows.Count == 1) { var p = (IParameter)grdParameters.SelectedRows[0].DataBoundItem; var diag = new SymbolParameterDialog(_sym.ResourceVersion, p); diag.ShowDialog(); } }