📄 methodprop.cs
字号:
/* ---------------------------------------------------------------------------------------------------
*
* PocketUML v0.01.0016
*
*
* Written by Jie Tang.
* Bug report : jiet@msn.com
*
*
* Copyright 2002 James <jiet@msn.com>
* All rights reserved.
*
* This source file(s) may be redistributed unmodified by any means
* PROVIDING they are not sold for profit without the authors expressed
* written consent, and providing that this notice and the authors name
* and all copyright notices remain intact.
*
* Any use of the software in source or binary forms, with or without
* modification, must include, in the user documentation ("About" box and
* printed documentation) and internal comments to the code, notices to
* the end user as follows:
*
* "Portions Copyright 2002 Tang Jie
*
* An email letting me know that you are using it would be nice as well.
* That's not much to ask considering the amount of work that went into
* this.
*
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED. USE IT AT YOUT OWN RISK. THE AUTHOR ACCEPTS NO
* LIABILITY FOR ANY DATA DAMAGE/LOSS THAT THIS PRODUCT MAY CAUSE.
*
*/
//-----------------------------------------------------------------------------------------------------
// Update Information.
//-----------------------------------------------------------------------------------------------------
///
/// PocketUML Namespace
/// Method specification dialog
///
/// PocketUML v0.1
/// Created by Jie Tang 04/10/2002.
///
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace PocketUML
{
namespace DataUI
{
using PocketUML.Data;
/// <summary>
/// Summary description for MethodProp.
/// </summary>
public class MethodProp : System.Windows.Forms.Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public MethodProp()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tabControl1 = new System.Windows.Forms.TabControl();
this.General = new System.Windows.Forms.TabPage();
this.label4 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.radioPrivate = new System.Windows.Forms.RadioButton();
this.radioImplementation = new System.Windows.Forms.RadioButton();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.radioProtected = new System.Windows.Forms.RadioButton();
this.radioPublic = new System.Windows.Forms.RadioButton();
this.parentClassName = new System.Windows.Forms.Label();
this.methodStereotype = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.methodReturn = new System.Windows.Forms.ComboBox();
this.label2 = new System.Windows.Forms.Label();
this.methodName = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.Argument = new System.Windows.Forms.TabPage();
this.arguments = new System.Windows.Forms.ListView();
this.argumentName = new System.Windows.Forms.ColumnHeader();
this.argumentType = new System.Windows.Forms.ColumnHeader();
this.argumentDefault = new System.Windows.Forms.ColumnHeader();
this.label5 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.tabControl1.SuspendLayout();
this.General.SuspendLayout();
this.groupBox1.SuspendLayout();
this.Argument.SuspendLayout();
this.SuspendLayout();
//
// tabControl1
//
this.tabControl1.Appearance = System.Windows.Forms.TabAppearance.FlatButtons;
this.tabControl1.Controls.AddRange(new System.Windows.Forms.Control[] {
this.General,
this.Argument});
this.tabControl1.HotTrack = true;
this.tabControl1.Location = new System.Drawing.Point(8, 8);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(344, 312);
this.tabControl1.TabIndex = 0;
//
// General
//
this.General.Controls.AddRange(new System.Windows.Forms.Control[] {
this.label4,
this.textBox1,
this.radioPrivate,
this.radioImplementation,
this.groupBox1,
this.parentClassName,
this.methodStereotype,
this.label3,
this.methodReturn,
this.label2,
this.methodName,
this.label1});
this.General.Location = new System.Drawing.Point(4, 25);
this.General.Name = "General";
this.General.Size = new System.Drawing.Size(336, 283);
this.General.TabIndex = 0;
this.General.Text = "General";
//
// label4
//
this.label4.Location = new System.Drawing.Point(8, 168);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 16);
this.label4.TabIndex = 11;
this.label4.Text = "Documentation:";
//
// textBox1
//
this.textBox1.AcceptsReturn = true;
this.textBox1.AutoSize = false;
this.textBox1.Location = new System.Drawing.Point(8, 192);
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.Size = new System.Drawing.Size(320, 80);
this.textBox1.TabIndex = 0;
this.textBox1.Text = "";
//
// radioPrivate
//
this.radioPrivate.Enabled = false;
this.radioPrivate.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.radioPrivate.Location = new System.Drawing.Point(152, 136);
this.radioPrivate.Name = "radioPrivate";
this.radioPrivate.Size = new System.Drawing.Size(64, 16);
this.radioPrivate.TabIndex = 2;
this.radioPrivate.Text = "Private";
//
// radioImplementation
//
this.radioImplementation.Enabled = false;
this.radioImplementation.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.radioImplementation.Location = new System.Drawing.Point(216, 136);
this.radioImplementation.Name = "radioImplementation";
this.radioImplementation.Size = new System.Drawing.Size(104, 16);
this.radioImplementation.TabIndex = 3;
this.radioImplementation.Text = "Implementation";
//
// groupBox1
//
this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] {
this.radioProtected,
this.radioPublic});
this.groupBox1.Location = new System.Drawing.Point(8, 112);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(320, 48);
this.groupBox1.TabIndex = 8;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Export Control";
//
// radioProtected
//
this.radioProtected.Enabled = false;
this.radioProtected.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.radioProtected.Location = new System.Drawing.Point(72, 24);
this.radioProtected.Name = "radioProtected";
this.radioProtected.Size = new System.Drawing.Size(72, 16);
this.radioProtected.TabIndex = 1;
this.radioProtected.Text = "Protected";
//
// radioPublic
//
this.radioPublic.Enabled = false;
this.radioPublic.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.radioPublic.Location = new System.Drawing.Point(8, 24);
this.radioPublic.Name = "radioPublic";
this.radioPublic.Size = new System.Drawing.Size(56, 16);
this.radioPublic.TabIndex = 0;
this.radioPublic.Text = "Public";
//
// parentClassName
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -