SSQLE  1.0
Simple SQL Editor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SSQLE.SaveQueryDialog Class Reference

Simple form representing a dialog window asking the user for name for the query to be saved. Once shown, it forbids the user to change the focus to it's parrent. More...

Inheritance diagram for SSQLE.SaveQueryDialog:

Public Member Functions

 SaveQueryDialog (Editor editor)
 Constructs new instance of the dialog that is not shown yet. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Private Member Functions

void btn_save_Click (object sender, EventArgs e)
 Handler, that is executed whenever user clicks on Save button in the Dialog window. More...
 
void btn_cancel_Click (object sender, EventArgs e)
 Handler, that is executed whenever user clicks on Save button in the Dialog window. More...
 
void InitializeComponent ()
 Required method for Designer support - do not modify the contents of this method with the code editor. More...
 

Static Private Member Functions

static bool ValidateTextBoxForName (TextBox nameTextBox)
 Checks, whether text in nameTextBox is valid name. Decays to ConnectionManager.ValidateTextBoxForIdentifier More...
 

Private Attributes

readonly Editor editor
 Reference to Editor. More...
 
System.ComponentModel.IContainer components = null
 Required designer variable. More...
 
System.Windows.Forms.Label lbl_description
 
System.Windows.Forms.Button btn_save
 
System.Windows.Forms.Button btn_cancel
 
System.Windows.Forms.TextBox name
 

Detailed Description

Simple form representing a dialog window asking the user for name for the query to be saved. Once shown, it forbids the user to change the focus to it's parrent.

Constructor & Destructor Documentation

SSQLE.SaveQueryDialog.SaveQueryDialog ( Editor  editor)

Constructs new instance of the dialog that is not shown yet.

Parameters
editorReference to Editor.

Member Function Documentation

void SSQLE.SaveQueryDialog.btn_cancel_Click ( object  sender,
EventArgs  e 
)
private

Handler, that is executed whenever user clicks on Save button in the Dialog window.

Parameters
senderButton, that was clicked on.
eEvent arguments.
void SSQLE.SaveQueryDialog.btn_save_Click ( object  sender,
EventArgs  e 
)
private

Handler, that is executed whenever user clicks on Save button in the Dialog window.

Parameters
senderButton, that was clicked on.
eEvent arguments.
override void SSQLE.SaveQueryDialog.Dispose ( bool  disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.
void SSQLE.SaveQueryDialog.InitializeComponent ( )
private

Required method for Designer support - do not modify the contents of this method with the code editor.

static bool SSQLE.SaveQueryDialog.ValidateTextBoxForName ( TextBox  nameTextBox)
staticprivate

Checks, whether text in nameTextBox is valid name. Decays to ConnectionManager.ValidateTextBoxForIdentifier

Parameters
nameTextBoxTextBox to be validated.
Returns
True, if nameTextBox contains a valid name, False otherwise.

Member Data Documentation

System.Windows.Forms.Button SSQLE.SaveQueryDialog.btn_cancel
private
System.Windows.Forms.Button SSQLE.SaveQueryDialog.btn_save
private
System.ComponentModel.IContainer SSQLE.SaveQueryDialog.components = null
private

Required designer variable.

readonly Editor SSQLE.SaveQueryDialog.editor
private

Reference to Editor.

System.Windows.Forms.Label SSQLE.SaveQueryDialog.lbl_description
private
System.Windows.Forms.TextBox SSQLE.SaveQueryDialog.name
private

The documentation for this class was generated from the following files: