class: GetName

public class: GetName
Author:
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 3.12.2005 12:42:43; Modified: 4.12.2005 12:36:26;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {54FF6F0F-290B-4fba-B0D8-A6E5B598673D}
Simple dialog for getting some string from a user.

 

Goto: Fields, Methods

Extends: ToolWindow

See also: ToolWindow

Appears in: Gui

Connections
 
GetName Attributes
Attribute Details
private System.Windows.Forms.Label
  label1
private System.Windows.Forms.Button
  BTCancel
private System.Windows.Forms.Button
  BTOk
private System.Windows.Forms.TextBox
  TBText
private string
  description
private System.ComponentModel.Container
  components
Initial: null
Notes: Required designer variable.

 
GetName Methods
Operation Details
public
GetName():
Sequential
Notes: Constructor.
public
GetName(
   string label,
   string descr,
   string okButtonDesc,
   string cancelButtonDesc):
Sequential
Tags: initializer=this(label, descr)
Notes: Constructor.
protected
Dispose(
   bool disposing):void
Sequential
Tags: override=true
Notes: Clean up any resources being used.
private
InitializeComponent():void
Sequential
Notes: Required method for Designer support - do not modify the contents of this method with the code editor.
private
BTOk_Click(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Click event of Ok button. Checks if the string is not empty.
private
TBText_TextChanged(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Text changed event. It enables or disables Ok button according to an emptyness of the text.
private
GetName_Load(
   object sender,
   System.EventArgs e):void
Sequential
Notes: Load form event.
public
Description():string
Sequential <<property>>
Notes: Property Description - the string from a user.