473,761 Members | 3,651 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.Data.Dat aColumn' does not contain a definition for 'Windows' ??

Hi,

I recently got an error and I don't know how to fix it:
Error 1 'System.Data.Da taColumn' does not contain a definition for
'Windows' C:\c#\CsharpPRO \Form1.Designer .cs 304 77 CsharpPRO

I am note sure what to do because all propertiers work, except the
System.Data.Dat aColumn..
I didn't write any code by hand and used the visual studio to set the
properties..

Whats wrong here?

(I commented the problematic parts out..)
-----------------
complete sourcefile:
using System.Windows;
namespace CsharpPRO
{
partial class Form1
{
/// <summary>
/// Erforderliche Designervariabl e.
/// </summary>
private System.Componen tModel.IContain er components = null;

/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing ">True, wenn verwaltete
Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Disp ose();
}
base.Dispose(di sposing);
}

#region Vom Windows Form-Designer generierter Code

/// <summary>
/// Erforderliche Methode für die Designerunterst ützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor
geändert werden.
/// </summary>
private void InitializeCompo nent()
{
this.menuStrip1 = new System.Windows. Forms.MenuStrip ();
this.toolStripM enuItem1 = new
System.Windows. Forms.ToolStrip MenuItem();
this.neuToolStr ipMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.toolStripS eparator2 = new
System.Windows. Forms.ToolStrip Separator();
this.ladenToolS tripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.speichernT oolStripMenuIte m = new
System.Windows. Forms.ToolStrip MenuItem();
this.closeToolS tripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.toolStripS eparator1 = new
System.Windows. Forms.ToolStrip Separator();
this.beendenToo lStripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.extrasTool StripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.generiereP asswortToolStri pMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.hilfeToolS tripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.infoToolSt ripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.PasswordDB = new System.Data.Dat aSet();
this.PwData = new System.Data.Dat aTable();
this.Username = new System.Data.Dat aColumn();
this.Password = new System.Data.Dat aColumn();
this.System = new System.Data.Dat aColumn();
this.PasswordGr idView1 = new
System.Windows. Forms.DataGridV iew();
this.tabControl 1 = new
System.Windows. Forms.TabContro l();
this.tabPage1 = new System.Windows. Forms.TabPage() ;
this.tabPage2 = new System.Windows. Forms.TabPage() ;
this.checkSpeci al = new
System.Windows. Forms.CheckBox( );
this.check_Numb ers = new
System.Windows. Forms.CheckBox( );
this.check_HCas e = new System.Windows. Forms.CheckBox( );
this.check_LCas e = new System.Windows. Forms.CheckBox( );
this.openFileDi alog1 = new
System.Windows. Forms.OpenFileD ialog();
this.saveFileDi alog1 = new
System.Windows. Forms.SaveFileD ialog();
this.usernameDa taGridViewTextB oxColumn = new
System.Windows. Forms.DataGridV iewTextBoxColum n();
this.passwordDa taGridViewTextB oxColumn = new
System.Windows. Forms.DataGridV iewTextBoxColum n();
this.systemData GridViewTextBox Column = new
System.Windows. Forms.DataGridV iewTextBoxColum n();
this.menuStrip1 .SuspendLayout( );

((System.Compon entModel.ISuppo rtInitialize)(t his.PasswordDB) ).BeginInit();

((System.Compon entModel.ISuppo rtInitialize)(t his.PwData)).Be ginInit();

((System.Compon entModel.ISuppo rtInitialize)(t his.PasswordGri dView1)).BeginI nit();
this.tabControl 1.SuspendLayout ();
this.tabPage1.S uspendLayout();
this.tabPage2.S uspendLayout();
this.SuspendLay out();
//
// menuStrip1
//
this.menuStrip1 .Items.AddRange (new
System.Windows. Forms.ToolStrip Item[] {
this.toolStripM enuItem1,
this.extrasTool StripMenuItem,
this.hilfeToolS tripMenuItem});
this.menuStrip1 .Location = new System.Drawing. Point(0,
0);
this.menuStrip1 .Name = "menuStrip1 ";
this.menuStrip1 .Size = new System.Drawing. Size(443,
24);
this.menuStrip1 .TabIndex = 0;
this.menuStrip1 .Text = "menuStrip1 ";
//
// toolStripMenuIt em1
//
this.toolStripM enuItem1.DropDo wnItems.AddRang e(new
System.Windows. Forms.ToolStrip Item[] {
this.neuToolStr ipMenuItem,
this.toolStripS eparator2,
this.ladenToolS tripMenuItem,
this.speichernT oolStripMenuIte m,
this.closeToolS tripMenuItem,
this.toolStripS eparator1,
this.beendenToo lStripMenuItem} );
this.toolStripM enuItem1.Name = "toolStripMenuI tem1";
this.toolStripM enuItem1.Size = new
System.Drawing. Size(35, 20);
this.toolStripM enuItem1.Text = "File";
//
// neuToolStripMen uItem
//
this.neuToolStr ipMenuItem.Imag e =
global::CsharpP RO.Properties.R esources.buch;
this.neuToolStr ipMenuItem.Name =
"neuToolStripMe nuItem";
this.neuToolStr ipMenuItem.Size = new
System.Drawing. Size(111, 22);
this.neuToolStr ipMenuItem.Text = "New";
this.neuToolStr ipMenuItem.Clic k += new
System.EventHan dler(this.neuTo olStripMenuItem _Click);
//
// toolStripSepara tor2
//
this.toolStripS eparator2.Name = "toolStripSepar ator2";
this.toolStripS eparator2.Size = new
System.Drawing. Size(108, 6);
//
// ladenToolStripM enuItem
//
this.ladenToolS tripMenuItem.Im age =
global::CsharpP RO.Properties.R esources.ordner ;
this.ladenToolS tripMenuItem.Na me =
"ladenToolStrip MenuItem";
this.ladenToolS tripMenuItem.Si ze = new
System.Drawing. Size(111, 22);
this.ladenToolS tripMenuItem.Te xt = "Load";
this.ladenToolS tripMenuItem.Cl ick += new
System.EventHan dler(this.laden ToolStripMenuIt em_Click);
//
// speichernToolSt ripMenuItem
//
this.speichernT oolStripMenuIte m.Image =
global::CsharpP RO.Properties.R esources.action _save;
this.speichernT oolStripMenuIte m.Name =
"speichernToolS tripMenuItem";
this.speichernT oolStripMenuIte m.Size = new
System.Drawing. Size(111, 22);
this.speichernT oolStripMenuIte m.Text = "Save";
this.speichernT oolStripMenuIte m.Click += new
System.EventHan dler(this.speic hernToolStripMe nuItem_Click);
//
// closeToolStripM enuItem
//
this.closeToolS tripMenuItem.Na me =
"closeToolStrip MenuItem";
this.closeToolS tripMenuItem.Si ze = new
System.Drawing. Size(111, 22);
this.closeToolS tripMenuItem.Te xt = "Close";
this.closeToolS tripMenuItem.Cl ick += new
System.EventHan dler(this.close ToolStripMenuIt em_Click);
//
// toolStripSepara tor1
//
this.toolStripS eparator1.Name = "toolStripSepar ator1";
this.toolStripS eparator1.Size = new
System.Drawing. Size(108, 6);
//
// beendenToolStri pMenuItem
//
this.beendenToo lStripMenuItem. Image =
global::CsharpP RO.Properties.R esources.action _stop;
this.beendenToo lStripMenuItem. Name =
"beendenToolStr ipMenuItem";
this.beendenToo lStripMenuItem. Size = new
System.Drawing. Size(111, 22);
this.beendenToo lStripMenuItem. Text = "Exit";
this.beendenToo lStripMenuItem. Click += new
System.EventHan dler(this.beend enToolStripMenu Item_Click);
//
// extrasToolStrip MenuItem
//
this.extrasTool StripMenuItem.D ropDownItems.Ad dRange(new
System.Windows. Forms.ToolStrip Item[] {
this.generiereP asswortToolStri pMenuItem});
this.extrasTool StripMenuItem.N ame =
"extrasToolStri pMenuItem";
this.extrasTool StripMenuItem.S ize = new
System.Drawing. Size(50, 20);
this.extrasTool StripMenuItem.T ext = "Extras";
//
// generierePasswo rtToolStripMenu Item
//
this.generiereP asswortToolStri pMenuItem.Image =
global::CsharpP RO.Properties.R esources.zip_ad d;
this.generiereP asswortToolStri pMenuItem.Name =
"generierePassw ortToolStripMen uItem";
this.generiereP asswortToolStri pMenuItem.Size = new
System.Drawing. Size(186, 22);
this.generiereP asswortToolStri pMenuItem.Text =
"Password generation";
this.generiereP asswortToolStri pMenuItem.Click += new
System.EventHan dler(this.gener ierePasswortToo lStripMenuItem_ Click);
//
// hilfeToolStripM enuItem
//
this.hilfeToolS tripMenuItem.Dr opDownItems.Add Range(new
System.Windows. Forms.ToolStrip Item[] {
this.infoToolSt ripMenuItem});
this.hilfeToolS tripMenuItem.Na me =
"hilfeToolStrip MenuItem";
this.hilfeToolS tripMenuItem.Si ze = new
System.Drawing. Size(40, 20);
this.hilfeToolS tripMenuItem.Te xt = "Help";
//
// infoToolStripMe nuItem
//
this.infoToolSt ripMenuItem.Ima ge =
global::CsharpP RO.Properties.R esources.help;
this.infoToolSt ripMenuItem.Nam e =
"infoToolStripM enuItem";
this.infoToolSt ripMenuItem.Siz e = new
System.Drawing. Size(105, 22);
this.infoToolSt ripMenuItem.Tex t = "Info";
this.infoToolSt ripMenuItem.Cli ck += new
System.EventHan dler(this.infoT oolStripMenuIte m_Click);
//
// PasswordDB
//
this.PasswordDB .DataSetName = "PasswordDB ";
this.PasswordDB .Tables.AddRang e(new
System.Data.Dat aTable[] {
this.PwData});
//
// PwData
//
this.PwData.Col umns.AddRange(n ew
System.Data.Dat aColumn[] {
this.Username,
this.Password,
this.System});
this.PwData.Tab leName = "PwData";
//
// Username
//
this.Username.C olumnName = "Username";
//
// Password
//
this.Password.C olumnName = "Password";
//
// System
//
this.System.Col umnName = "System";
//
// PasswordGridVie w1
//
this.PasswordGr idView1.AutoGen erateColumns = false;
this.PasswordGr idView1.Columns .AddRange(new
System.Windows. Forms.DataGridV iewColumn[] {
this.usernameDa taGridViewTextB oxColumn,
this.passwordDa taGridViewTextB oxColumn,
this.systemData GridViewTextBox Column});
this.PasswordGr idView1.DataMem ber = "PwData";
this.PasswordGr idView1.DataSou rce = this.PasswordDB ;
this.PasswordGr idView1.Locatio n = new
System.Drawing. Point(0, 0);
this.PasswordGr idView1.Name = "PasswordGridVi ew1";
this.PasswordGr idView1.Size = new
System.Drawing. Size(429, 225);
this.PasswordGr idView1.TabInde x = 1;
//
// tabControl1
//
this.tabControl 1.Controls.Add( this.tabPage1);
this.tabControl 1.Controls.Add( this.tabPage2);
this.tabControl 1.Location = new System.Drawing. Point(0,
27);
this.tabControl 1.Name = "tabControl 1";
this.tabControl 1.SelectedIndex = 0;
this.tabControl 1.Size = new System.Drawing. Size(443,
251);
this.tabControl 1.TabIndex = 2;
//
// tabPage1
//
this.tabPage1.C ontrols.Add(thi s.PasswordGridV iew1);
this.tabPage1.L ocation = new System.Drawing. Point(4,
22);
this.tabPage1.N ame = "tabPage1";
this.tabPage1.P adding = new
System.Windows. Forms.Padding(3 );
this.tabPage1.S ize = new System.Drawing. Size(435, 225);
this.tabPage1.T abIndex = 0;
this.tabPage1.T ext = "Password Database";
this.tabPage1.U seVisualStyleBa ckColor = true;
//
// tabPage2
//
this.tabPage2.C ontrols.Add(thi s.checkSpecial) ;
this.tabPage2.C ontrols.Add(thi s.check_Numbers );
this.tabPage2.C ontrols.Add(thi s.check_HCase);
this.tabPage2.C ontrols.Add(thi s.check_LCase);
this.tabPage2.L ocation = new System.Drawing. Point(4,
22);
this.tabPage2.N ame = "tabPage2";
this.tabPage2.P adding = new
System.Windows. Forms.Padding(3 );
this.tabPage2.S ize = new System.Drawing. Size(435, 225);
this.tabPage2.T abIndex = 1;
this.tabPage2.T ext = "Password Generator";
this.tabPage2.U seVisualStyleBa ckColor = true;
//
// checkSpecial
//
this.checkSpeci al.AutoSize = true;
this.checkSpeci al.Location = new
System.Drawing. Point(326, 154);
this.checkSpeci al.Name = "checkSpeci al";
this.checkSpeci al.Size = new System.Drawing. Size(61,
17);
this.checkSpeci al.TabIndex = 3;
this.checkSpeci al.Text = "Special";
this.checkSpeci al.UseVisualSty leBackColor = true;
//
// check_Numbers
//
this.check_Numb ers.AutoSize = true;
this.check_Numb ers.Location = new
System.Drawing. Point(326, 130);
this.check_Numb ers.Name = "check_Numbers" ;
this.check_Numb ers.Size = new System.Drawing. Size(68,
17);
this.check_Numb ers.TabIndex = 2;
this.check_Numb ers.Text = "Numbers";
this.check_Numb ers.UseVisualSt yleBackColor = true;
//
// check_HCase
//
this.check_HCas e.AutoSize = true;
this.check_HCas e.Location = new
System.Drawing. Point(237, 154);
this.check_HCas e.Name = "check_HCas e";
this.check_HCas e.Size = new System.Drawing. Size(75,
17);
this.check_HCas e.TabIndex = 1;
this.check_HCas e.Text = "High Case";
this.check_HCas e.UseVisualStyl eBackColor = true;
this.check_HCas e.CheckedChange d += new
System.EventHan dler(this.check Box1_CheckedCha nged);
//
// check_LCase
//
this.check_LCas e.AutoSize = true;
this.check_LCas e.Location = new
System.Drawing. Point(237, 130);
this.check_LCas e.Name = "check_LCas e";
this.check_LCas e.Size = new System.Drawing. Size(82,
17);
this.check_LCas e.TabIndex = 0;
this.check_LCas e.Text = "Lower Case";
this.check_LCas e.UseVisualStyl eBackColor = true;
//
// openFileDialog1
//
this.openFileDi alog1.FileName = "openFileDialog 1";
//
// usernameDataGri dViewTextBoxCol umn
//

this.usernameDa taGridViewTextB oxColumn.AutoSi zeMode =
System.Windows. Forms.DataGridV iewAutoSizeColu mnMode.Fill;
this.usernameDa taGridViewTextB oxColumn.DataPr opertyName
= "Username";
this.usernameDa taGridViewTextB oxColumn.Header Text =
"Username";
this.usernameDa taGridViewTextB oxColumn.Name =
"usernameDataGr idViewTextBoxCo lumn";
// this.usernameDa taGridViewTextB oxColumn.Resiza ble =
System.Windows. Forms.DataGridV iewTriState.Fal se;
//
// passwordDataGri dViewTextBoxCol umn
//
//
this.passwordDa taGridViewTextB oxColumn.AutoSi zeMode =
System.Windows. Forms.DataGridV iewAutoSizeColu mnMode.Fill;
this.passwordDa taGridViewTextB oxColumn.DataPr opertyName
= "Password";
this.passwordDa taGridViewTextB oxColumn.Header Text =
"Password";
this.passwordDa taGridViewTextB oxColumn.Name =
"passwordDataGr idViewTextBoxCo lumn";
//this.passwordDa taGridViewTextB oxColumn.Resiza ble =
System.Windows. Forms.DataGridV iewTriState.Fal se;
//
// systemDataGridV iewTextBoxColum n
//

// this.systemData GridViewTextBox Column.AutoSize Mode =
System.Windows. Forms.DataGridV iewAutoSizeColu mnMode.Fill;
this.systemData GridViewTextBox Column.DataProp ertyName =
"System";
this.systemData GridViewTextBox Column.HeaderTe xt =
"System";
this.systemData GridViewTextBox Column.Name =
"systemDataGrid ViewTextBoxColu mn";
// this.systemData GridViewTextBox Column.Resizabl e =
System.Windows. Forms.DataGridV iewTriState.Fal se;
//
// Form1
//
this.ClientSize = new System.Drawing. Size(443, 275);
this.Controls.A dd(this.tabCont rol1);
this.Controls.A dd(this.menuStr ip1);
this.MainMenuSt rip = this.menuStrip1 ;
this.Name = "Form1";
this.Text = "Passwordmanage r 2007 Pro";
this.menuStrip1 .ResumeLayout(f alse);
this.menuStrip1 .PerformLayout( );

((System.Compon entModel.ISuppo rtInitialize)(t his.PasswordDB) ).EndInit();

((System.Compon entModel.ISuppo rtInitialize)(t his.PwData)).En dInit();

((System.Compon entModel.ISuppo rtInitialize)(t his.PasswordGri dView1)).EndIni t();
this.tabControl 1.ResumeLayout( false);
this.tabPage1.R esumeLayout(fal se);
this.tabPage2.R esumeLayout(fal se);
this.tabPage2.P erformLayout();
this.ResumeLayo ut(false);
this.PerformLay out();

}

#endregion

private System.Windows. Forms.MenuStrip menuStrip1;
private System.Windows. Forms.ToolStrip MenuItem
toolStripMenuIt em1;
private System.Windows. Forms.ToolStrip MenuItem
speichernToolSt ripMenuItem;
private System.Windows. Forms.ToolStrip MenuItem
ladenToolStripM enuItem;
private System.Windows. Forms.ToolStrip MenuItem
beendenToolStri pMenuItem;
private System.Windows. Forms.ToolStrip MenuItem
hilfeToolStripM enuItem;
private System.Windows. Forms.ToolStrip MenuItem
infoToolStripMe nuItem;
private System.Windows. Forms.ToolStrip MenuItem
extrasToolStrip MenuItem;
private System.Windows. Forms.ToolStrip MenuItem
generierePasswo rtToolStripMenu Item;
private System.Windows. Forms.ToolStrip MenuItem
neuToolStripMen uItem;
private System.Windows. Forms.ToolStrip Separator
toolStripSepara tor2;
private System.Windows. Forms.ToolStrip Separator
toolStripSepara tor1;
private System.Data.Dat aSet PasswordDB;
private System.Data.Dat aTable PwData;
private System.Data.Dat aColumn Username;
private System.Data.Dat aColumn Password;
private System.Data.Dat aColumn System;
private System.Windows. Forms.DataGridV iew
PasswordGridVie w1;
private System.Windows. Forms.TabContro l tabControl1;
private System.Windows. Forms.TabPage tabPage1;
private System.Windows. Forms.TabPage tabPage2;
private System.Windows. Forms.CheckBox check_LCase;
private System.Windows. Forms.CheckBox check_Numbers;
private System.Windows. Forms.CheckBox check_HCase;
private System.Windows. Forms.CheckBox checkSpecial;
private System.Windows. Forms.OpenFileD ialog
openFileDialog1 ;
private System.Windows. Forms.SaveFileD ialog
saveFileDialog1 ;
private System.Windows. Forms.ToolStrip MenuItem
closeToolStripM enuItem;
private System.Windows. Forms.DataGridV iewTextBoxColum n
usernameDataGri dViewTextBoxCol umn;
private System.Windows. Forms.DataGridV iewTextBoxColum n
passwordDataGri dViewTextBoxCol umn;
private System.Windows. Forms.DataGridV iewTextBoxColum n
systemDataGridV iewTextBoxColum n;
}
}

Dec 16 '06 #1
1 7847
Hi

Insted of pasting this long code can you please write down the steps
that you performed???

Also try performing the same steps again,,, I mean try to reproduce the
issue. List down all the steps. (I am sure this will help resolving the
problem, as you said all the code is genarated by VS and there should
not be any problem unless you did not install visual studio properly).

Thanks
-Srinivas.
mf*******@yahoo .com wrote:
Hi,

I recently got an error and I don't know how to fix it:
Error 1 'System.Data.Da taColumn' does not contain a definition for
'Windows' C:\c#\CsharpPRO \Form1.Designer .cs 304 77 CsharpPRO

I am note sure what to do because all propertiers work, except the
System.Data.Dat aColumn..
I didn't write any code by hand and used the visual studio to set the
properties..

Whats wrong here?

(I commented the problematic parts out..)
-----------------
complete sourcefile:
using System.Windows;
namespace CsharpPRO
{
partial class Form1
{
/// <summary>
/// Erforderliche Designervariabl e.
/// </summary>
private System.Componen tModel.IContain er components = null;

/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
/// <param name="disposing ">True, wenn verwaltete
Ressourcen gelöscht werden sollen; andernfalls False.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Disp ose();
}
base.Dispose(di sposing);
}

#region Vom Windows Form-Designer generierter Code

/// <summary>
/// Erforderliche Methode für die Designerunterst ützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor
geändert werden.
/// </summary>
private void InitializeCompo nent()
{
this.menuStrip1 = new System.Windows. Forms.MenuStrip ();
this.toolStripM enuItem1 = new
System.Windows. Forms.ToolStrip MenuItem();
this.neuToolStr ipMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.toolStripS eparator2 = new
System.Windows. Forms.ToolStrip Separator();
this.ladenToolS tripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.speichernT oolStripMenuIte m = new
System.Windows. Forms.ToolStrip MenuItem();
this.closeToolS tripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.toolStripS eparator1 = new
System.Windows. Forms.ToolStrip Separator();
this.beendenToo lStripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.extrasTool StripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.generiereP asswortToolStri pMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.hilfeToolS tripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.infoToolSt ripMenuItem = new
System.Windows. Forms.ToolStrip MenuItem();
this.PasswordDB = new System.Data.Dat aSet();
this.PwData = new System.Data.Dat aTable();
this.Username = new System.Data.Dat aColumn();
this.Password = new System.Data.Dat aColumn();
this.System = new System.Data.Dat aColumn();
this.PasswordGr idView1 = new
System.Windows. Forms.DataGridV iew();
this.tabControl 1 = new
System.Windows. Forms.TabContro l();
this.tabPage1 = new System.Windows. Forms.TabPage() ;
this.tabPage2 = new System.Windows. Forms.TabPage() ;
this.checkSpeci al = new
System.Windows. Forms.CheckBox( );
this.check_Numb ers = new
System.Windows. Forms.CheckBox( );
this.check_HCas e = new System.Windows. Forms.CheckBox( );
this.check_LCas e = new System.Windows. Forms.CheckBox( );
this.openFileDi alog1 = new
System.Windows. Forms.OpenFileD ialog();
this.saveFileDi alog1 = new
System.Windows. Forms.SaveFileD ialog();
this.usernameDa taGridViewTextB oxColumn = new
System.Windows. Forms.DataGridV iewTextBoxColum n();
this.passwordDa taGridViewTextB oxColumn = new
System.Windows. Forms.DataGridV iewTextBoxColum n();
this.systemData GridViewTextBox Column = new
System.Windows. Forms.DataGridV iewTextBoxColum n();
this.menuStrip1 .SuspendLayout( );

((System.Compon entModel.ISuppo rtInitialize)(t his.PasswordDB) ).BeginInit();

((System.Compon entModel.ISuppo rtInitialize)(t his.PwData)).Be ginInit();

((System.Compon entModel.ISuppo rtInitialize)(t his.PasswordGri dView1)).BeginI nit();
this.tabControl 1.SuspendLayout ();
this.tabPage1.S uspendLayout();
this.tabPage2.S uspendLayout();
this.SuspendLay out();
//
// menuStrip1
//
this.menuStrip1 .Items.AddRange (new
System.Windows. Forms.ToolStrip Item[] {
this.toolStripM enuItem1,
this.extrasTool StripMenuItem,
this.hilfeToolS tripMenuItem});
this.menuStrip1 .Location = new System.Drawing. Point(0,
0);
this.menuStrip1 .Name = "menuStrip1 ";
this.menuStrip1 .Size = new System.Drawing. Size(443,
24);
this.menuStrip1 .TabIndex = 0;
this.menuStrip1 .Text = "menuStrip1 ";
//
// toolStripMenuIt em1
//
this.toolStripM enuItem1.DropDo wnItems.AddRang e(new
System.Windows. Forms.ToolStrip Item[] {
this.neuToolStr ipMenuItem,
this.toolStripS eparator2,
this.ladenToolS tripMenuItem,
this.speichernT oolStripMenuIte m,
this.closeToolS tripMenuItem,
this.toolStripS eparator1,
this.beendenToo lStripMenuItem} );
this.toolStripM enuItem1.Name = "toolStripMenuI tem1";
this.toolStripM enuItem1.Size = new
System.Drawing. Size(35, 20);
this.toolStripM enuItem1.Text = "File";
//
// neuToolStripMen uItem
//
this.neuToolStr ipMenuItem.Imag e =
global::CsharpP RO.Properties.R esources.buch;
this.neuToolStr ipMenuItem.Name =
"neuToolStripMe nuItem";
this.neuToolStr ipMenuItem.Size = new
System.Drawing. Size(111, 22);
this.neuToolStr ipMenuItem.Text = "New";
this.neuToolStr ipMenuItem.Clic k += new
System.EventHan dler(this.neuTo olStripMenuItem _Click);
//
// toolStripSepara tor2
//
this.toolStripS eparator2.Name = "toolStripSepar ator2";
this.toolStripS eparator2.Size = new
System.Drawing. Size(108, 6);
//
// ladenToolStripM enuItem
//
this.ladenToolS tripMenuItem.Im age =
global::CsharpP RO.Properties.R esources.ordner ;
this.ladenToolS tripMenuItem.Na me =
"ladenToolStrip MenuItem";
this.ladenToolS tripMenuItem.Si ze = new
System.Drawing. Size(111, 22);
this.ladenToolS tripMenuItem.Te xt = "Load";
this.ladenToolS tripMenuItem.Cl ick += new
System.EventHan dler(this.laden ToolStripMenuIt em_Click);
//
// speichernToolSt ripMenuItem
//
this.speichernT oolStripMenuIte m.Image =
global::CsharpP RO.Properties.R esources.action _save;
this.speichernT oolStripMenuIte m.Name =
"speichernToolS tripMenuItem";
this.speichernT oolStripMenuIte m.Size = new
System.Drawing. Size(111, 22);
this.speichernT oolStripMenuIte m.Text = "Save";
this.speichernT oolStripMenuIte m.Click += new
System.EventHan dler(this.speic hernToolStripMe nuItem_Click);
//
// closeToolStripM enuItem
//
this.closeToolS tripMenuItem.Na me =
"closeToolStrip MenuItem";
this.closeToolS tripMenuItem.Si ze = new
System.Drawing. Size(111, 22);
this.closeToolS tripMenuItem.Te xt = "Close";
this.closeToolS tripMenuItem.Cl ick += new
System.EventHan dler(this.close ToolStripMenuIt em_Click);
//
// toolStripSepara tor1
//
this.toolStripS eparator1.Name = "toolStripSepar ator1";
this.toolStripS eparator1.Size = new
System.Drawing. Size(108, 6);
//
// beendenToolStri pMenuItem
//
this.beendenToo lStripMenuItem. Image =
global::CsharpP RO.Properties.R esources.action _stop;
this.beendenToo lStripMenuItem. Name =
"beendenToolStr ipMenuItem";
this.beendenToo lStripMenuItem. Size = new
System.Drawing. Size(111, 22);
this.beendenToo lStripMenuItem. Text = "Exit";
this.beendenToo lStripMenuItem. Click += new
System.EventHan dler(this.beend enToolStripMenu Item_Click);
//
// extrasToolStrip MenuItem
//
this.extrasTool StripMenuItem.D ropDownItems.Ad dRange(new
System.Windows. Forms.ToolStrip Item[] {
this.generiereP asswortToolStri pMenuItem});
this.extrasTool StripMenuItem.N ame =
"extrasToolStri pMenuItem";
this.extrasTool StripMenuItem.S ize = new
System.Drawing. Size(50, 20);
this.extrasTool StripMenuItem.T ext = "Extras";
//
// generierePasswo rtToolStripMenu Item
//
this.generiereP asswortToolStri pMenuItem.Image =
global::CsharpP RO.Properties.R esources.zip_ad d;
this.generiereP asswortToolStri pMenuItem.Name =
"generierePassw ortToolStripMen uItem";
this.generiereP asswortToolStri pMenuItem.Size = new
System.Drawing. Size(186, 22);
this.generiereP asswortToolStri pMenuItem.Text =
"Password generation";
this.generiereP asswortToolStri pMenuItem.Click += new
System.EventHan dler(this.gener ierePasswortToo lStripMenuItem_ Click);
//
// hilfeToolStripM enuItem
//
this.hilfeToolS tripMenuItem.Dr opDownItems.Add Range(new
System.Windows. Forms.ToolStrip Item[] {
this.infoToolSt ripMenuItem});
this.hilfeToolS tripMenuItem.Na me =
"hilfeToolStrip MenuItem";
this.hilfeToolS tripMenuItem.Si ze = new
System.Drawing. Size(40, 20);
this.hilfeToolS tripMenuItem.Te xt = "Help";
//
// infoToolStripMe nuItem
//
this.infoToolSt ripMenuItem.Ima ge =
global::CsharpP RO.Properties.R esources.help;
this.infoToolSt ripMenuItem.Nam e =
"infoToolStripM enuItem";
this.infoToolSt ripMenuItem.Siz e = new
System.Drawing. Size(105, 22);
this.infoToolSt ripMenuItem.Tex t = "Info";
this.infoToolSt ripMenuItem.Cli ck += new
System.EventHan dler(this.infoT oolStripMenuIte m_Click);
//
// PasswordDB
//
this.PasswordDB .DataSetName = "PasswordDB ";
this.PasswordDB .Tables.AddRang e(new
System.Data.Dat aTable[] {
this.PwData});
//
// PwData
//
this.PwData.Col umns.AddRange(n ew
System.Data.Dat aColumn[] {
this.Username,
this.Password,
this.System});
this.PwData.Tab leName = "PwData";
//
// Username
//
this.Username.C olumnName = "Username";
//
// Password
//
this.Password.C olumnName = "Password";
//
// System
//
this.System.Col umnName = "System";
//
// PasswordGridVie w1
//
this.PasswordGr idView1.AutoGen erateColumns = false;
this.PasswordGr idView1.Columns .AddRange(new
System.Windows. Forms.DataGridV iewColumn[] {
this.usernameDa taGridViewTextB oxColumn,
this.passwordDa taGridViewTextB oxColumn,
this.systemData GridViewTextBox Column});
this.PasswordGr idView1.DataMem ber = "PwData";
this.PasswordGr idView1.DataSou rce = this.PasswordDB ;
this.PasswordGr idView1.Locatio n = new
System.Drawing. Point(0, 0);
this.PasswordGr idView1.Name = "PasswordGridVi ew1";
this.PasswordGr idView1.Size = new
System.Drawing. Size(429, 225);
this.PasswordGr idView1.TabInde x = 1;
//
// tabControl1
//
this.tabControl 1.Controls.Add( this.tabPage1);
this.tabControl 1.Controls.Add( this.tabPage2);
this.tabControl 1.Location = new System.Drawing. Point(0,
27);
this.tabControl 1.Name = "tabControl 1";
this.tabControl 1.SelectedIndex = 0;
this.tabControl 1.Size = new System.Drawing. Size(443,
251);
this.tabControl 1.TabIndex = 2;
//
// tabPage1
//
this.tabPage1.C ontrols.Add(thi s.PasswordGridV iew1);
this.tabPage1.L ocation = new System.Drawing. Point(4,
22);
this.tabPage1.N ame = "tabPage1";
this.tabPage1.P adding = new
System.Windows. Forms.Padding(3 );
this.tabPage1.S ize = new System.Drawing. Size(435, 225);
this.tabPage1.T abIndex = 0;
this.tabPage1.T ext = "Password Database";
this.tabPage1.U seVisualStyleBa ckColor = true;
//
// tabPage2
//
this.tabPage2.C ontrols.Add(thi s.checkSpecial) ;
this.tabPage2.C ontrols.Add(thi s.check_Numbers );
this.tabPage2.C ontrols.Add(thi s.check_HCase);
this.tabPage2.C ontrols.Add(thi s.check_LCase);
this.tabPage2.L ocation = new System.Drawing. Point(4,
22);
this.tabPage2.N ame = "tabPage2";
this.tabPage2.P adding = new
System.Windows. Forms.Padding(3 );
this.tabPage2.S ize = new System.Drawing. Size(435, 225);
this.tabPage2.T abIndex = 1;
this.tabPage2.T ext = "Password Generator";
this.tabPage2.U seVisualStyleBa ckColor = true;
//
// checkSpecial
//
this.checkSpeci al.AutoSize = true;
this.checkSpeci al.Location = new
System.Drawing. Point(326, 154);
this.checkSpeci al.Name = "checkSpeci al";
this.checkSpeci al.Size = new System.Drawing. Size(61,
17);
this.checkSpeci al.TabIndex = 3;
this.checkSpeci al.Text = "Special";
this.checkSpeci al.UseVisualSty leBackColor = true;
//
// check_Numbers
//
this.check_Numb ers.AutoSize = true;
this.check_Numb ers.Location = new
System.Drawing. Point(326, 130);
this.check_Numb ers.Name = "check_Numbers" ;
this.check_Numb ers.Size = new System.Drawing. Size(68,
17);
this.check_Numb ers.TabIndex = 2;
this.check_Numb ers.Text = "Numbers";
this.check_Numb ers.UseVisualSt yleBackColor = true;
//
// check_HCase
//
this.check_HCas e.AutoSize = true;
this.check_HCas e.Location = new
System.Drawing. Point(237, 154);
this.check_HCas e.Name = "check_HCas e";
this.check_HCas e.Size = new System.Drawing. Size(75,
17);
this.check_HCas e.TabIndex = 1;
this.check_HCas e.Text = "High Case";
this.check_HCas e.UseVisualStyl eBackColor = true;
this.check_HCas e.CheckedChange d += new
System.EventHan dler(this.check Box1_CheckedCha nged);
//
// check_LCase
//
this.check_LCas e.AutoSize = true;
this.check_LCas e.Location = new
System.Drawing. Point(237, 130);
this.check_LCas e.Name = "check_LCas e";
this.check_LCas e.Size = new System.Drawing. Size(82,
17);
this.check_LCas e.TabIndex = 0;
this.check_LCas e.Text = "Lower Case";
this.check_LCas e.UseVisualStyl eBackColor = true;
//
// openFileDialog1
//
this.openFileDi alog1.FileName = "openFileDialog 1";
//
// usernameDataGri dViewTextBoxCol umn
//

this.usernameDa taGridViewTextB oxColumn.AutoSi zeMode =
System.Windows. Forms.DataGridV iewAutoSizeColu mnMode.Fill;
this.usernameDa taGridViewTextB oxColumn.DataPr opertyName
= "Username";
this.usernameDa taGridViewTextB oxColumn.Header Text =
"Username";
this.usernameDa taGridViewTextB oxColumn.Name =
"usernameDataGr idViewTextBoxCo lumn";
// this.usernameDa taGridViewTextB oxColumn.Resiza ble =
System.Windows. Forms.DataGridV iewTriState.Fal se;
//
// passwordDataGri dViewTextBoxCol umn
//
//
this.passwordDa taGridViewTextB oxColumn.AutoSi zeMode =
System.Windows. Forms.DataGridV iewAutoSizeColu mnMode.Fill;
this.passwordDa taGridViewTextB oxColumn.DataPr opertyName
= "Password";
this.passwordDa taGridViewTextB oxColumn.Header Text =
"Password";
this.passwordDa taGridViewTextB oxColumn.Name =
"passwordDataGr idViewTextBoxCo lumn";
//this.passwordDa taGridViewTextB oxColumn.Resiza ble =
System.Windows. Forms.DataGridV iewTriState.Fal se;
//
// systemDataGridV iewTextBoxColum n
//

// this.systemData GridViewTextBox Column.AutoSize Mode =
System.Windows. Forms.DataGridV iewAutoSizeColu mnMode.Fill;
this.systemData GridViewTextBox Column.DataProp ertyName =
"System";
this.systemData GridViewTextBox Column.HeaderTe xt =
"System";
this.systemData GridViewTextBox Column.Name =
"systemDataGrid ViewTextBoxColu mn";
// this.systemData GridViewTextBox Column.Resizabl e =
System.Windows. Forms.DataGridV iewTriState.Fal se;
//
// Form1
//
this.ClientSize = new System.Drawing. Size(443, 275);
this.Controls.A dd(this.tabCont rol1);
this.Controls.A dd(this.menuStr ip1);
this.MainMenuSt rip = this.menuStrip1 ;
this.Name = "Form1";
this.Text = "Passwordmanage r 2007 Pro";
this.menuStrip1 .ResumeLayout(f alse);
this.menuStrip1 .PerformLayout( );

((System.Compon entModel.ISuppo rtInitialize)(t his.PasswordDB) ).EndInit();

((System.Compon entModel.ISuppo rtInitialize)(t his.PwData)).En dInit();

((System.Compon entModel.ISuppo rtInitialize)(t his.PasswordGri dView1)).EndIni t();
this.tabControl 1.ResumeLayout( false);
this.tabPage1.R esumeLayout(fal se);
this.tabPage2.R esumeLayout(fal se);
this.tabPage2.P erformLayout();
this.ResumeLayo ut(false);
this.PerformLay out();

}

