public override void OnShapeDoubleClick() { TextEditorForm form = new TextEditorForm(); if (GetDescriptionText() == "") { form.ShowDialog("Enter a brief description about your application."); } else { form.ShowDialog(GetDescriptionText()); } SetDescriptionText(form.GetText()); form.Dispose(); }
override public void OnShapeDoubleClick() { TextEditorForm form = new TextEditorForm(); if (GetDescriptionText() == "") { form.ShowDialog("Enter a brief description about your application."); } else { form.ShowDialog(GetDescriptionText()); } SetDescriptionText(form.GetText()); form.Dispose(); }