public void Show(Point location, Program program, Address address) { this.program = program; this.address = address; CreateCommentForm(); commentForm.HintText = LabelText(); commentForm.TextBox.Text = GetCommentText(); commentForm.ShowAt(location); }
public void Show(Point location, Program program, Address address) { this.program = program; this.address = address; this.editProcedure = program.Procedures.ContainsKey(address); CreateDeclarationForm(); declarationForm.HintText = LabelText(); declarationForm.TextBox.Text = GetDeclarationText(); declarationForm.ShowAt(location); }