Example #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDnevnikUnos));
     this.gbPodaci           = new System.Windows.Forms.GroupBox();
     this.cbVozilo           = new System.Windows.Forms.ComboBox();
     this.dsVozila1          = new AutoSkola.DSetovi.dsVozila();
     this.cbKategorija       = new System.Windows.Forms.ComboBox();
     this.dsKategorije1      = new AutoSkola.DSetovi.dsKategorije();
     this.cbKandidat         = new System.Windows.Forms.ComboBox();
     this.dsKandidati1       = new AutoSkola.DSetovi.dsKandidati();
     this.cbInstruktor       = new System.Windows.Forms.ComboBox();
     this.dsInstruktori1     = new AutoSkola.DSetovi.dsInstruktori();
     this.lblKandidatID      = new System.Windows.Forms.Label();
     this.lblInstruktorID    = new System.Windows.Forms.Label();
     this.DTPdatumObuke      = new System.Windows.Forms.DateTimePicker();
     this.DTPvrijemeDo       = new System.Windows.Forms.DateTimePicker();
     this.DTPvrijemeOd       = new System.Windows.Forms.DateTimePicker();
     this.tbKategorijaID     = new System.Windows.Forms.TextBox();
     this.lbKategorija       = new System.Windows.Forms.Label();
     this.lbVrijemeDo        = new System.Windows.Forms.Label();
     this.tbVoziloID         = new System.Windows.Forms.TextBox();
     this.lbModel            = new System.Windows.Forms.Label();
     this.tbInstruktorID     = new System.Windows.Forms.TextBox();
     this.lbVrijemeOd        = new System.Windows.Forms.Label();
     this.tbMjestoObuke      = new System.Windows.Forms.TextBox();
     this.lbMjestoObuke      = new System.Windows.Forms.Label();
     this.tbKandidatID       = new System.Windows.Forms.TextBox();
     this.tbMetodskaJedinica = new System.Windows.Forms.TextBox();
     this.tbCasID            = new System.Windows.Forms.TextBox();
     this.lbDatumObuke       = new System.Windows.Forms.Label();
     this.lbMetodskaJedinica = new System.Windows.Forms.Label();
     this.gbOpcije           = new System.Windows.Forms.GroupBox();
     this.duZatvori          = new System.Windows.Forms.Button();
     this.duSpasi            = new System.Windows.Forms.Button();
     this.connDnevnikUnos    = new System.Data.SqlClient.SqlConnection();
     this.gbPodaci.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsVozila1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKandidati1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsInstruktori1)).BeginInit();
     this.gbOpcije.SuspendLayout();
     this.SuspendLayout();
     //
     // gbPodaci
     //
     this.gbPodaci.BackColor = System.Drawing.SystemColors.Control;
     this.gbPodaci.Controls.Add(this.cbVozilo);
     this.gbPodaci.Controls.Add(this.cbKategorija);
     this.gbPodaci.Controls.Add(this.cbKandidat);
     this.gbPodaci.Controls.Add(this.cbInstruktor);
     this.gbPodaci.Controls.Add(this.lblKandidatID);
     this.gbPodaci.Controls.Add(this.lblInstruktorID);
     this.gbPodaci.Controls.Add(this.DTPdatumObuke);
     this.gbPodaci.Controls.Add(this.DTPvrijemeDo);
     this.gbPodaci.Controls.Add(this.DTPvrijemeOd);
     this.gbPodaci.Controls.Add(this.tbKategorijaID);
     this.gbPodaci.Controls.Add(this.lbKategorija);
     this.gbPodaci.Controls.Add(this.lbVrijemeDo);
     this.gbPodaci.Controls.Add(this.tbVoziloID);
     this.gbPodaci.Controls.Add(this.lbModel);
     this.gbPodaci.Controls.Add(this.tbInstruktorID);
     this.gbPodaci.Controls.Add(this.lbVrijemeOd);
     this.gbPodaci.Controls.Add(this.tbMjestoObuke);
     this.gbPodaci.Controls.Add(this.lbMjestoObuke);
     this.gbPodaci.Controls.Add(this.tbKandidatID);
     this.gbPodaci.Controls.Add(this.tbMetodskaJedinica);
     this.gbPodaci.Controls.Add(this.tbCasID);
     this.gbPodaci.Controls.Add(this.lbDatumObuke);
     this.gbPodaci.Controls.Add(this.lbMetodskaJedinica);
     this.gbPodaci.Location = new System.Drawing.Point(15, 13);
     this.gbPodaci.Name     = "gbPodaci";
     this.gbPodaci.Size     = new System.Drawing.Size(319, 379);
     this.gbPodaci.TabIndex = 0;
     this.gbPodaci.TabStop  = false;
     this.gbPodaci.Text     = "Unos podataka";
     //
     // cbVozilo
     //
     this.cbVozilo.DataSource        = this.dsVozila1;
     this.cbVozilo.DisplayMember     = "Vozila.Model";
     this.cbVozilo.FormattingEnabled = true;
     this.cbVozilo.Location          = new System.Drawing.Point(138, 303);
     this.cbVozilo.Name     = "cbVozilo";
     this.cbVozilo.Size     = new System.Drawing.Size(159, 24);
     this.cbVozilo.TabIndex = 7;
     //
     // dsVozila1
     //
     this.dsVozila1.DataSetName             = "dsVozila";
     this.dsVozila1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsVozila1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // cbKategorija
     //
     this.cbKategorija.DataSource        = this.dsKategorije1;
     this.cbKategorija.DisplayMember     = "Kategorije.Kategorija";
     this.cbKategorija.FormattingEnabled = true;
     this.cbKategorija.Location          = new System.Drawing.Point(139, 265);
     this.cbKategorija.Name     = "cbKategorija";
     this.cbKategorija.Size     = new System.Drawing.Size(158, 24);
     this.cbKategorija.TabIndex = 6;
     //
     // dsKategorije1
     //
     this.dsKategorije1.DataSetName             = "dsKategorije";
     this.dsKategorije1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsKategorije1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // cbKandidat
     //
     this.cbKandidat.DataSource        = this.dsKandidati1;
     this.cbKandidat.DisplayMember     = "Kandidati.Ime";
     this.cbKandidat.FormattingEnabled = true;
     this.cbKandidat.Location          = new System.Drawing.Point(138, 227);
     this.cbKandidat.Name     = "cbKandidat";
     this.cbKandidat.Size     = new System.Drawing.Size(159, 24);
     this.cbKandidat.TabIndex = 5;
     //
     // dsKandidati1
     //
     this.dsKandidati1.DataSetName             = "dsKandidati";
     this.dsKandidati1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsKandidati1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // cbInstruktor
     //
     this.cbInstruktor.DataSource        = this.dsInstruktori1;
     this.cbInstruktor.DisplayMember     = "Instruktori.Ime";
     this.cbInstruktor.FormattingEnabled = true;
     this.cbInstruktor.Location          = new System.Drawing.Point(139, 341);
     this.cbInstruktor.Name     = "cbInstruktor";
     this.cbInstruktor.Size     = new System.Drawing.Size(158, 24);
     this.cbInstruktor.TabIndex = 8;
     //
     // dsInstruktori1
     //
     this.dsInstruktori1.DataSetName             = "dsInstruktori";
     this.dsInstruktori1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsInstruktori1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // lblKandidatID
     //
     this.lblKandidatID.Location  = new System.Drawing.Point(18, 227);
     this.lblKandidatID.Name      = "lblKandidatID";
     this.lblKandidatID.Size      = new System.Drawing.Size(73, 23);
     this.lblKandidatID.TabIndex  = 62;
     this.lblKandidatID.Text      = "Kandidat:";
     this.lblKandidatID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblInstruktorID
     //
     this.lblInstruktorID.Location  = new System.Drawing.Point(17, 342);
     this.lblInstruktorID.Name      = "lblInstruktorID";
     this.lblInstruktorID.Size      = new System.Drawing.Size(76, 23);
     this.lblInstruktorID.TabIndex  = 61;
     this.lblInstruktorID.Text      = "Instruktor:";
     this.lblInstruktorID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // DTPdatumObuke
     //
     this.DTPdatumObuke.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.DTPdatumObuke.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.DTPdatumObuke.Location = new System.Drawing.Point(138, 32);
     this.DTPdatumObuke.Name     = "DTPdatumObuke";
     this.DTPdatumObuke.Size     = new System.Drawing.Size(159, 22);
     this.DTPdatumObuke.TabIndex = 0;
     this.DTPdatumObuke.Value    = new System.DateTime(2007, 4, 11, 0, 0, 0, 0);
     //
     // DTPvrijemeDo
     //
     this.DTPvrijemeDo.CustomFormat = "H\':\'mm";
     this.DTPvrijemeDo.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.DTPvrijemeDo.Location     = new System.Drawing.Point(138, 191);
     this.DTPvrijemeDo.Name         = "DTPvrijemeDo";
     this.DTPvrijemeDo.Size         = new System.Drawing.Size(159, 22);
     this.DTPvrijemeDo.TabIndex     = 4;
     //
     // DTPvrijemeOd
     //
     this.DTPvrijemeOd.CustomFormat = "H\':\'mm";
     this.DTPvrijemeOd.Format       = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.DTPvrijemeOd.Location     = new System.Drawing.Point(138, 155);
     this.DTPvrijemeOd.Name         = "DTPvrijemeOd";
     this.DTPvrijemeOd.Size         = new System.Drawing.Size(159, 22);
     this.DTPvrijemeOd.TabIndex     = 3;
     this.DTPvrijemeOd.Value        = new System.DateTime(2007, 10, 31, 18, 56, 0, 0);
     //
     // tbKategorijaID
     //
     this.tbKategorijaID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsKategorije1, "Kategorije.KategorijaID", true));
     this.tbKategorijaID.Location = new System.Drawing.Point(139, 266);
     this.tbKategorijaID.Name     = "tbKategorijaID";
     this.tbKategorijaID.ReadOnly = true;
     this.tbKategorijaID.Size     = new System.Drawing.Size(24, 22);
     this.tbKategorijaID.TabIndex = 50;
     this.tbKategorijaID.TabStop  = false;
     //
     // lbKategorija
     //
     this.lbKategorija.Location  = new System.Drawing.Point(18, 264);
     this.lbKategorija.Name      = "lbKategorija";
     this.lbKategorija.Size      = new System.Drawing.Size(88, 23);
     this.lbKategorija.TabIndex  = 53;
     this.lbKategorija.Text      = "Kategorija:";
     this.lbKategorija.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbVrijemeDo
     //
     this.lbVrijemeDo.Location  = new System.Drawing.Point(18, 190);
     this.lbVrijemeDo.Name      = "lbVrijemeDo";
     this.lbVrijemeDo.Size      = new System.Drawing.Size(88, 23);
     this.lbVrijemeDo.TabIndex  = 48;
     this.lbVrijemeDo.Text      = "Vrijeme Do:";
     this.lbVrijemeDo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbVoziloID
     //
     this.tbVoziloID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsVozila1, "Vozila.VoziloID", true));
     this.tbVoziloID.Location = new System.Drawing.Point(139, 303);
     this.tbVoziloID.Name     = "tbVoziloID";
     this.tbVoziloID.ReadOnly = true;
     this.tbVoziloID.Size     = new System.Drawing.Size(24, 22);
     this.tbVoziloID.TabIndex = 15;
     this.tbVoziloID.TabStop  = false;
     //
     // lbModel
     //
     this.lbModel.Location  = new System.Drawing.Point(18, 301);
     this.lbModel.Name      = "lbModel";
     this.lbModel.Size      = new System.Drawing.Size(101, 23);
     this.lbModel.TabIndex  = 46;
     this.lbModel.Text      = "Model vozila:";
     this.lbModel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbInstruktorID
     //
     this.tbInstruktorID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsInstruktori1, "Instruktori.ID", true));
     this.tbInstruktorID.Location = new System.Drawing.Point(140, 342);
     this.tbInstruktorID.Name     = "tbInstruktorID";
     this.tbInstruktorID.ReadOnly = true;
     this.tbInstruktorID.Size     = new System.Drawing.Size(24, 22);
     this.tbInstruktorID.TabIndex = 7;
     this.tbInstruktorID.TabStop  = false;
     //
     // lbVrijemeOd
     //
     this.lbVrijemeOd.Location  = new System.Drawing.Point(18, 155);
     this.lbVrijemeOd.Name      = "lbVrijemeOd";
     this.lbVrijemeOd.Size      = new System.Drawing.Size(88, 23);
     this.lbVrijemeOd.TabIndex  = 36;
     this.lbVrijemeOd.Text      = "Vrijeme Od:";
     this.lbVrijemeOd.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbMjestoObuke
     //
     this.tbMjestoObuke.Location = new System.Drawing.Point(139, 120);
     this.tbMjestoObuke.Name     = "tbMjestoObuke";
     this.tbMjestoObuke.Size     = new System.Drawing.Size(159, 22);
     this.tbMjestoObuke.TabIndex = 2;
     //
     // lbMjestoObuke
     //
     this.lbMjestoObuke.Location  = new System.Drawing.Point(18, 120);
     this.lbMjestoObuke.Name      = "lbMjestoObuke";
     this.lbMjestoObuke.Size      = new System.Drawing.Size(104, 23);
     this.lbMjestoObuke.TabIndex  = 34;
     this.lbMjestoObuke.Text      = "Mjesto Obuke:";
     this.lbMjestoObuke.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbKandidatID
     //
     this.tbKandidatID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsKandidati1, "Kandidati.KandidatID", true));
     this.tbKandidatID.Location = new System.Drawing.Point(138, 227);
     this.tbKandidatID.Name     = "tbKandidatID";
     this.tbKandidatID.ReadOnly = true;
     this.tbKandidatID.Size     = new System.Drawing.Size(24, 22);
     this.tbKandidatID.TabIndex = 11;
     this.tbKandidatID.TabStop  = false;
     //
     // tbMetodskaJedinica
     //
     this.tbMetodskaJedinica.Location   = new System.Drawing.Point(139, 67);
     this.tbMetodskaJedinica.Multiline  = true;
     this.tbMetodskaJedinica.Name       = "tbMetodskaJedinica";
     this.tbMetodskaJedinica.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.tbMetodskaJedinica.Size       = new System.Drawing.Size(159, 40);
     this.tbMetodskaJedinica.TabIndex   = 1;
     //
     // tbCasID
     //
     this.tbCasID.Location = new System.Drawing.Point(138, 32);
     this.tbCasID.Name     = "tbCasID";
     this.tbCasID.ReadOnly = true;
     this.tbCasID.Size     = new System.Drawing.Size(24, 22);
     this.tbCasID.TabIndex = 0;
     this.tbCasID.TabStop  = false;
     //
     // lbDatumObuke
     //
     this.lbDatumObuke.Location  = new System.Drawing.Point(18, 32);
     this.lbDatumObuke.Name      = "lbDatumObuke";
     this.lbDatumObuke.Size      = new System.Drawing.Size(88, 23);
     this.lbDatumObuke.TabIndex  = 3;
     this.lbDatumObuke.Text      = "Datum obuke:";
     this.lbDatumObuke.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbMetodskaJedinica
     //
     this.lbMetodskaJedinica.Location  = new System.Drawing.Point(18, 75);
     this.lbMetodskaJedinica.Name      = "lbMetodskaJedinica";
     this.lbMetodskaJedinica.Size      = new System.Drawing.Size(88, 32);
     this.lbMetodskaJedinica.TabIndex  = 2;
     this.lbMetodskaJedinica.Text      = "Metodska Jedinica:";
     this.lbMetodskaJedinica.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // gbOpcije
     //
     this.gbOpcije.BackColor = System.Drawing.SystemColors.Control;
     this.gbOpcije.Controls.Add(this.duZatvori);
     this.gbOpcije.Controls.Add(this.duSpasi);
     this.gbOpcije.Location = new System.Drawing.Point(15, 398);
     this.gbOpcije.Name     = "gbOpcije";
     this.gbOpcije.Size     = new System.Drawing.Size(319, 72);
     this.gbOpcije.TabIndex = 8;
     this.gbOpcije.TabStop  = false;
     this.gbOpcije.Text     = "Opcije";
     //
     // duZatvori
     //
     this.duZatvori.BackColor  = System.Drawing.Color.Beige;
     this.duZatvori.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duZatvori.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duZatvori.Image      = ((System.Drawing.Image)(resources.GetObject("duZatvori.Image")));
     this.duZatvori.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duZatvori.Location   = new System.Drawing.Point(185, 24);
     this.duZatvori.Name       = "duZatvori";
     this.duZatvori.Size       = new System.Drawing.Size(112, 32);
     this.duZatvori.TabIndex   = 1;
     this.duZatvori.Text       = "       Zatvori";
     this.duZatvori.UseVisualStyleBackColor = false;
     this.duZatvori.Click += new System.EventHandler(this.duZatvori_Click);
     //
     // duSpasi
     //
     this.duSpasi.BackColor  = System.Drawing.Color.Beige;
     this.duSpasi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duSpasi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duSpasi.Image      = ((System.Drawing.Image)(resources.GetObject("duSpasi.Image")));
     this.duSpasi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duSpasi.Location   = new System.Drawing.Point(30, 24);
     this.duSpasi.Name       = "duSpasi";
     this.duSpasi.Size       = new System.Drawing.Size(112, 32);
     this.duSpasi.TabIndex   = 0;
     this.duSpasi.Text       = "       Spasi";
     this.duSpasi.UseVisualStyleBackColor = false;
     this.duSpasi.Click += new System.EventHandler(this.duSpasi_Click);
     //
     // connDnevnikUnos
     //
     this.connDnevnikUnos.ConnectionString = "Data Source=(local);Initial Catalog=baza;integrated security=SSPI";
     this.connDnevnikUnos.FireInfoMessageEventOnUserErrors = false;
     //
     // frmDnevnikUnos
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.BackColor         = System.Drawing.SystemColors.Control;
     this.ClientSize        = new System.Drawing.Size(350, 480);
     this.Controls.Add(this.gbOpcije);
     this.Controls.Add(this.gbPodaci);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.MaximizeBox     = false;
     this.Name            = "frmDnevnikUnos";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Unos u dnevnik Obuke";
     this.Load           += new System.EventHandler(this.frmDnevnikUnos_Load);
     this.gbPodaci.ResumeLayout(false);
     this.gbPodaci.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsVozila1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKandidati1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsInstruktori1)).EndInit();
     this.gbOpcije.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Example #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmKategorije));
     this.connKategorije         = new System.Data.SqlClient.SqlConnection();
     this.daKategorije           = new System.Data.SqlClient.SqlDataAdapter();
     this.sqlDeleteCommand1      = new System.Data.SqlClient.SqlCommand();
     this.sqlInsertCommand1      = new System.Data.SqlClient.SqlCommand();
     this.sqlSelectCommand1      = new System.Data.SqlClient.SqlCommand();
     this.sqlUpdateCommand1      = new System.Data.SqlClient.SqlCommand();
     this.dsKategorije1          = new AutoSkola.DSetovi.dsKategorije();
     this.gbOpcije               = new System.Windows.Forms.GroupBox();
     this.duOdaberiDnevnik       = new System.Windows.Forms.Button();
     this.duOdaberiPolaga        = new System.Windows.Forms.Button();
     this.duOdaberiKand          = new System.Windows.Forms.Button();
     this.duOdaberi              = new System.Windows.Forms.Button();
     this.duZatvori              = new System.Windows.Forms.Button();
     this.duIzbrisi              = new System.Windows.Forms.Button();
     this.duOsvjezi              = new System.Windows.Forms.Button();
     this.duIzmjeni              = new System.Windows.Forms.Button();
     this.duNovi                 = new System.Windows.Forms.Button();
     this.dgKategorije           = new System.Windows.Forms.DataGrid();
     this.dgTableStyleKategorije = new System.Windows.Forms.DataGridTableStyle();
     this.KategorijaID           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Kategorija1            = new System.Windows.Forms.DataGridTextBoxColumn();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije1)).BeginInit();
     this.gbOpcije.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dgKategorije)).BeginInit();
     this.SuspendLayout();
     //
     // connKategorije
     //
     this.connKategorije.ConnectionString = "Data Source=(local);Initial Catalog=baza;integrated security=SSPI";
     this.connKategorije.FireInfoMessageEventOnUserErrors = false;
     //
     // daKategorije
     //
     this.daKategorije.DeleteCommand = this.sqlDeleteCommand1;
     this.daKategorije.InsertCommand = this.sqlInsertCommand1;
     this.daKategorije.SelectCommand = this.sqlSelectCommand1;
     this.daKategorije.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] {
         new System.Data.Common.DataTableMapping("Table", "Kategorije", new System.Data.Common.DataColumnMapping[] {
             new System.Data.Common.DataColumnMapping("KategorijaID", "KategorijaID"),
             new System.Data.Common.DataColumnMapping("Kategorija", "Kategorija")
         })
     });
     this.daKategorije.UpdateCommand = this.sqlUpdateCommand1;
     //
     // sqlDeleteCommand1
     //
     this.sqlDeleteCommand1.CommandText = "DELETE FROM Kategorije WHERE (KategorijaID = @Original_KategorijaID) AND (Kategor" +
                                          "ija = @Original_Kategorija OR @Original_Kategorija IS NULL AND Kategorija IS NUL" +
                                          "L)";
     this.sqlDeleteCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Original_KategorijaID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "KategorijaID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Kategorija", System.Data.SqlDbType.VarChar, 20, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Kategorija", System.Data.DataRowVersion.Original, null)
     });
     //
     // sqlInsertCommand1
     //
     this.sqlInsertCommand1.CommandText = "INSERT INTO Kategorije(Kategorija) VALUES (@Kategorija); SELECT KategorijaID, Kat" +
                                          "egorija FROM Kategorije WHERE (KategorijaID = @@IDENTITY) ORDER BY KategorijaID";
     this.sqlInsertCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Kategorija", System.Data.SqlDbType.VarChar, 20, "Kategorija")
     });
     //
     // sqlSelectCommand1
     //
     this.sqlSelectCommand1.CommandText = "SELECT KategorijaID, Kategorija FROM Kategorije ORDER BY KategorijaID";
     this.sqlSelectCommand1.Connection  = this.connKategorije;
     //
     // sqlUpdateCommand1
     //
     this.sqlUpdateCommand1.CommandText = resources.GetString("sqlUpdateCommand1.CommandText");
     this.sqlUpdateCommand1.Parameters.AddRange(new System.Data.SqlClient.SqlParameter[] {
         new System.Data.SqlClient.SqlParameter("@Kategorija", System.Data.SqlDbType.VarChar, 20, "Kategorija"),
         new System.Data.SqlClient.SqlParameter("@Original_KategorijaID", System.Data.SqlDbType.Int, 4, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "KategorijaID", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@Original_Kategorija", System.Data.SqlDbType.VarChar, 20, System.Data.ParameterDirection.Input, false, ((byte)(0)), ((byte)(0)), "Kategorija", System.Data.DataRowVersion.Original, null),
         new System.Data.SqlClient.SqlParameter("@KategorijaID", System.Data.SqlDbType.Int, 4, "KategorijaID")
     });
     //
     // dsKategorije1
     //
     this.dsKategorije1.DataSetName             = "dsKategorije";
     this.dsKategorije1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsKategorije1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gbOpcije
     //
     this.gbOpcije.Controls.Add(this.duZatvori);
     this.gbOpcije.Controls.Add(this.duOdaberiDnevnik);
     this.gbOpcije.Controls.Add(this.duOdaberiPolaga);
     this.gbOpcije.Controls.Add(this.duOdaberiKand);
     this.gbOpcije.Controls.Add(this.duOdaberi);
     this.gbOpcije.Controls.Add(this.duIzbrisi);
     this.gbOpcije.Controls.Add(this.duOsvjezi);
     this.gbOpcije.Controls.Add(this.duIzmjeni);
     this.gbOpcije.Controls.Add(this.duNovi);
     this.gbOpcije.Location = new System.Drawing.Point(157, 9);
     this.gbOpcije.Name     = "gbOpcije";
     this.gbOpcije.Size     = new System.Drawing.Size(136, 231);
     this.gbOpcije.TabIndex = 3;
     this.gbOpcije.TabStop  = false;
     //
     // duOdaberiDnevnik
     //
     this.duOdaberiDnevnik.BackColor  = System.Drawing.Color.Beige;
     this.duOdaberiDnevnik.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdaberiDnevnik.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdaberiDnevnik.Image      = ((System.Drawing.Image)(resources.GetObject("duOdaberiDnevnik.Image")));
     this.duOdaberiDnevnik.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdaberiDnevnik.Location   = new System.Drawing.Point(12, 184);
     this.duOdaberiDnevnik.Name       = "duOdaberiDnevnik";
     this.duOdaberiDnevnik.Size       = new System.Drawing.Size(112, 32);
     this.duOdaberiDnevnik.TabIndex   = 8;
     this.duOdaberiDnevnik.Text       = "   Odaberi";
     this.duOdaberiDnevnik.UseVisualStyleBackColor = false;
     this.duOdaberiDnevnik.Click += new System.EventHandler(this.duOdaberiDnevnik_Click);
     //
     // duOdaberiPolaga
     //
     this.duOdaberiPolaga.BackColor  = System.Drawing.Color.Beige;
     this.duOdaberiPolaga.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdaberiPolaga.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdaberiPolaga.Image      = ((System.Drawing.Image)(resources.GetObject("duOdaberiPolaga.Image")));
     this.duOdaberiPolaga.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdaberiPolaga.Location   = new System.Drawing.Point(12, 184);
     this.duOdaberiPolaga.Name       = "duOdaberiPolaga";
     this.duOdaberiPolaga.Size       = new System.Drawing.Size(112, 32);
     this.duOdaberiPolaga.TabIndex   = 7;
     this.duOdaberiPolaga.Text       = "   Odaberi";
     this.duOdaberiPolaga.UseVisualStyleBackColor = false;
     this.duOdaberiPolaga.Click += new System.EventHandler(this.duOdaberiPolaga_Click);
     //
     // duOdaberiKand
     //
     this.duOdaberiKand.BackColor  = System.Drawing.Color.Beige;
     this.duOdaberiKand.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdaberiKand.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdaberiKand.Image      = ((System.Drawing.Image)(resources.GetObject("duOdaberiKand.Image")));
     this.duOdaberiKand.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdaberiKand.Location   = new System.Drawing.Point(12, 184);
     this.duOdaberiKand.Name       = "duOdaberiKand";
     this.duOdaberiKand.Size       = new System.Drawing.Size(112, 32);
     this.duOdaberiKand.TabIndex   = 6;
     this.duOdaberiKand.Text       = "   Odaberi";
     this.duOdaberiKand.UseVisualStyleBackColor = false;
     //
     // duOdaberi
     //
     this.duOdaberi.BackColor  = System.Drawing.Color.Beige;
     this.duOdaberi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOdaberi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOdaberi.Image      = ((System.Drawing.Image)(resources.GetObject("duOdaberi.Image")));
     this.duOdaberi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOdaberi.Location   = new System.Drawing.Point(12, 184);
     this.duOdaberi.Name       = "duOdaberi";
     this.duOdaberi.Size       = new System.Drawing.Size(112, 32);
     this.duOdaberi.TabIndex   = 4;
     this.duOdaberi.Text       = "   Odaberi";
     this.duOdaberi.UseVisualStyleBackColor = false;
     this.duOdaberi.Click += new System.EventHandler(this.duOdaberi_Click);
     //
     // duZatvori
     //
     this.duZatvori.BackColor  = System.Drawing.Color.Beige;
     this.duZatvori.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duZatvori.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duZatvori.Image      = ((System.Drawing.Image)(resources.GetObject("duZatvori.Image")));
     this.duZatvori.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duZatvori.Location   = new System.Drawing.Point(12, 184);
     this.duZatvori.Name       = "duZatvori";
     this.duZatvori.Size       = new System.Drawing.Size(112, 32);
     this.duZatvori.TabIndex   = 5;
     this.duZatvori.Text       = " Zatvori";
     this.duZatvori.UseVisualStyleBackColor = false;
     this.duZatvori.Click += new System.EventHandler(this.duZatvori_Click);
     //
     // duIzbrisi
     //
     this.duIzbrisi.BackColor  = System.Drawing.Color.Beige;
     this.duIzbrisi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duIzbrisi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duIzbrisi.Image      = ((System.Drawing.Image)(resources.GetObject("duIzbrisi.Image")));
     this.duIzbrisi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duIzbrisi.Location   = new System.Drawing.Point(12, 144);
     this.duIzbrisi.Name       = "duIzbrisi";
     this.duIzbrisi.Size       = new System.Drawing.Size(112, 32);
     this.duIzbrisi.TabIndex   = 3;
     this.duIzbrisi.Text       = "Izbriši";
     this.duIzbrisi.UseVisualStyleBackColor = false;
     this.duIzbrisi.Click += new System.EventHandler(this.duIzbrisi_Click);
     //
     // duOsvjezi
     //
     this.duOsvjezi.BackColor  = System.Drawing.Color.Beige;
     this.duOsvjezi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duOsvjezi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duOsvjezi.Image      = ((System.Drawing.Image)(resources.GetObject("duOsvjezi.Image")));
     this.duOsvjezi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duOsvjezi.Location   = new System.Drawing.Point(12, 104);
     this.duOsvjezi.Name       = "duOsvjezi";
     this.duOsvjezi.Size       = new System.Drawing.Size(112, 32);
     this.duOsvjezi.TabIndex   = 2;
     this.duOsvjezi.Text       = " Osvježi";
     this.duOsvjezi.UseVisualStyleBackColor = false;
     this.duOsvjezi.Click += new System.EventHandler(this.duOsvjezi_Click);
     //
     // duIzmjeni
     //
     this.duIzmjeni.BackColor  = System.Drawing.Color.Beige;
     this.duIzmjeni.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duIzmjeni.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duIzmjeni.Image      = ((System.Drawing.Image)(resources.GetObject("duIzmjeni.Image")));
     this.duIzmjeni.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duIzmjeni.Location   = new System.Drawing.Point(12, 64);
     this.duIzmjeni.Name       = "duIzmjeni";
     this.duIzmjeni.Size       = new System.Drawing.Size(112, 32);
     this.duIzmjeni.TabIndex   = 1;
     this.duIzmjeni.Text       = " Izmjeni";
     this.duIzmjeni.UseVisualStyleBackColor = false;
     this.duIzmjeni.Click += new System.EventHandler(this.duIzmjeni_Click);
     //
     // duNovi
     //
     this.duNovi.BackColor  = System.Drawing.Color.Beige;
     this.duNovi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duNovi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duNovi.Image      = ((System.Drawing.Image)(resources.GetObject("duNovi.Image")));
     this.duNovi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duNovi.Location   = new System.Drawing.Point(12, 24);
     this.duNovi.Name       = "duNovi";
     this.duNovi.Size       = new System.Drawing.Size(112, 32);
     this.duNovi.TabIndex   = 0;
     this.duNovi.Text       = "       Dodaj novi";
     this.duNovi.UseVisualStyleBackColor = false;
     this.duNovi.Click += new System.EventHandler(this.duNovi_Click);
     //
     // dgKategorije
     //
     this.dgKategorije.DataMember           = "";
     this.dgKategorije.DataSource           = this.dsKategorije1.Kategorije;
     this.dgKategorije.HeaderForeColor      = System.Drawing.SystemColors.ControlText;
     this.dgKategorije.Location             = new System.Drawing.Point(12, 15);
     this.dgKategorije.Name                 = "dgKategorije";
     this.dgKategorije.PreferredColumnWidth = 80;
     this.dgKategorije.ReadOnly             = true;
     this.dgKategorije.Size                 = new System.Drawing.Size(135, 225);
     this.dgKategorije.TabIndex             = 4;
     this.dgKategorije.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dgTableStyleKategorije
     });
     //
     // dgTableStyleKategorije
     //
     this.dgTableStyleKategorije.DataGrid = this.dgKategorije;
     this.dgTableStyleKategorije.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.KategorijaID,
         this.Kategorija1
     });
     this.dgTableStyleKategorije.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dgTableStyleKategorije.MappingName     = "Kategorije";
     //
     // KategorijaID
     //
     this.KategorijaID.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.KategorijaID.Format      = "";
     this.KategorijaID.FormatInfo  = null;
     this.KategorijaID.HeaderText  = "ID";
     this.KategorijaID.MappingName = "KategorijaID";
     this.KategorijaID.Width       = 0;
     //
     // Kategorija1
     //
     this.Kategorija1.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.Kategorija1.Format      = "";
     this.Kategorija1.FormatInfo  = null;
     this.Kategorija1.HeaderText  = "Kategorija";
     this.Kategorija1.MappingName = "Kategorija";
     this.Kategorija1.Width       = 75;
     //
     // frmKategorije
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(303, 248);
     this.Controls.Add(this.dgKategorije);
     this.Controls.Add(this.gbOpcije);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.MaximizeBox   = false;
     this.MaximumSize   = new System.Drawing.Size(311, 288);
     this.Name          = "frmKategorije";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "Kategorije";
     this.Load         += new System.EventHandler(this.frmKategorije_Load);
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije1)).EndInit();
     this.gbOpcije.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dgKategorije)).EndInit();
     this.ResumeLayout(false);
 }
Example #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPolaganjaUnos));
     this.gbOpcije          = new System.Windows.Forms.GroupBox();
     this.duZatvori         = new System.Windows.Forms.Button();
     this.duSpasi           = new System.Windows.Forms.Button();
     this.gbPodaci          = new System.Windows.Forms.GroupBox();
     this.cbInstruktor      = new System.Windows.Forms.ComboBox();
     this.dsInstruktori1    = new AutoSkola.DSetovi.dsInstruktori();
     this.cbKategorija      = new System.Windows.Forms.ComboBox();
     this.dsKategorije1     = new AutoSkola.DSetovi.dsKategorije();
     this.cbKandidat        = new System.Windows.Forms.ComboBox();
     this.dsKandidati1      = new AutoSkola.DSetovi.dsKandidati();
     this.tbKandidatID      = new System.Windows.Forms.TextBox();
     this.lblKandidatID     = new System.Windows.Forms.Label();
     this.lblKategorijaID   = new System.Windows.Forms.Label();
     this.lblInstruktorID   = new System.Windows.Forms.Label();
     this.chBoxPolozeno     = new System.Windows.Forms.CheckBox();
     this.cbPokusaj         = new System.Windows.Forms.ComboBox();
     this.DTPdatPolaganja   = new System.Windows.Forms.DateTimePicker();
     this.tbPolaganjeID     = new System.Windows.Forms.TextBox();
     this.lbPolozeno        = new System.Windows.Forms.Label();
     this.lbPokusaj         = new System.Windows.Forms.Label();
     this.lbDatumPolaganja  = new System.Windows.Forms.Label();
     this.tbInstruktorID    = new System.Windows.Forms.TextBox();
     this.tbKategorijaID    = new System.Windows.Forms.TextBox();
     this.connPolaganjaUnos = new System.Data.SqlClient.SqlConnection();
     this.gbOpcije.SuspendLayout();
     this.gbPodaci.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsInstruktori1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKandidati1)).BeginInit();
     this.SuspendLayout();
     //
     // gbOpcije
     //
     this.gbOpcije.BackColor = System.Drawing.SystemColors.Control;
     this.gbOpcije.Controls.Add(this.duZatvori);
     this.gbOpcije.Controls.Add(this.duSpasi);
     this.gbOpcije.Location = new System.Drawing.Point(16, 280);
     this.gbOpcije.Name     = "gbOpcije";
     this.gbOpcije.Size     = new System.Drawing.Size(312, 72);
     this.gbOpcije.TabIndex = 1;
     this.gbOpcije.TabStop  = false;
     this.gbOpcije.Text     = "Opcije";
     //
     // duZatvori
     //
     this.duZatvori.BackColor  = System.Drawing.Color.Beige;
     this.duZatvori.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duZatvori.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duZatvori.Image      = ((System.Drawing.Image)(resources.GetObject("duZatvori.Image")));
     this.duZatvori.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duZatvori.Location   = new System.Drawing.Point(176, 24);
     this.duZatvori.Name       = "duZatvori";
     this.duZatvori.Size       = new System.Drawing.Size(112, 32);
     this.duZatvori.TabIndex   = 1;
     this.duZatvori.Text       = "       Zatvori";
     this.duZatvori.UseVisualStyleBackColor = false;
     this.duZatvori.Click += new System.EventHandler(this.duZatvori_Click);
     //
     // duSpasi
     //
     this.duSpasi.BackColor  = System.Drawing.Color.Beige;
     this.duSpasi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duSpasi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duSpasi.Image      = ((System.Drawing.Image)(resources.GetObject("duSpasi.Image")));
     this.duSpasi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duSpasi.Location   = new System.Drawing.Point(26, 24);
     this.duSpasi.Name       = "duSpasi";
     this.duSpasi.Size       = new System.Drawing.Size(112, 32);
     this.duSpasi.TabIndex   = 0;
     this.duSpasi.Text       = "       Spasi";
     this.duSpasi.UseVisualStyleBackColor = false;
     this.duSpasi.Click += new System.EventHandler(this.duSpasi_Click);
     //
     // gbPodaci
     //
     this.gbPodaci.BackColor = System.Drawing.SystemColors.Control;
     this.gbPodaci.Controls.Add(this.cbInstruktor);
     this.gbPodaci.Controls.Add(this.cbKategorija);
     this.gbPodaci.Controls.Add(this.cbKandidat);
     this.gbPodaci.Controls.Add(this.tbKandidatID);
     this.gbPodaci.Controls.Add(this.lblKandidatID);
     this.gbPodaci.Controls.Add(this.lblKategorijaID);
     this.gbPodaci.Controls.Add(this.lblInstruktorID);
     this.gbPodaci.Controls.Add(this.chBoxPolozeno);
     this.gbPodaci.Controls.Add(this.cbPokusaj);
     this.gbPodaci.Controls.Add(this.DTPdatPolaganja);
     this.gbPodaci.Controls.Add(this.tbPolaganjeID);
     this.gbPodaci.Controls.Add(this.lbPolozeno);
     this.gbPodaci.Controls.Add(this.lbPokusaj);
     this.gbPodaci.Controls.Add(this.lbDatumPolaganja);
     this.gbPodaci.Controls.Add(this.tbInstruktorID);
     this.gbPodaci.Controls.Add(this.tbKategorijaID);
     this.gbPodaci.Location = new System.Drawing.Point(16, 11);
     this.gbPodaci.Name     = "gbPodaci";
     this.gbPodaci.Size     = new System.Drawing.Size(312, 263);
     this.gbPodaci.TabIndex = 0;
     this.gbPodaci.TabStop  = false;
     this.gbPodaci.Text     = "Unos Podataka";
     //
     // cbInstruktor
     //
     this.cbInstruktor.DataSource        = this.dsInstruktori1;
     this.cbInstruktor.DisplayMember     = "Instruktori.Ime";
     this.cbInstruktor.FormattingEnabled = true;
     this.cbInstruktor.Location          = new System.Drawing.Point(144, 223);
     this.cbInstruktor.Name                  = "cbInstruktor";
     this.cbInstruktor.Size                  = new System.Drawing.Size(152, 24);
     this.cbInstruktor.TabIndex              = 5;
     this.cbInstruktor.SelectedValueChanged += new System.EventHandler(this.cbInstruktor_SelectedValueChanged);
     //
     // dsInstruktori1
     //
     this.dsInstruktori1.DataSetName             = "dsInstruktori";
     this.dsInstruktori1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsInstruktori1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // cbKategorija
     //
     this.cbKategorija.DataSource        = this.dsKategorije1;
     this.cbKategorija.DisplayMember     = "Kategorije.Kategorija";
     this.cbKategorija.FormattingEnabled = true;
     this.cbKategorija.Location          = new System.Drawing.Point(144, 75);
     this.cbKategorija.Name     = "cbKategorija";
     this.cbKategorija.Size     = new System.Drawing.Size(121, 24);
     this.cbKategorija.TabIndex = 1;
     this.cbKategorija.Tag      = "Kategorije.KategorijaID";
     //
     // dsKategorije1
     //
     this.dsKategorije1.DataSetName             = "dsKategorije";
     this.dsKategorije1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsKategorije1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // cbKandidat
     //
     this.cbKandidat.DataSource        = this.dsKandidati1;
     this.cbKandidat.DisplayMember     = "Kandidati.Ime";
     this.cbKandidat.FormattingEnabled = true;
     this.cbKandidat.Location          = new System.Drawing.Point(144, 32);
     this.cbKandidat.Name     = "cbKandidat";
     this.cbKandidat.Size     = new System.Drawing.Size(152, 24);
     this.cbKandidat.TabIndex = 0;
     //
     // dsKandidati1
     //
     this.dsKandidati1.DataSetName             = "dsKandidati";
     this.dsKandidati1.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsKandidati1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // tbKandidatID
     //
     this.tbKandidatID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsKandidati1, "Kandidati.KandidatID", true));
     this.tbKandidatID.Location = new System.Drawing.Point(145, 33);
     this.tbKandidatID.Name     = "tbKandidatID";
     this.tbKandidatID.ReadOnly = true;
     this.tbKandidatID.Size     = new System.Drawing.Size(27, 22);
     this.tbKandidatID.TabIndex = 26;
     //
     // lblKandidatID
     //
     this.lblKandidatID.Location  = new System.Drawing.Point(16, 32);
     this.lblKandidatID.Name      = "lblKandidatID";
     this.lblKandidatID.Size      = new System.Drawing.Size(87, 23);
     this.lblKandidatID.TabIndex  = 25;
     this.lblKandidatID.Text      = "Kandidat:";
     this.lblKandidatID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblKategorijaID
     //
     this.lblKategorijaID.Location  = new System.Drawing.Point(15, 75);
     this.lblKategorijaID.Name      = "lblKategorijaID";
     this.lblKategorijaID.Size      = new System.Drawing.Size(88, 23);
     this.lblKategorijaID.TabIndex  = 24;
     this.lblKategorijaID.Text      = "Kategorija:";
     this.lblKategorijaID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lblInstruktorID
     //
     this.lblInstruktorID.Location  = new System.Drawing.Point(15, 223);
     this.lblInstruktorID.Name      = "lblInstruktorID";
     this.lblInstruktorID.Size      = new System.Drawing.Size(76, 23);
     this.lblInstruktorID.TabIndex  = 23;
     this.lblInstruktorID.Text      = "Instruktor:";
     this.lblInstruktorID.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // chBoxPolozeno
     //
     this.chBoxPolozeno.Location = new System.Drawing.Point(144, 192);
     this.chBoxPolozeno.Name     = "chBoxPolozeno";
     this.chBoxPolozeno.Size     = new System.Drawing.Size(40, 16);
     this.chBoxPolozeno.TabIndex = 4;
     //
     // cbPokusaj
     //
     this.cbPokusaj.Items.AddRange(new object[] {
         "Prvi",
         "Drugi ",
         "Treci",
         "Cetvrti",
         "Peti",
         "Šesti",
         "Sedmi",
         "Osmi",
         "Deveti",
         "Deseti"
     });
     this.cbPokusaj.Location = new System.Drawing.Point(144, 152);
     this.cbPokusaj.Name     = "cbPokusaj";
     this.cbPokusaj.Size     = new System.Drawing.Size(152, 24);
     this.cbPokusaj.TabIndex = 3;
     //
     // DTPdatPolaganja
     //
     this.DTPdatPolaganja.CustomFormat = "";
     this.DTPdatPolaganja.Format       = System.Windows.Forms.DateTimePickerFormat.Short;
     this.DTPdatPolaganja.Location     = new System.Drawing.Point(144, 115);
     this.DTPdatPolaganja.Name         = "DTPdatPolaganja";
     this.DTPdatPolaganja.Size         = new System.Drawing.Size(152, 22);
     this.DTPdatPolaganja.TabIndex     = 2;
     this.DTPdatPolaganja.Value        = new System.DateTime(2007, 10, 24, 0, 0, 0, 0);
     //
     // tbPolaganjeID
     //
     this.tbPolaganjeID.Location = new System.Drawing.Point(176, 33);
     this.tbPolaganjeID.Name     = "tbPolaganjeID";
     this.tbPolaganjeID.ReadOnly = true;
     this.tbPolaganjeID.Size     = new System.Drawing.Size(27, 22);
     this.tbPolaganjeID.TabIndex = 0;
     this.tbPolaganjeID.TabStop  = false;
     //
     // lbPolozeno
     //
     this.lbPolozeno.Location  = new System.Drawing.Point(16, 188);
     this.lbPolozeno.Name      = "lbPolozeno";
     this.lbPolozeno.Size      = new System.Drawing.Size(120, 23);
     this.lbPolozeno.TabIndex  = 5;
     this.lbPolozeno.Text      = "Položeno:";
     this.lbPolozeno.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbPokusaj
     //
     this.lbPokusaj.Location  = new System.Drawing.Point(16, 152);
     this.lbPokusaj.Name      = "lbPokusaj";
     this.lbPokusaj.Size      = new System.Drawing.Size(120, 23);
     this.lbPokusaj.TabIndex  = 4;
     this.lbPokusaj.Text      = "Pokušaj:";
     this.lbPokusaj.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbDatumPolaganja
     //
     this.lbDatumPolaganja.Location  = new System.Drawing.Point(15, 115);
     this.lbDatumPolaganja.Name      = "lbDatumPolaganja";
     this.lbDatumPolaganja.Size      = new System.Drawing.Size(120, 23);
     this.lbDatumPolaganja.TabIndex  = 3;
     this.lbDatumPolaganja.Text      = "Datum polaganja:";
     this.lbDatumPolaganja.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // tbInstruktorID
     //
     this.tbInstruktorID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsInstruktori1, "Instruktori.ID", true));
     this.tbInstruktorID.Location = new System.Drawing.Point(144, 224);
     this.tbInstruktorID.Name     = "tbInstruktorID";
     this.tbInstruktorID.ReadOnly = true;
     this.tbInstruktorID.Size     = new System.Drawing.Size(27, 22);
     this.tbInstruktorID.TabIndex = 31;
     //
     // tbKategorijaID
     //
     this.tbKategorijaID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsKategorije1, "Kategorije.KategorijaID", true));
     this.tbKategorijaID.Location = new System.Drawing.Point(145, 76);
     this.tbKategorijaID.Name     = "tbKategorijaID";
     this.tbKategorijaID.ReadOnly = true;
     this.tbKategorijaID.Size     = new System.Drawing.Size(27, 22);
     this.tbKategorijaID.TabIndex = 29;
     //
     // connPolaganjaUnos
     //
     this.connPolaganjaUnos.ConnectionString = "Data Source=(local);Initial Catalog=baza;integrated security=SSPI";
     this.connPolaganjaUnos.FireInfoMessageEventOnUserErrors = false;
     //
     // frmPolaganjaUnos
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(344, 367);
     this.Controls.Add(this.gbOpcije);
     this.Controls.Add(this.gbPodaci);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "frmPolaganjaUnos";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Unos polaganja";
     this.Load           += new System.EventHandler(this.frmPolaganjaUnos_Load);
     this.gbOpcije.ResumeLayout(false);
     this.gbPodaci.ResumeLayout(false);
     this.gbPodaci.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsInstruktori1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKandidati1)).EndInit();
     this.ResumeLayout(false);
 }
Example #4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInstruktoriUnos));
     this.gbOpcije           = new System.Windows.Forms.GroupBox();
     this.duZatvori          = new System.Windows.Forms.Button();
     this.duSpasi            = new System.Windows.Forms.Button();
     this.gbPodaci           = new System.Windows.Forms.GroupBox();
     this.gbKategorije       = new System.Windows.Forms.GroupBox();
     this.cbKategorija       = new System.Windows.Forms.ComboBox();
     this.dsKategorije2      = new AutoSkola.DSetovi.dsKategorije();
     this.tbKatID            = new System.Windows.Forms.TextBox();
     this.duSpasiKategoriju  = new System.Windows.Forms.Button();
     this.duIzbrisi          = new System.Windows.Forms.Button();
     this.dgKategorijeInst   = new System.Windows.Forms.DataGrid();
     this.dsKategorije1      = new AutoSkola.DSetovi.dsKategorije();
     this.dgTableStyleKatIns = new System.Windows.Forms.DataGridTableStyle();
     this.KatInstID1         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.KategorijaID       = new System.Windows.Forms.DataGridTextBoxColumn();
     this.Kategorija         = new System.Windows.Forms.DataGridTextBoxColumn();
     this.DTPdatRodjenja     = new System.Windows.Forms.DateTimePicker();
     this.DTPdatZap          = new System.Windows.Forms.DateTimePicker();
     this.tbEmail            = new System.Windows.Forms.TextBox();
     this.tbTelefon          = new System.Windows.Forms.TextBox();
     this.tbAdresa           = new System.Windows.Forms.TextBox();
     this.tbPrezime          = new System.Windows.Forms.TextBox();
     this.tbIme               = new System.Windows.Forms.TextBox();
     this.tbInstruktorID      = new System.Windows.Forms.TextBox();
     this.lbDatumZapos        = new System.Windows.Forms.Label();
     this.lbEmail             = new System.Windows.Forms.Label();
     this.lbTelefon           = new System.Windows.Forms.Label();
     this.lbAdresa            = new System.Windows.Forms.Label();
     this.lbDatumRodjenja     = new System.Windows.Forms.Label();
     this.lbPrezime           = new System.Windows.Forms.Label();
     this.lbIme               = new System.Windows.Forms.Label();
     this.connInstruktoriUnos = new System.Data.SqlClient.SqlConnection();
     this.KatInstID           = new System.Windows.Forms.DataGridTextBoxColumn();
     this.dsKandidati         = new AutoSkola.DSetovi.dsKandidati();
     this.label1              = new System.Windows.Forms.Label();
     this.label2              = new System.Windows.Forms.Label();
     this.gbOpcije.SuspendLayout();
     this.gbPodaci.SuspendLayout();
     this.gbKategorije.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgKategorijeInst)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKandidati)).BeginInit();
     this.SuspendLayout();
     //
     // gbOpcije
     //
     this.gbOpcije.BackColor = System.Drawing.SystemColors.Control;
     this.gbOpcije.Controls.Add(this.duZatvori);
     this.gbOpcije.Controls.Add(this.duSpasi);
     this.gbOpcije.Location = new System.Drawing.Point(16, 287);
     this.gbOpcije.Name     = "gbOpcije";
     this.gbOpcije.Size     = new System.Drawing.Size(280, 72);
     this.gbOpcije.TabIndex = 4;
     this.gbOpcije.TabStop  = false;
     //
     // duZatvori
     //
     this.duZatvori.BackColor  = System.Drawing.Color.Beige;
     this.duZatvori.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duZatvori.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duZatvori.Image      = ((System.Drawing.Image)(resources.GetObject("duZatvori.Image")));
     this.duZatvori.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duZatvori.Location   = new System.Drawing.Point(152, 24);
     this.duZatvori.Name       = "duZatvori";
     this.duZatvori.Size       = new System.Drawing.Size(112, 32);
     this.duZatvori.TabIndex   = 2;
     this.duZatvori.Text       = "       Zatvori";
     this.duZatvori.UseVisualStyleBackColor = false;
     this.duZatvori.Click += new System.EventHandler(this.duZatvori_Click);
     //
     // duSpasi
     //
     this.duSpasi.BackColor  = System.Drawing.Color.Beige;
     this.duSpasi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duSpasi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duSpasi.Image      = ((System.Drawing.Image)(resources.GetObject("duSpasi.Image")));
     this.duSpasi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duSpasi.Location   = new System.Drawing.Point(16, 24);
     this.duSpasi.Name       = "duSpasi";
     this.duSpasi.Size       = new System.Drawing.Size(112, 32);
     this.duSpasi.TabIndex   = 0;
     this.duSpasi.Text       = "       Spasi";
     this.duSpasi.UseVisualStyleBackColor = false;
     this.duSpasi.Click += new System.EventHandler(this.duSpasi_Click);
     //
     // gbPodaci
     //
     this.gbPodaci.BackColor = System.Drawing.SystemColors.Control;
     this.gbPodaci.Controls.Add(this.gbKategorije);
     this.gbPodaci.Controls.Add(this.DTPdatRodjenja);
     this.gbPodaci.Controls.Add(this.DTPdatZap);
     this.gbPodaci.Controls.Add(this.tbEmail);
     this.gbPodaci.Controls.Add(this.tbTelefon);
     this.gbPodaci.Controls.Add(this.tbAdresa);
     this.gbPodaci.Controls.Add(this.tbPrezime);
     this.gbPodaci.Controls.Add(this.tbIme);
     this.gbPodaci.Controls.Add(this.tbInstruktorID);
     this.gbPodaci.Controls.Add(this.lbDatumZapos);
     this.gbPodaci.Controls.Add(this.lbEmail);
     this.gbPodaci.Controls.Add(this.lbTelefon);
     this.gbPodaci.Controls.Add(this.lbAdresa);
     this.gbPodaci.Controls.Add(this.lbDatumRodjenja);
     this.gbPodaci.Controls.Add(this.lbPrezime);
     this.gbPodaci.Controls.Add(this.lbIme);
     this.gbPodaci.Controls.Add(this.gbOpcije);
     this.gbPodaci.Location = new System.Drawing.Point(15, 8);
     this.gbPodaci.Name     = "gbPodaci";
     this.gbPodaci.Size     = new System.Drawing.Size(312, 556);
     this.gbPodaci.TabIndex = 3;
     this.gbPodaci.TabStop  = false;
     this.gbPodaci.Text     = "Unos Podataka";
     //
     // gbKategorije
     //
     this.gbKategorije.Controls.Add(this.label2);
     this.gbKategorije.Controls.Add(this.label1);
     this.gbKategorije.Controls.Add(this.cbKategorija);
     this.gbKategorije.Controls.Add(this.tbKatID);
     this.gbKategorije.Controls.Add(this.duSpasiKategoriju);
     this.gbKategorije.Controls.Add(this.duIzbrisi);
     this.gbKategorije.Controls.Add(this.dgKategorijeInst);
     this.gbKategorije.Location = new System.Drawing.Point(16, 367);
     this.gbKategorije.Name     = "gbKategorije";
     this.gbKategorije.Size     = new System.Drawing.Size(280, 180);
     this.gbKategorije.TabIndex = 12;
     this.gbKategorije.TabStop  = false;
     this.gbKategorije.Text     = "Unos kategorija instruktoru";
     //
     // cbKategorija
     //
     this.cbKategorija.DataSource        = this.dsKategorije2;
     this.cbKategorija.DisplayMember     = "Kategorije.Kategorija";
     this.cbKategorija.FormattingEnabled = true;
     this.cbKategorija.Location          = new System.Drawing.Point(158, 58);
     this.cbKategorija.Name     = "cbKategorija";
     this.cbKategorija.Size     = new System.Drawing.Size(112, 24);
     this.cbKategorija.TabIndex = 6;
     //
     // dsKategorije2
     //
     this.dsKategorije2.DataSetName             = "dsKategorije";
     this.dsKategorije2.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsKategorije2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // tbKatID
     //
     this.tbKatID.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.dsKategorije2, "Kategorije.KategorijaID", true));
     this.tbKatID.Location     = new System.Drawing.Point(158, 58);
     this.tbKatID.Name         = "tbKatID";
     this.tbKatID.PasswordChar = '*';
     this.tbKatID.ReadOnly     = true;
     this.tbKatID.Size         = new System.Drawing.Size(29, 22);
     this.tbKatID.TabIndex     = 5;
     //
     // duSpasiKategoriju
     //
     this.duSpasiKategoriju.BackColor  = System.Drawing.Color.Beige;
     this.duSpasiKategoriju.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duSpasiKategoriju.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duSpasiKategoriju.Image      = ((System.Drawing.Image)(resources.GetObject("duSpasiKategoriju.Image")));
     this.duSpasiKategoriju.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duSpasiKategoriju.Location   = new System.Drawing.Point(158, 91);
     this.duSpasiKategoriju.Name       = "duSpasiKategoriju";
     this.duSpasiKategoriju.Size       = new System.Drawing.Size(112, 32);
     this.duSpasiKategoriju.TabIndex   = 2;
     this.duSpasiKategoriju.Text       = "       Spasi";
     this.duSpasiKategoriju.UseVisualStyleBackColor = false;
     this.duSpasiKategoriju.Click += new System.EventHandler(this.duSpasiKategoriju_Click);
     //
     // duIzbrisi
     //
     this.duIzbrisi.BackColor  = System.Drawing.Color.Beige;
     this.duIzbrisi.Cursor     = System.Windows.Forms.Cursors.Hand;
     this.duIzbrisi.FlatStyle  = System.Windows.Forms.FlatStyle.Popup;
     this.duIzbrisi.Image      = ((System.Drawing.Image)(resources.GetObject("duIzbrisi.Image")));
     this.duIzbrisi.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.duIzbrisi.Location   = new System.Drawing.Point(158, 131);
     this.duIzbrisi.Name       = "duIzbrisi";
     this.duIzbrisi.Size       = new System.Drawing.Size(112, 32);
     this.duIzbrisi.TabIndex   = 3;
     this.duIzbrisi.Text       = "Izbriši";
     this.duIzbrisi.UseVisualStyleBackColor = false;
     this.duIzbrisi.Click += new System.EventHandler(this.duIzbrisi_Click);
     //
     // dgKategorijeInst
     //
     this.dgKategorijeInst.DataMember      = "";
     this.dgKategorijeInst.DataSource      = this.dsKategorije1.Kategorije;
     this.dgKategorijeInst.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dgKategorijeInst.Location        = new System.Drawing.Point(15, 23);
     this.dgKategorijeInst.Name            = "dgKategorijeInst";
     this.dgKategorijeInst.ReadOnly        = true;
     this.dgKategorijeInst.Size            = new System.Drawing.Size(136, 140);
     this.dgKategorijeInst.TabIndex        = 0;
     this.dgKategorijeInst.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] {
         this.dgTableStyleKatIns
     });
     //
     // dsKategorije1
     //
     this.dsKategorije1.DataSetName             = "dsKategorije";
     this.dsKategorije1.Locale                  = new System.Globalization.CultureInfo("");
     this.dsKategorije1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // dgTableStyleKatIns
     //
     this.dgTableStyleKatIns.DataGrid = this.dgKategorijeInst;
     this.dgTableStyleKatIns.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
         this.KatInstID1,
         this.KategorijaID,
         this.Kategorija
     });
     this.dgTableStyleKatIns.HeaderForeColor = System.Drawing.SystemColors.ControlText;
     this.dgTableStyleKatIns.MappingName     = "Kategorije";
     //
     // KatInstID1
     //
     this.KatInstID1.Format      = "";
     this.KatInstID1.FormatInfo  = null;
     this.KatInstID1.HeaderText  = "KatInstID";
     this.KatInstID1.MappingName = "KatInstID";
     this.KatInstID1.Width       = 0;
     //
     // KategorijaID
     //
     this.KategorijaID.Format      = "";
     this.KategorijaID.FormatInfo  = null;
     this.KategorijaID.HeaderText  = "KategorijaID";
     this.KategorijaID.MappingName = "KategorijaID";
     this.KategorijaID.Width       = 0;
     //
     // Kategorija
     //
     this.Kategorija.Alignment   = System.Windows.Forms.HorizontalAlignment.Center;
     this.Kategorija.Format      = "";
     this.Kategorija.FormatInfo  = null;
     this.Kategorija.HeaderText  = "Kategorija";
     this.Kategorija.MappingName = "Kategorija";
     this.Kategorija.Width       = 75;
     //
     // DTPdatRodjenja
     //
     this.DTPdatRodjenja.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.DTPdatRodjenja.Location = new System.Drawing.Point(144, 109);
     this.DTPdatRodjenja.Name     = "DTPdatRodjenja";
     this.DTPdatRodjenja.Size     = new System.Drawing.Size(152, 22);
     this.DTPdatRodjenja.TabIndex = 2;
     this.DTPdatRodjenja.Value    = new System.DateTime(2007, 10, 24, 0, 0, 0, 0);
     //
     // DTPdatZap
     //
     this.DTPdatZap.Format   = System.Windows.Forms.DateTimePickerFormat.Short;
     this.DTPdatZap.Location = new System.Drawing.Point(144, 253);
     this.DTPdatZap.Name     = "DTPdatZap";
     this.DTPdatZap.Size     = new System.Drawing.Size(152, 22);
     this.DTPdatZap.TabIndex = 6;
     this.DTPdatZap.Value    = new System.DateTime(2007, 10, 24, 0, 0, 0, 0);
     //
     // tbEmail
     //
     this.tbEmail.Location = new System.Drawing.Point(144, 213);
     this.tbEmail.Name     = "tbEmail";
     this.tbEmail.Size     = new System.Drawing.Size(152, 22);
     this.tbEmail.TabIndex = 5;
     //
     // tbTelefon
     //
     this.tbTelefon.Location = new System.Drawing.Point(144, 181);
     this.tbTelefon.Name     = "tbTelefon";
     this.tbTelefon.Size     = new System.Drawing.Size(152, 22);
     this.tbTelefon.TabIndex = 4;
     //
     // tbAdresa
     //
     this.tbAdresa.Location = new System.Drawing.Point(144, 149);
     this.tbAdresa.Name     = "tbAdresa";
     this.tbAdresa.Size     = new System.Drawing.Size(152, 22);
     this.tbAdresa.TabIndex = 3;
     //
     // tbPrezime
     //
     this.tbPrezime.Location = new System.Drawing.Point(144, 69);
     this.tbPrezime.Name     = "tbPrezime";
     this.tbPrezime.Size     = new System.Drawing.Size(152, 22);
     this.tbPrezime.TabIndex = 1;
     //
     // tbIme
     //
     this.tbIme.Location = new System.Drawing.Point(144, 29);
     this.tbIme.Name     = "tbIme";
     this.tbIme.Size     = new System.Drawing.Size(152, 22);
     this.tbIme.TabIndex = 0;
     //
     // tbInstruktorID
     //
     this.tbInstruktorID.Location = new System.Drawing.Point(144, 29);
     this.tbInstruktorID.Name     = "tbInstruktorID";
     this.tbInstruktorID.ReadOnly = true;
     this.tbInstruktorID.Size     = new System.Drawing.Size(37, 22);
     this.tbInstruktorID.TabIndex = 0;
     this.tbInstruktorID.TabStop  = false;
     this.tbInstruktorID.Visible  = false;
     //
     // lbDatumZapos
     //
     this.lbDatumZapos.Location  = new System.Drawing.Point(16, 253);
     this.lbDatumZapos.Name      = "lbDatumZapos";
     this.lbDatumZapos.Size      = new System.Drawing.Size(120, 23);
     this.lbDatumZapos.TabIndex  = 7;
     this.lbDatumZapos.Text      = "Datum zaposlenja:";
     this.lbDatumZapos.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbEmail
     //
     this.lbEmail.Location  = new System.Drawing.Point(16, 213);
     this.lbEmail.Name      = "lbEmail";
     this.lbEmail.Size      = new System.Drawing.Size(120, 23);
     this.lbEmail.TabIndex  = 6;
     this.lbEmail.Text      = "E-mail:";
     this.lbEmail.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbTelefon
     //
     this.lbTelefon.Location  = new System.Drawing.Point(16, 181);
     this.lbTelefon.Name      = "lbTelefon";
     this.lbTelefon.Size      = new System.Drawing.Size(120, 23);
     this.lbTelefon.TabIndex  = 5;
     this.lbTelefon.Text      = "Telefon:";
     this.lbTelefon.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbAdresa
     //
     this.lbAdresa.Location  = new System.Drawing.Point(16, 148);
     this.lbAdresa.Name      = "lbAdresa";
     this.lbAdresa.Size      = new System.Drawing.Size(120, 23);
     this.lbAdresa.TabIndex  = 4;
     this.lbAdresa.Text      = "Adresa:";
     this.lbAdresa.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbDatumRodjenja
     //
     this.lbDatumRodjenja.Location  = new System.Drawing.Point(16, 109);
     this.lbDatumRodjenja.Name      = "lbDatumRodjenja";
     this.lbDatumRodjenja.Size      = new System.Drawing.Size(120, 23);
     this.lbDatumRodjenja.TabIndex  = 3;
     this.lbDatumRodjenja.Text      = "Datum rodjenja:";
     this.lbDatumRodjenja.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbPrezime
     //
     this.lbPrezime.Location  = new System.Drawing.Point(16, 69);
     this.lbPrezime.Name      = "lbPrezime";
     this.lbPrezime.Size      = new System.Drawing.Size(120, 23);
     this.lbPrezime.TabIndex  = 2;
     this.lbPrezime.Text      = "Prezime:";
     this.lbPrezime.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // lbIme
     //
     this.lbIme.Location  = new System.Drawing.Point(16, 29);
     this.lbIme.Name      = "lbIme";
     this.lbIme.Size      = new System.Drawing.Size(120, 23);
     this.lbIme.TabIndex  = 1;
     this.lbIme.Text      = "Ime:";
     this.lbIme.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // connInstruktoriUnos
     //
     this.connInstruktoriUnos.ConnectionString = "Data Source=(local);Initial Catalog=baza;integrated security=SSPI";
     this.connInstruktoriUnos.FireInfoMessageEventOnUserErrors = false;
     //
     // KatInstID
     //
     this.KatInstID.Format      = "";
     this.KatInstID.FormatInfo  = null;
     this.KatInstID.HeaderText  = "KatInstID";
     this.KatInstID.MappingName = "KatInstID";
     this.KatInstID.Width       = 75;
     //
     // dsKandidati
     //
     this.dsKandidati.DataSetName             = "dsKandidati";
     this.dsKandidati.Locale                  = new System.Globalization.CultureInfo("hr-HR");
     this.dsKandidati.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(157, 23);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(76, 17);
     this.label1.TabIndex = 7;
     this.label1.Text     = "Unos nove";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(157, 37);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(74, 17);
     this.label2.TabIndex = 8;
     this.label2.Text     = "kategorije:";
     //
     // frmInstruktoriUnos
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
     this.ClientSize        = new System.Drawing.Size(338, 573);
     this.Controls.Add(this.gbPodaci);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.MaximizeBox     = false;
     this.Name            = "frmInstruktoriUnos";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Unos instruktora";
     this.Load           += new System.EventHandler(this.frmInstruktoriUnos_Load);
     this.gbOpcije.ResumeLayout(false);
     this.gbPodaci.ResumeLayout(false);
     this.gbPodaci.PerformLayout();
     this.gbKategorije.ResumeLayout(false);
     this.gbKategorije.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dgKategorijeInst)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKategorije1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.dsKandidati)).EndInit();
     this.ResumeLayout(false);
 }