コード例 #1
0
        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();
        }
コード例 #2
0
        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();
        }