|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace JocysCom.Sql.ScriptsGenerator
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
public struct TabPages
{
public static TabPage GenerateDataBaseScripts;
public static TabPage GenerateActionScripts;
public static TabPage ProcedureHeaders;
public static TabPage XmlCommentsExtractTest;
}
public struct TabControls
{
public static Controls.GenerateDataBaseScripts GenerateDataBaseScripts;
public static Controls.GenerateActionScripts GenerateActionScripts;
public static Controls.ProcedureHeaders ProcedureHeaders;
public static Controls.XmlCommentsExtractTest XmlCommentsExtractTest;
}
private void MainForm_Load(object sender, EventArgs e)
{
//-------------------------------------------------
TabControls.GenerateActionScripts = new Controls.GenerateActionScripts();
TabControls.GenerateActionScripts.Dock = System.Windows.Forms.DockStyle.Fill;
TabPages.GenerateActionScripts = new TabPage("Generate Action Scripts");
TabPages.GenerateActionScripts.Controls.Add(TabControls.GenerateActionScripts);
MainTabControl.TabPages.Add(TabPages.GenerateActionScripts);
//-------------------------------------------------
TabControls.GenerateDataBaseScripts = new Controls.GenerateDataBaseScripts();
TabControls.GenerateDataBaseScripts.Dock = System.Windows.Forms.DockStyle.Fill;
TabPages.GenerateDataBaseScripts = new TabPage("Generate Database Scripts");
TabPages.GenerateDataBaseScripts.Controls.Add(TabControls.GenerateDataBaseScripts);
//MainTabControl.TabPages.Add(TabPages.GenerateDataBaseScripts);
//-------------------------------------------------
TabControls.ProcedureHeaders = new Controls.ProcedureHeaders();
TabControls.ProcedureHeaders.Dock = System.Windows.Forms.DockStyle.Fill;
TabPages.ProcedureHeaders = new TabPage("Procedure Headers");
TabPages.ProcedureHeaders.Controls.Add(TabControls.ProcedureHeaders);
//MainTabControl.TabPages.Add(TabPages.ProcedureHeaders);
//-------------------------------------------------
TabControls.XmlCommentsExtractTest = new Controls.XmlCommentsExtractTest();
TabControls.XmlCommentsExtractTest.Dock = System.Windows.Forms.DockStyle.Fill;
TabPages.XmlCommentsExtractTest = new TabPage("XML Comments Extract Test");
TabPages.XmlCommentsExtractTest.Controls.Add(TabControls.XmlCommentsExtractTest);
//MainTabControl.TabPages.Add(TabPages.XmlCommentsExtractTest);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.