#endregion

private System.Windows. Forms.MenuStrip menuStrip1;
private System.Windows. Forms.ToolStrip MenuItem
toolStripMenuIt em1;
private System.Windows. Forms.ToolStrip MenuItem
speichernToolSt ripMenuItem;
private System.Windows. Forms.ToolStrip MenuItem
ladenToolStripM enuItem;
private System.Windows. Forms.ToolStrip MenuItem
beendenToolStri pMenuItem;
private System.Windows. Forms.ToolStrip MenuItem
hilfeToolStripM enuItem;
private System.Windows. Forms.ToolStrip MenuItem
infoToolStripMe nuItem;
private System.Windows. Forms.ToolStrip MenuItem
extrasToolStrip MenuItem;
private System.Windows. Forms.ToolStrip MenuItem
generierePasswo rtToolStripMenu Item;
private System.Windows. Forms.ToolStrip MenuItem
neuToolStripMen uItem;
private System.Windows. Forms.ToolStrip Separator
toolStripSepara tor2;
private System.Windows. Forms.ToolStrip Separator
toolStripSepara tor1;
private System.Data.Dat aSet PasswordDB;
private System.Data.Dat aTable PwData;
private System.Data.Dat aColumn Username;
private System.Data.Dat aColumn Password;
private System.Data.Dat aColumn System;
private System.Windows. Forms.DataGridV iew
PasswordGridVie w1;
private System.Windows. Forms.TabContro l tabControl1;
private System.Windows. Forms.TabPage tabPage1;
private System.Windows. Forms.TabPage tabPage2;
private System.Windows. Forms.CheckBox check_LCase;
private System.Windows. Forms.CheckBox check_Numbers;
private System.Windows. Forms.CheckBox check_HCase;
private System.Windows. Forms.CheckBox checkSpecial;
private System.Windows. Forms.OpenFileD ialog
openFileDialog1 ;
private System.Windows. Forms.SaveFileD ialog
saveFileDialog1 ;
private System.Windows. Forms.ToolStrip MenuItem
closeToolStripM enuItem;
private System.Windows. Forms.DataGridV iewTextBoxColum n
usernameDataGri dViewTextBoxCol umn;
private System.Windows. Forms.DataGridV iewTextBoxColum n
passwordDataGri dViewTextBoxCol umn;
private System.Windows. Forms.DataGridV iewTextBoxColum n
systemDataGridV iewTextBoxColum n;
}
}
Dec 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4964
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my webserver runs that part of the script (see attached file, snippet.php), though, it doesn't go through. I don't get an error message or anything...it just returns a "1" (whereas it should return a "0") as far as I can tell. I have read the PHP...
0
2878
by: elcc1958 | last post by:
I need to support a VB6 application that will be receiving disconnected ADODB.Recordset from out DotNet solution. Our dotnet solution deals with System.Data.DataTable. I need to populate a disconnected ADODB.Recordset from System.Data.DataTable data. Below is the source code I am implementing to test the process. I do not get any error, that I can see. The problem I have is that at the end, the recordset seems to be empty. Any...
4
464
by: Bilo | last post by:
I have a Windows Forms Class MainGUI I have declared MainGUI maingui; public System.ComponentModel.Container components = new Container(); in the Class I call another class MediaDriver with the Constructor class MediaDriver {
1
6798
by: Luis Esteban Valencia | last post by:
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0117: 'System.Data.DataTable' does not contain a definition for 'WriteXml' Source Error:
20
1487
by: djc | last post by:
I get this *intermittently* on a utility I am working on. I don't know whats going on but here are a few points about it: - using VS 2005, running on xp sp2 - program uses multiple threadpool threads - only happens when built with the 'release' configuration (no debug flag, compiler optimizations in effect) - no problems in debug config here is the error: Unhandled Exception: System.AccessViolationException: Attempted to read or write...
3
7725
by: Carlos | last post by:
Hi all, I have 2 asp .net 2.0 projects currently being developed. One is in VB .Net and the other in C#. In the VB .Net project I can cross-reference a datatable object using the datatable.rows.item(i).item(j) , but in the C# project I can not do it. That is, I do get: error 'System.Data.DataRowCollection' does not contain a definition for 'Item' They are running under the same development evironment. (i.e. Asp .Net 2.0)
3
4029
by: forest demon | last post by:
for example, let's say I do something like, System.Diagnostics.Process.Start("notepad.exe","sample.txt"); if the user does a SaveAs (in notepad), how can i capture the path that the user selects? thanks...
2
2299
by: mfunkmann | last post by:
Hi there! I have a problem here: I am using System.Data.Column and the Designer wrote follwing Code for me: this.System = new System.Data.DataColumn(); So far great, but furthermore I was setting properties with the Design it generated follwing Code:
2
1995
by: =?Utf-8?B?VGFtbXkgTmVqYWRpYW4=?= | last post by:
Hi, I am using Visual Studio C# windows. Every time I want to use some of the methods in System.Windows.Form such as Clear(), it gives me error message and saying "System.Windows.Forms.TextBox does not contain a definition for 'Clear'". Could someone help me with that. This happen for other methods that are used in many places of the sources I am using but when I want to use them it gives me error message. Thanks -- Nejadian
0
9522
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9948
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9765
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6603
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5215
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3446
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.