Inheritance: object, System.ComponentModel.INotifyPropertyChanged
Beispiel #1
0
        private NewDataSet TblTblPmpPassi(NewDataSet ds, int idEq)
        {
            int CntParametri = 0;
            S_ControlsCollection ColParametri = new S_ControlsCollection();
            S_Object             PEqId        = new S_Object();

            PEqId.ParameterName = "PEqId";
            PEqId.DbType        = CustomDBType.Integer;
            PEqId.Direction     = ParameterDirection.Input;
            PEqId.Index         = CntParametri++;
            PEqId.Value         = idEq;
            ColParametri.Add(PEqId);

            S_Object Pio_cursor = new S_Object();

            Pio_cursor.ParameterName = "io_cursor";
            Pio_cursor.DbType        = CustomDBType.Cursor;
            Pio_cursor.Direction     = ParameterDirection.Output;
            Pio_cursor.Index         = CntParametri++;
            ColParametri.Add(Pio_cursor);

            OracleDataLayer _OraDl    = new OracleDataLayer(s_ConnStr);
            DataSet         GenericDs = _OraDl.GetRows(ColParametri, "PACK_SCHEDE_EQ.getPmpPassi").Copy();

            if (GenericDs.Tables[0].Rows.Count > 0)
            {
                for (int i = 0; i < GenericDs.Tables[0].Rows.Count; i++)
                {
                    ds.Tables["TblPmpPassi"].ImportRow(GenericDs.Tables[0].Rows[i]);
                }
            }
            return(ds);
        }
Beispiel #2
0
        public VersesData(NewDataSet.storyRow theStoryRow, NewDataSet projFile)
        {
            NewDataSet.versesRow[] theVersesRows = theStoryRow.GetversesRows();
            NewDataSet.versesRow   theVersesRow;
            if (theVersesRows.Length == 0)
            {
                theVersesRow = projFile.verses.AddversesRow(theStoryRow);
            }
            else
            {
                theVersesRow = theVersesRows[0];
            }

            foreach (NewDataSet.verseRow aVerseRow in theVersesRow.GetverseRows())
            {
                Add(new VerseData(aVerseRow, projFile));
            }

            // the zeroth verse is special for global connotes
            if ((Count > 0) && this[0].IsFirstVerse)
            {
                FirstVerse = this[0];
                RemoveAt(0);
            }
            else
            {
                CreateFirstVerse();
            }
        }
Beispiel #3
0
        // Замена закладки SECONDNAME на данные введенные в textBox
        private void SetTemplate(Word.Document oDoc, NewDataSet cls)
        {
            var i     = 1;
            var table = oDoc.Bookmarks["Table"];
            var T     = oDoc.Tables.Add(table.Range, cls.Table1.Count, 5, 1, 2);
            var o     = T.Rows.Count;

            foreach (var w in cls.Table1)
            {
                T.Rows[i].Cells[1].Range.Text = i.ToString();
                T.Rows[i].Cells[2].Range.Text = w.D126;
                T.Rows[i].Cells[3].Range.Text = w.D83;
                T.Rows[i].Cells[4].Range.Text = w.D39;
                T.Rows[i].Cells[5].Range.Text = w.N313;
                T.Columns.AutoFit();
                i++;
            }
            foreach (var w in cls.Table2)
            {
                oDoc.Bookmarks["Adres"].Range.Text = w.N320;
            }
            foreach (var w in cls.Table3)
            {
                oDoc.Bookmarks["Name"].Range.Text = w.N18;
            }
            oDoc.Bookmarks["GetDate"].Range.Text = DateTime.Now.ToString("dd MMMM yyyy");
        }
Beispiel #4
0
 public void Zapros()
 {
     if (!Validation.IsValid.IsSeathZn(P2.TextBox))
     {
     }
     else
     {
         string[] separators = { ",", ".", "!", "?", ";", ":", " " };
         String[] value      = P2.TextBox.Text.Split(separators, StringSplitOptions.RemoveEmptyEntries);
         foreach (var val in value)
         {
             string  exceptionMsg = "";
             var     add          = new Resursys.Obrabochik.SqlConect();
             DataSet table        = add.AdataTable(val, ref exceptionMsg);
             if (Validation.IsEmpty.IsEmptys(table))
             {
                 XmlSerializer formatter = new XmlSerializer(typeof(NewDataSet));
                 table.WriteXml(@"C:\1\www.xml");
                 using (FileStream fs = new FileStream(@"C:\1\www.xml", FileMode.Open))
                 {
                     NewDataSet   newpeople = (NewDataSet)formatter.Deserialize(fs);
                     ReportsWotrd report    = new ReportsWotrd();
                     report.Document(newpeople, val);
                 }
             }
             else
             {
                 //P2.Resul.ItemsSource = null;
                 //MessageBox.Show(exceptionMsg);
             }
         }
     }
 }
Beispiel #5
0
    public override DataSet Clone()
    {
        NewDataSet set = (NewDataSet)base.Clone();

        set.InitVars();
        set.SchemaSerializationMode = this.SchemaSerializationMode;
        return(set);
    }
Beispiel #6
0
        public override global::System.Data.DataSet Clone()
        {
            NewDataSet cln = ((NewDataSet)(base.Clone()));

            cln.InitVars();
            cln.SchemaSerializationMode = this.SchemaSerializationMode;
            return(cln);
        }
Beispiel #7
0
    public static XmlSchemaComplexType GetTypedDataSetSchema(XmlSchemaSet xs)
    {
        NewDataSet           set      = new NewDataSet();
        XmlSchemaComplexType type2    = new XmlSchemaComplexType();
        XmlSchemaSequence    sequence = new XmlSchemaSequence();
        XmlSchemaAny         item     = new XmlSchemaAny {
            Namespace = set.Namespace
        };

        sequence.Items.Add(item);
        type2.Particle = sequence;
        XmlSchema schemaSerializable = set.GetSchemaSerializable();

        if (xs.Contains(schemaSerializable.TargetNamespace))
        {
            MemoryStream stream  = new MemoryStream();
            MemoryStream stream2 = new MemoryStream();
            try
            {
                XmlSchema current = null;
                schemaSerializable.Write(stream);
                IEnumerator enumerator = xs.Schemas(schemaSerializable.TargetNamespace).GetEnumerator();
                while (enumerator.MoveNext())
                {
                    current = (XmlSchema)enumerator.Current;
                    stream2.SetLength(0L);
                    current.Write(stream2);
                    if (stream.Length == stream2.Length)
                    {
                        stream.Position  = 0L;
                        stream2.Position = 0L;
                        while ((stream.Position != stream.Length) && (stream.ReadByte() == stream2.ReadByte()))
                        {
                        }
                        if (stream.Position == stream.Length)
                        {
                            return(type2);
                        }
                    }
                }
            }
            finally
            {
                if (stream != null)
                {
                    stream.Close();
                }
                if (stream2 != null)
                {
                    stream2.Close();
                }
            }
        }
        xs.Add(schemaSerializable);
        return(type2);
    }
Beispiel #8
0
        private void ImpostaRpt(bool FromWebCad)
        {
            string Eq_id = String.Empty;

            if (FromWebCad)
            {
                Eq_id = Request["id_eq"];
            }
            else
            {
                Eq_id = recuperaEqId();
            }
            DatiShcedeEq myDati = new DatiShcedeEq(Eq_id);
            NewDataSet   ds     = myDati.GetDsTipizzato();

            if (ds.Tables["TblGenerale"].Rows.Count > 0)
            {
                foreach (DataRow dr in ds.Tables["TblGenerale"].Rows)
                {
                    if (dr["EQ_IMAGE_EQ_ASSY"] != DBNull.Value)
                    {
                        if (ControllaFoto(dr["EQ_IMAGE_EQ_ASSY"].ToString()))
                        {
                            dr["EQ_IMMAGINI_IMMAGINE"] = GetPhoto(dr["EQ_IMAGE_EQ_ASSY"].ToString());
                        }
                        else
                        {
                            dr["EQ_IMMAGINI_IMMAGINE"] = GetPhoto("ImmagineNonDisponibile.jpg");
                        }
                    }
                    else
                    {
                        dr["EQ_IMMAGINI_IMMAGINE"] = GetPhoto("ImmagineNonDisponibile.jpg");
                    }
                }
            }

//			DataGrid1.DataSource = ds.Tables["TblAllegatiEstesa"];
//			DataGrid1.DataBind();
//			DataGrid2.DataSource = ds.Tables["TblManRic"];
//			DataGrid2.DataBind();
//			DataGrid3.DataSource = ds.Tables["TblManProg"];
//			DataGrid3.DataBind();
//			DataGrid4.DataSource = ds.Tables["TblManStra"];
//			DataGrid4.DataBind();
            //	ds.WriteXmlSchema(@"c:/tmp/ScmReport.xsd");
            //
            string pathRptSource = Server.MapPath(Request.ApplicationPath + ConfigurationSettings.AppSettings["SourceReports"]);

            crReportDocument.Load(pathRptSource + "RptChedeEq_V9.rpt");
            crReportDocument.SetDataSource(ds);

            CryVwSchedaEq.ReportSource = crReportDocument;
//			DataGrid1.DataSource = ds.Tables["TblAllegati"];
//			DataGrid1.DataBind();
        }
Beispiel #9
0
        public TestQuestionData(NewDataSet.TestQuestionRow theTestQuestionRow, NewDataSet projFile)
        {
            guid      = theTestQuestionRow.guid;
            IsVisible = theTestQuestionRow.visible;

            QuestionVernacular      = new StringTransfer((theTestQuestionRow.IsTQVernacularNull()) ? null : theTestQuestionRow.TQVernacular);
            QuestionNationalBT      = new StringTransfer((theTestQuestionRow.IsTQNationalBTNull()) ? null : theTestQuestionRow.TQNationalBT);
            QuestionInternationalBT = new StringTransfer((theTestQuestionRow.IsTQInternationalBTNull()) ? null : theTestQuestionRow.TQInternationalBT);
            Answers = new AnswersData(theTestQuestionRow, projFile);
        }
Beispiel #10
0
 public StoryData(NewDataSet.storyRow theStoryRow, NewDataSet projFile,
                  bool bHasIndependentConsultant)
 {
     Name           = theStoryRow.name;
     guid           = theStoryRow.guid;
     StageTimeStamp = (theStoryRow.IsstageDateTimeStampNull()) ? DateTime.Now : theStoryRow.stageDateTimeStamp;
     ProjStage      = new StoryStageLogic(theStoryRow.stage, bHasIndependentConsultant);
     CraftingInfo   = new CraftingInfoData(theStoryRow);
     Verses         = new VersesData(theStoryRow, projFile);
 }
Beispiel #11
0
        public AnchorData(NewDataSet.anchorRow theAnchorRow, NewDataSet projFile)
        {
            JumpTarget = theAnchorRow.jumpTarget;

            if (!theAnchorRow.IstoolTipNull())
            {
                ToolTipText = theAnchorRow.toolTip;
            }

            ExegeticalHelpNotes = new ExegeticalHelpNotesData(theAnchorRow, projFile);
        }
Beispiel #12
0
        public StoriesData(NewDataSet.storiesRow theStoriesRow, NewDataSet projFile,
                           bool bHasIndependentConsultant)
        {
            SetName = theStoriesRow.SetName;

            // finally, if it's not new, then it might (should) have stories as well
            foreach (NewDataSet.storyRow aStoryRow in theStoriesRow.GetstoryRows())
            {
                Add(new StoryData(aStoryRow, projFile, bHasIndependentConsultant));
            }
        }
Beispiel #13
0
        public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs)
        {
            NewDataSet ds = new NewDataSet();

            global::System.Xml.Schema.XmlSchemaComplexType type     = new global::System.Xml.Schema.XmlSchemaComplexType();
            global::System.Xml.Schema.XmlSchemaSequence    sequence = new global::System.Xml.Schema.XmlSchemaSequence();
            global::System.Xml.Schema.XmlSchemaAny         any      = new global::System.Xml.Schema.XmlSchemaAny();
            any.Namespace = ds.Namespace;
            sequence.Items.Add(any);
            type.Particle = sequence;
            global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
            if (xs.Contains(dsSchema.TargetNamespace))
            {
                global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
                global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
                try {
                    global::System.Xml.Schema.XmlSchema schema = null;
                    dsSchema.Write(s1);
                    for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext();)
                    {
                        schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                        s2.SetLength(0);
                        schema.Write(s2);
                        if ((s1.Length == s2.Length))
                        {
                            s1.Position = 0;
                            s2.Position = 0;
                            for (; ((s1.Position != s1.Length) &&
                                    (s1.ReadByte() == s2.ReadByte()));)
                            {
                                ;
                            }
                            if ((s1.Position == s1.Length))
                            {
                                return(type);
                            }
                        }
                    }
                }
                finally {
                    if ((s1 != null))
                    {
                        s1.Close();
                    }
                    if ((s2 != null))
                    {
                        s2.Close();
                    }
                }
            }
            xs.Add(dsSchema);
            return(type);
        }
    public static NewDataSet Read(string path)
    {
        var xml    = XElement.Load(path);
        var schema = xml.FirstNode;

        xml.FirstNode.Remove();
        string xmlstring = xml.ToString();
        var    ret       = NewDataSet.Deserialize(xmlstring);

        ret.schema = schema;
        return(ret);
    }
 protected NewDataSet.LanguagesRow InsureLanguagesRow(NewDataSet projFile)
 {
     System.Diagnostics.Debug.Assert(projFile.StoryProject.Count == 1);
     if (projFile.Languages.Count == 0)
     {
         return(projFile.Languages.AddLanguagesRow(projFile.StoryProject[0]));
     }
     else
     {
         System.Diagnostics.Debug.Assert(projFile.Languages.Count == 1);
         return(projFile.Languages[0]);
     }
 }
Beispiel #16
0
 private Word.Document GetDoc(string path, NewDataSet cls, Word.Application app)
 {
     try
     {
         Word.Document oDoc = app.Documents.Add(path);
         SetTemplate(oDoc, cls);
         return(oDoc);
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message);
         return(null);
     }
 }
Beispiel #17
0
 public void Document(NewDataSet cls, String inn)
 {
     // Считывает шаблон и сохраняет измененный в новом
     try
     {
         Word.Application oWord = new Word.Application();
         Word.Document    oDoc  = GetDoc(@"C:\Debug\ReportWord\Templaters\Template.dotx", cls, oWord);
         oDoc.SaveAs(@"C:\1\" + inn + ".docx");
         oDoc.Close();
         oWord.Quit();
     }
     catch (Exception e)
     {
     }
 }
        public TeamMembersData(NewDataSet projFile)
        {
            System.Diagnostics.Debug.Assert((projFile != null) && (projFile.StoryProject != null) && (projFile.StoryProject.Count > 0));
            NewDataSet.StoryProjectRow theStoryProjectRow = projFile.StoryProject[0];
            NewDataSet.MembersRow[]    aMembersRows       = theStoryProjectRow.GetMembersRows();
            NewDataSet.MembersRow      theMembersRow;
            if (aMembersRows.Length == 0)
            {
                theMembersRow = projFile.Members.AddMembersRow(false, false, false, theStoryProjectRow);
            }
            else
            {
                theMembersRow = aMembersRows[0];
            }

            foreach (NewDataSet.MemberRow aMemberRow in theMembersRow.GetMemberRows())
            {
                Add(aMemberRow.name, new TeamMemberData(aMemberRow));
            }

            // if the 'Has...' attributes are new, then get these values from the old method
            if (theMembersRow.IsHasOutsideEnglishBTerNull())
            {
                HasOutsideEnglishBTer = IsThereAnOutsideEnglishBTer;
            }
            else
            {
                HasOutsideEnglishBTer = theMembersRow.HasOutsideEnglishBTer;
            }

            if (theMembersRow.IsHasFirstPassMentorNull())
            {
                HasFirstPassMentor = IsThereAFirstPassMentor;
            }
            else
            {
                HasFirstPassMentor = theMembersRow.HasFirstPassMentor;
            }

            if (theMembersRow.IsHasIndependentConsultantNull())
            {
                HasIndependentConsultant = IsThereAnIndependentConsultant;
            }
            else
            {
                HasIndependentConsultant = theMembersRow.HasIndependentConsultant;
            }
        }
        private void GeneraRptPdf()
        {
            DatiShcedeEq myDati = new DatiShcedeEq(recuperaEqId());
            NewDataSet   ds     = myDati.GetDsTipizzato();

            foreach (DataRow dr in ds.Tables["TblGenerale"].Rows)
            {
                if (dr["EQ_IMAGE_EQ_ASSY"] != DBNull.Value)
                {
                    if (ControllaFoto(dr["EQ_IMAGE_EQ_ASSY"].ToString()))
                    {
                        dr["EQ_IMMAGINI_IMMAGINE"] = GetPhoto(dr["EQ_IMAGE_EQ_ASSY"].ToString());
                    }
                    else
                    {
                        dr["EQ_IMMAGINI_IMMAGINE"] = GetPhoto("ImmagineNonDisponibile.jpg");
                    }
                }
                else
                {
                    dr["EQ_IMMAGINI_IMMAGINE"] = GetPhoto("ImmagineNonDisponibile.jpg");
                }
            }

            //	ds.WriteXmlSchema(@"c:/tmp/ScmReport.xsd");
            //
            string pathRptSource = Server.MapPath(Request.ApplicationPath + ConfigurationSettings.AppSettings["SourceReports"]);

            crReportDocument.Load(pathRptSource + "RptChedeEq_V9.rpt");
            crReportDocument.SetDataSource(ds);
            string Fname = pathRptSource + Session.SessionID.ToString() + ".pdf";

            crDiskFileDestinationOptions = new DiskFileDestinationOptions();
            crDiskFileDestinationOptions.DiskFileName = Fname;
            crExportOptions = crReportDocument.ExportOptions;
            crExportOptions.DestinationOptions    = crDiskFileDestinationOptions;
            crExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
            crExportOptions.ExportFormatType      = ExportFormatType.PortableDocFormat;
            crReportDocument.Export();
            Response.ClearContent();
            Response.ClearHeaders();
            Response.ContentType = "application/pdf";
            Response.WriteFile(Fname);
            Response.Flush();
            Response.Close();
            System.IO.File.Delete(Fname);
        }
Beispiel #20
0
        public NewDataSet GetDsTipizzato()
        {
            NewDataSet ds = new NewDataSet();

            int[] id = ArrayEqId(_MoltepliciEqId);
            for (int j = 0; j < id.Length; j++)
            {
                ds = TblGenerale(ds, id[j]);
                ds = TblDatiTecnici(ds, id[j]);
                ds = TblTblPmpPassi(ds, id[j]);
                ds = TblAllegati(ds, id[j]);
                ds = TblMan(ds, id[j], (int)Manutenzione.Richiesta);
                ds = TblMan(ds, id[j], (int)Manutenzione.Programmata);
                ds = TblMan(ds, id[j], (int)Manutenzione.Straordinaria);
            }
            return(ds);
        }
        public ExegeticalHelpNotesData(NewDataSet.anchorRow theAnchorRow, NewDataSet projFile)
        {
            NewDataSet.exegeticalHelpsRow[] theExHelpNotesRows = theAnchorRow.GetexegeticalHelpsRows();
            NewDataSet.exegeticalHelpsRow   theExHelpNotesRow;
            if (theExHelpNotesRows.Length == 0)
            {
                theExHelpNotesRow = projFile.exegeticalHelps.AddexegeticalHelpsRow(theAnchorRow);
            }
            else
            {
                theExHelpNotesRow = theExHelpNotesRows[0];
            }

            foreach (NewDataSet.exegeticalHelpRow anExHelpNoteRow in theExHelpNotesRow.GetexegeticalHelpRows())
            {
                Add(new ExegeticalHelpNoteData(anExHelpNoteRow));
            }
        }
Beispiel #22
0
        public TestQuestionsData(NewDataSet.verseRow theVerseRow, NewDataSet projFile)
        {
            NewDataSet.TestQuestionsRow[] theTestQuestionsRows = theVerseRow.GetTestQuestionsRows();
            NewDataSet.TestQuestionsRow   theTestQuestionsRow;
            if (theTestQuestionsRows.Length == 0)
            {
                theTestQuestionsRow = projFile.TestQuestions.AddTestQuestionsRow(theVerseRow);
            }
            else
            {
                theTestQuestionsRow = theTestQuestionsRows[0];
            }

            foreach (NewDataSet.TestQuestionRow aTestingQuestionRow in theTestQuestionsRow.GetTestQuestionRows())
            {
                Add(new TestQuestionData(aTestingQuestionRow, projFile));
            }
        }
        public CoachNotesData(NewDataSet.verseRow theVerseRow, NewDataSet projFile)
            : base(CstrCollectionElementName)
        {
            NewDataSet.CoachNotesRow[] theCoachNotesRows = theVerseRow.GetCoachNotesRows();
            NewDataSet.CoachNotesRow   theCoachNotesRow;
            if (theCoachNotesRows.Length == 0)
            {
                theCoachNotesRow = projFile.CoachNotes.AddCoachNotesRow(theVerseRow);
            }
            else
            {
                theCoachNotesRow = theCoachNotesRows[0];
            }

            foreach (NewDataSet.CoachConversationRow aCoachConversationRow in theCoachNotesRow.GetCoachConversationRows())
            {
                Add(new CoachNoteData(aCoachConversationRow));
            }
        }
Beispiel #24
0
        public RetellingsData(NewDataSet.verseRow theVerseRow, NewDataSet projFile)
        {
            NewDataSet.RetellingsRow[] theRetellingsRows = theVerseRow.GetRetellingsRows();
            NewDataSet.RetellingsRow   theRetellingsRow;
            if (theRetellingsRows.Length == 0)
            {
                theRetellingsRow = projFile.Retellings.AddRetellingsRow(theVerseRow);
            }
            else
            {
                theRetellingsRow = theRetellingsRows[0];
            }

            foreach (NewDataSet.RetellingRow aRetellingRow in theRetellingsRow.GetRetellingRows())
            {
                Add(new StringTransfer((aRetellingRow.IsRetelling_textNull()) ? "" : aRetellingRow.Retelling_text));
                MemberIDs.Add(aRetellingRow.memberID);
            }
        }
Beispiel #25
0
        public AnswersData(NewDataSet.TestQuestionRow theTestQuestionRow, NewDataSet projFile)
        {
            NewDataSet.AnswersRow[] theAnswersRows = theTestQuestionRow.GetAnswersRows();
            NewDataSet.AnswersRow   theAnswersRow;
            if (theAnswersRows.Length == 0)
            {
                theAnswersRow = projFile.Answers.AddAnswersRow(theTestQuestionRow);
            }
            else
            {
                theAnswersRow = theAnswersRows[0];
            }

            foreach (NewDataSet.answerRow anAnswerRow in theAnswersRow.GetanswerRows())
            {
                Add(new StringTransfer((anAnswerRow.Isanswer_textNull()) ? "" : anAnswerRow.answer_text));
                MemberIDs.Add(anAnswerRow.memberID);
            }
        }
        public NewDataSet GetAircraftData(string aircraftName)
        {
            // if its cached, return the cached copy.
            if (aircraftData.ContainsKey(aircraftName))
            {
                return aircraftData[aircraftName];
            }
            else
            {
                //Ooops not loaded yet, so load it.
                NewDataSet aircraft = new NewDataSet();
                aircraft.ReadXml(@"airData\" + aircraftName + ".xml");

                // Now add it so next time its cached.
                aircraftData.Add(aircraftName, aircraft);

                return aircraft;
            }
        }
        public NewDataSet GetAircraftData(string aircraftName)
        {
            // if its cached, return the cached copy.
            if (aircraftData.ContainsKey(aircraftName))
            {
                return(aircraftData[aircraftName]);
            }
            else
            {
                //Ooops not loaded yet, so load it.
                NewDataSet aircraft = new NewDataSet();
                aircraft.ReadXml(@"airData\" + aircraftName + ".xml");

                // Now add it so next time its cached.
                aircraftData.Add(aircraftName, aircraft);

                return(aircraft);
            }
        }
Beispiel #28
0
        public StoryProjectData(NewDataSet projFile, ProjectSettings projSettings)
        {
            // this version comes with a project settings object
            ProjSettings = projSettings;

            // if the project file we opened doesn't have anything yet.. (shouldn't really happen)
            if (projFile.StoryProject.Count == 0)
            {
                projFile.StoryProject.AddStoryProjectRow(XmlDataVersion, ProjSettings.ProjectName, Properties.Resources.IDS_DefaultPanoramaFrontMatter);
            }
            else
            {
                projFile.StoryProject[0].ProjectName = ProjSettings.ProjectName;                 // in case the user changed it.
                if (projFile.StoryProject[0].version.CompareTo(XmlDataVersion) > 0)
                {
                    MessageBox.Show(Properties.Resources.IDS_GetNewVersion, Properties.Resources.IDS_Caption);
                    throw StoryEditor.BackOutWithNoUI;
                }
            }

            PanoramaFrontMatter = projFile.StoryProject[0].PanoramaFrontMatter;
            if (String.IsNullOrEmpty(PanoramaFrontMatter))
            {
                PanoramaFrontMatter = Properties.Resources.IDS_DefaultPanoramaFrontMatter;
            }

            if (projFile.stories.Count == 0)
            {
                projFile.stories.AddstoriesRow(Properties.Resources.IDS_MainStoriesSet, projFile.StoryProject[0]);
                projFile.stories.AddstoriesRow(Properties.Resources.IDS_ObsoleteStoriesSet, projFile.StoryProject[0]);
            }

            TeamMembers = new TeamMembersData(projFile);
            ProjSettings.SerializeProjectSettings(projFile);

            // finally, if it's not new, then it might (should) have stories as well
            foreach (NewDataSet.storiesRow aStoriesRow in projFile.StoryProject[0].GetstoriesRows())
            {
                Add(aStoriesRow.SetName, new StoriesData(aStoriesRow, projFile,
                                                         TeamMembers.HasIndependentConsultant));
            }
        }
        public TurnData(NewDataSet.turnDataRow source)
        {
            SustainedTurnRadius = source.sustainedTurnRadius;
            SustainedTurnRate = source.sustainedTurnRate;
            TurnSpeed = source.speed;
            TimeToTurn = source.time;
            StallSpeed = source.stallSpeed;
            CornerVelocity = source.cornerVelocity;
            TurnRadiusAtCorner = source.turnRadiusAtCorner;
            TurnRateAtCorner = source.turnRateAtCorner;

            if (source.flapPosition == "none")
            {
                FlapPosition = TurnData.FlapPositionType.None;
            }
            else if (source.flapPosition == "full")
            {
                FlapPosition = TurnData.FlapPositionType.Full;
            }
            else
                throw new ApplicationException("Unknown Flap setting!");
        }
Beispiel #30
0
        public AnchorsData(NewDataSet.verseRow theVerseRow, NewDataSet projFile)
        {
            NewDataSet.anchorsRow[] theAnchorsRows = theVerseRow.GetanchorsRows();
            NewDataSet.anchorsRow   theAnchorsRow;
            if (theAnchorsRows.Length == 0)
            {
                theAnchorsRow = projFile.anchors.AddanchorsRow(false, theVerseRow);
            }
            else
            {
                theAnchorsRow = theAnchorsRows[0];
            }

            if (!theAnchorsRow.IskeyTermCheckedNull())
            {
                IsKeyTermChecked = theAnchorsRow.keyTermChecked;
            }

            foreach (NewDataSet.anchorRow anAnchorRow in theAnchorsRow.GetanchorRows())
            {
                Add(new AnchorData(anAnchorRow, projFile));
            }
        }
Beispiel #31
0
        public VerseData(NewDataSet.verseRow theVerseRow, NewDataSet projFile)
        {
            guid = theVerseRow.guid;

            if (!theVerseRow.IsfirstNull())
            {
                IsFirstVerse = theVerseRow.first;
            }

            if (!theVerseRow.IsvisibleNull())
            {
                IsVisible = theVerseRow.visible;
            }

            VernacularText      = new StringTransfer((!theVerseRow.IsVernacularNull()) ? theVerseRow.Vernacular : null);
            NationalBTText      = new StringTransfer((!theVerseRow.IsNationalBTNull()) ? theVerseRow.NationalBT : null);
            InternationalBTText = new StringTransfer((!theVerseRow.IsInternationalBTNull()) ? theVerseRow.InternationalBT : null);

            Anchors         = new AnchorsData(theVerseRow, projFile);
            TestQuestions   = new TestQuestionsData(theVerseRow, projFile);
            Retellings      = new RetellingsData(theVerseRow, projFile);
            ConsultantNotes = new ConsultantNotesData(theVerseRow, projFile);
            CoachNotes      = new CoachNotesData(theVerseRow, projFile);
        }
Beispiel #32
0
        static void Main(string[] args)
        {
            //Person person1 = new Person("Tom", 29, new Company("Microsoft"));
            //Person person2 = new Person("Bill", 25, new Company("Apple"));
            //Person[] people = new Person[] {  };

            XmlSerializer formatter = new XmlSerializer(typeof(NewDataSet));

            //using (FileStream fs = new FileStream(@"C:\1\people.xml", FileMode.OpenOrCreate))
            //{
            //    formatter.Serialize(fs, people);
            //}

            using (FileStream fs = new FileStream(@"C:\1\www.xml", FileMode.Open))
            {
                NewDataSet newpeople = (NewDataSet)formatter.Deserialize(fs);

                foreach (var p in newpeople.Table1)
                {
                    Console.WriteLine(p.D126, p.D39, p.D83, p.N313);
                }
            }
            Console.ReadLine();
        }
 public XRoot(NewDataSet root) {
     this.doc = new XDocument(root.Untyped);
     this.rootObject = root;
 }
Beispiel #34
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label qrCodeLabel1;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmProduct));
     this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
     this.productBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.newDataSet = new PEIMSV3Cs.NewDataSet();
     this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.Panel1 = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.SaveButton = new System.Windows.Forms.Button();
     this.button2 = new System.Windows.Forms.Button();
     this.ExitButton = new System.Windows.Forms.Button();
     this.UpdateButton = new System.Windows.Forms.Button();
     this.DeleteButton = new System.Windows.Forms.Button();
     this.AddButton = new System.Windows.Forms.Button();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.LoadImageButton = new System.Windows.Forms.Button();
     this.textBoxImagePath = new System.Windows.Forms.TextBox();
     this.qrCodePictureBox = new System.Windows.Forms.PictureBox();
     this.productIDLabel = new System.Windows.Forms.Label();
     this.productIDTextBox = new System.Windows.Forms.TextBox();
     this.nameLabel = new System.Windows.Forms.Label();
     this.nameTextBox = new System.Windows.Forms.TextBox();
     this.locationIDLabel = new System.Windows.Forms.Label();
     this.locationIDTextBox = new System.Windows.Forms.TextBox();
     this.manDateLabel = new System.Windows.Forms.Label();
     this.manDate_dateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.expDateLabel = new System.Windows.Forms.Label();
     this.expDate_dateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.batchNoLabel = new System.Windows.Forms.Label();
     this.batchNoTextBox = new System.Windows.Forms.TextBox();
     this.priceLabel = new System.Windows.Forms.Label();
     this.priceTextBox = new System.Windows.Forms.TextBox();
     this.rfidTagIDLabel = new System.Windows.Forms.Label();
     this.rfidTagIDTextBox = new System.Windows.Forms.TextBox();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.productDataGridView = new System.Windows.Forms.DataGridView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.panel3 = new System.Windows.Forms.Panel();
     this.panel4 = new System.Windows.Forms.Panel();
     this.panel5 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     qrCodeLabel1 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
     this.bindingNavigator1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.productBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.Panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.qrCodePictureBox)).BeginInit();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.productDataGridView)).BeginInit();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // qrCodeLabel1
     //
     qrCodeLabel1.AutoSize = true;
     qrCodeLabel1.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     qrCodeLabel1.Location = new System.Drawing.Point(433, 25);
     qrCodeLabel1.Name = "qrCodeLabel1";
     qrCodeLabel1.Size = new System.Drawing.Size(58, 12);
     qrCodeLabel1.TabIndex = 39;
     qrCodeLabel1.Text = "qr Code:";
     //
     // bindingNavigator1
     //
     this.bindingNavigator1.AddNewItem = null;
     this.bindingNavigator1.BindingSource = this.productBindingSource;
     this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
     this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
     this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bindingNavigatorMoveFirstItem,
     this.bindingNavigatorMovePreviousItem,
     this.bindingNavigatorSeparator,
     this.bindingNavigatorPositionItem,
     this.bindingNavigatorCountItem,
     this.bindingNavigatorSeparator1,
     this.bindingNavigatorMoveNextItem,
     this.bindingNavigatorMoveLastItem,
     this.bindingNavigatorSeparator2,
     this.bindingNavigatorAddNewItem,
     this.bindingNavigatorDeleteItem,
     this.toolStripButton1});
     this.bindingNavigator1.Location = new System.Drawing.Point(0, 0);
     this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
     this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
     this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
     this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.bindingNavigator1.Name = "bindingNavigator1";
     this.bindingNavigator1.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0);
     this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
     this.bindingNavigator1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
     this.bindingNavigator1.Size = new System.Drawing.Size(828, 25);
     this.bindingNavigator1.TabIndex = 0;
     this.bindingNavigator1.Text = "bindingNavigator1";
     //
     // productBindingSource
     //
     this.productBindingSource.DataMember = "product";
     this.productBindingSource.DataSource = this.newDataSet;
     //
     // newDataSet
     //
     this.newDataSet.DataSetName = "NewDataSet";
     this.newDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size = new System.Drawing.Size(36, 22);
     this.bindingNavigatorCountItem.Text = "of {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize = false;
     this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text = "0";
     this.bindingNavigatorPositionItem.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text = "Save";
     this.toolStripButton1.Click += new System.EventHandler(this.Save_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // Panel1
     //
     this.Panel1.AutoScroll = true;
     this.Panel1.AutoSize = true;
     this.Panel1.Controls.Add(this.tabControl1);
     this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Panel1.Location = new System.Drawing.Point(0, 0);
     this.Panel1.Margin = new System.Windows.Forms.Padding(10, 3, 10, 3);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(828, 409);
     this.Panel1.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Location = new System.Drawing.Point(0, 3);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(811, 407);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.SaveButton);
     this.tabPage1.Controls.Add(this.button2);
     this.tabPage1.Controls.Add(this.ExitButton);
     this.tabPage1.Controls.Add(this.UpdateButton);
     this.tabPage1.Controls.Add(this.DeleteButton);
     this.tabPage1.Controls.Add(this.AddButton);
     this.tabPage1.Controls.Add(this.textBox2);
     this.tabPage1.Controls.Add(this.listBox1);
     this.tabPage1.Controls.Add(this.LoadImageButton);
     this.tabPage1.Controls.Add(this.textBoxImagePath);
     this.tabPage1.Controls.Add(qrCodeLabel1);
     this.tabPage1.Controls.Add(this.qrCodePictureBox);
     this.tabPage1.Controls.Add(this.productIDLabel);
     this.tabPage1.Controls.Add(this.productIDTextBox);
     this.tabPage1.Controls.Add(this.nameLabel);
     this.tabPage1.Controls.Add(this.nameTextBox);
     this.tabPage1.Controls.Add(this.locationIDLabel);
     this.tabPage1.Controls.Add(this.locationIDTextBox);
     this.tabPage1.Controls.Add(this.manDateLabel);
     this.tabPage1.Controls.Add(this.manDate_dateTimePicker);
     this.tabPage1.Controls.Add(this.expDateLabel);
     this.tabPage1.Controls.Add(this.expDate_dateTimePicker);
     this.tabPage1.Controls.Add(this.batchNoLabel);
     this.tabPage1.Controls.Add(this.batchNoTextBox);
     this.tabPage1.Controls.Add(this.priceLabel);
     this.tabPage1.Controls.Add(this.priceTextBox);
     this.tabPage1.Controls.Add(this.rfidTagIDLabel);
     this.tabPage1.Controls.Add(this.rfidTagIDTextBox);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(803, 381);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Graphical View";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // SaveButton
     //
     this.SaveButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SaveButton.Location = new System.Drawing.Point(552, 331);
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.Size = new System.Drawing.Size(75, 23);
     this.SaveButton.TabIndex = 51;
     this.SaveButton.Text = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // button2
     //
     this.button2.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button2.Location = new System.Drawing.Point(652, 253);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(105, 23);
     this.button2.TabIndex = 50;
     this.button2.Text = "SearchID";
     this.button2.UseVisualStyleBackColor = true;
     //
     // ExitButton
     //
     this.ExitButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ExitButton.Location = new System.Drawing.Point(708, 331);
     this.ExitButton.Name = "ExitButton";
     this.ExitButton.Size = new System.Drawing.Size(75, 23);
     this.ExitButton.TabIndex = 49;
     this.ExitButton.Text = "Exit";
     this.ExitButton.UseVisualStyleBackColor = true;
     this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
     //
     // UpdateButton
     //
     this.UpdateButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UpdateButton.Location = new System.Drawing.Point(461, 331);
     this.UpdateButton.Name = "UpdateButton";
     this.UpdateButton.Size = new System.Drawing.Size(75, 23);
     this.UpdateButton.TabIndex = 48;
     this.UpdateButton.Text = "Update";
     this.UpdateButton.UseVisualStyleBackColor = true;
     this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click);
     //
     // DeleteButton
     //
     this.DeleteButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DeleteButton.Location = new System.Drawing.Point(361, 331);
     this.DeleteButton.Name = "DeleteButton";
     this.DeleteButton.Size = new System.Drawing.Size(75, 23);
     this.DeleteButton.TabIndex = 47;
     this.DeleteButton.Text = "Delete";
     this.DeleteButton.UseVisualStyleBackColor = true;
     this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
     //
     // AddButton
     //
     this.AddButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AddButton.Location = new System.Drawing.Point(263, 331);
     this.AddButton.Name = "AddButton";
     this.AddButton.Size = new System.Drawing.Size(75, 23);
     this.AddButton.TabIndex = 46;
     this.AddButton.Text = "Add";
     this.AddButton.UseVisualStyleBackColor = true;
     this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
     //
     // textBox2
     //
     this.textBox2.Location = new System.Drawing.Point(615, 227);
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(168, 20);
     this.textBox2.TabIndex = 45;
     //
     // listBox1
     //
     this.listBox1.DataSource = this.productBindingSource;
     this.listBox1.DisplayMember = "productID";
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location = new System.Drawing.Point(615, 60);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(168, 160);
     this.listBox1.TabIndex = 43;
     //
     // LoadImageButton
     //
     this.LoadImageButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LoadImageButton.Location = new System.Drawing.Point(402, 249);
     this.LoadImageButton.Name = "LoadImageButton";
     this.LoadImageButton.Size = new System.Drawing.Size(111, 23);
     this.LoadImageButton.TabIndex = 42;
     this.LoadImageButton.Text = "Load Image";
     this.LoadImageButton.UseVisualStyleBackColor = true;
     this.LoadImageButton.Click += new System.EventHandler(this.LoadImageButton_Click);
     //
     // textBoxImagePath
     //
     this.textBoxImagePath.Location = new System.Drawing.Point(364, 223);
     this.textBoxImagePath.Name = "textBoxImagePath";
     this.textBoxImagePath.Size = new System.Drawing.Size(183, 20);
     this.textBoxImagePath.TabIndex = 41;
     //
     // qrCodePictureBox
     //
     this.qrCodePictureBox.BackColor = System.Drawing.SystemColors.ActiveBorder;
     this.qrCodePictureBox.DataBindings.Add(new System.Windows.Forms.Binding("Image", this.productBindingSource, "qrCode", true));
     this.qrCodePictureBox.DataBindings.Add(new System.Windows.Forms.Binding("Tag", this.productBindingSource, "qrCode", true));
     this.qrCodePictureBox.Location = new System.Drawing.Point(364, 60);
     this.qrCodePictureBox.Name = "qrCodePictureBox";
     this.qrCodePictureBox.Size = new System.Drawing.Size(183, 157);
     this.qrCodePictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.qrCodePictureBox.TabIndex = 40;
     this.qrCodePictureBox.TabStop = false;
     //
     // productIDLabel
     //
     this.productIDLabel.AutoSize = true;
     this.productIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.productIDLabel.Location = new System.Drawing.Point(28, 25);
     this.productIDLabel.Name = "productIDLabel";
     this.productIDLabel.Size = new System.Drawing.Size(68, 12);
     this.productIDLabel.TabIndex = 23;
     this.productIDLabel.Text = "productID";
     //
     // productIDTextBox
     //
     this.productIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "productID", true));
     this.productIDTextBox.Location = new System.Drawing.Point(117, 21);
     this.productIDTextBox.Name = "productIDTextBox";
     this.productIDTextBox.Size = new System.Drawing.Size(216, 20);
     this.productIDTextBox.TabIndex = 24;
     //
     // nameLabel
     //
     this.nameLabel.AutoSize = true;
     this.nameLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nameLabel.Location = new System.Drawing.Point(28, 60);
     this.nameLabel.Name = "nameLabel";
     this.nameLabel.Size = new System.Drawing.Size(36, 12);
     this.nameLabel.TabIndex = 25;
     this.nameLabel.Text = "name";
     //
     // nameTextBox
     //
     this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "name", true));
     this.nameTextBox.Location = new System.Drawing.Point(117, 56);
     this.nameTextBox.Name = "nameTextBox";
     this.nameTextBox.Size = new System.Drawing.Size(216, 20);
     this.nameTextBox.TabIndex = 26;
     //
     // locationIDLabel
     //
     this.locationIDLabel.AutoSize = true;
     this.locationIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.locationIDLabel.Location = new System.Drawing.Point(28, 97);
     this.locationIDLabel.Name = "locationIDLabel";
     this.locationIDLabel.Size = new System.Drawing.Size(71, 12);
     this.locationIDLabel.TabIndex = 27;
     this.locationIDLabel.Text = "locationID";
     //
     // locationIDTextBox
     //
     this.locationIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "locationID", true));
     this.locationIDTextBox.Location = new System.Drawing.Point(117, 93);
     this.locationIDTextBox.Name = "locationIDTextBox";
     this.locationIDTextBox.Size = new System.Drawing.Size(216, 20);
     this.locationIDTextBox.TabIndex = 28;
     //
     // manDateLabel
     //
     this.manDateLabel.AutoSize = true;
     this.manDateLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.manDateLabel.Location = new System.Drawing.Point(28, 132);
     this.manDateLabel.Name = "manDateLabel";
     this.manDateLabel.Size = new System.Drawing.Size(58, 12);
     this.manDateLabel.TabIndex = 29;
     this.manDateLabel.Text = "manDate";
     //
     // manDate_dateTimePicker
     //
     this.manDate_dateTimePicker.CustomFormat = "dd/MM/yyyy";
     this.manDate_dateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "manDate", true));
     this.manDate_dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.manDate_dateTimePicker.Location = new System.Drawing.Point(117, 132);
     this.manDate_dateTimePicker.Name = "manDate_dateTimePicker";
     this.manDate_dateTimePicker.Size = new System.Drawing.Size(216, 20);
     this.manDate_dateTimePicker.TabIndex = 30;
     this.manDate_dateTimePicker.Value = new System.DateTime(2014, 5, 26, 17, 35, 11, 0);
     //
     // expDateLabel
     //
     this.expDateLabel.AutoSize = true;
     this.expDateLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.expDateLabel.Location = new System.Drawing.Point(28, 179);
     this.expDateLabel.Name = "expDateLabel";
     this.expDateLabel.Size = new System.Drawing.Size(54, 12);
     this.expDateLabel.TabIndex = 31;
     this.expDateLabel.Text = "expDate";
     //
     // expDate_dateTimePicker
     //
     this.expDate_dateTimePicker.CustomFormat = "dd/MM/yyyy";
     this.expDate_dateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "expDate", true));
     this.expDate_dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.expDate_dateTimePicker.Location = new System.Drawing.Point(117, 172);
     this.expDate_dateTimePicker.Name = "expDate_dateTimePicker";
     this.expDate_dateTimePicker.Size = new System.Drawing.Size(216, 20);
     this.expDate_dateTimePicker.TabIndex = 32;
     this.expDate_dateTimePicker.Value = new System.DateTime(2014, 5, 26, 17, 35, 11, 0);
     //
     // batchNoLabel
     //
     this.batchNoLabel.AutoSize = true;
     this.batchNoLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.batchNoLabel.Location = new System.Drawing.Point(28, 214);
     this.batchNoLabel.Name = "batchNoLabel";
     this.batchNoLabel.Size = new System.Drawing.Size(57, 12);
     this.batchNoLabel.TabIndex = 33;
     this.batchNoLabel.Text = "batchNo";
     //
     // batchNoTextBox
     //
     this.batchNoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "batchNo", true));
     this.batchNoTextBox.Location = new System.Drawing.Point(117, 210);
     this.batchNoTextBox.Name = "batchNoTextBox";
     this.batchNoTextBox.Size = new System.Drawing.Size(216, 20);
     this.batchNoTextBox.TabIndex = 34;
     //
     // priceLabel
     //
     this.priceLabel.AutoSize = true;
     this.priceLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.priceLabel.Location = new System.Drawing.Point(28, 251);
     this.priceLabel.Name = "priceLabel";
     this.priceLabel.Size = new System.Drawing.Size(37, 12);
     this.priceLabel.TabIndex = 35;
     this.priceLabel.Text = "price";
     //
     // priceTextBox
     //
     this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "price", true));
     this.priceTextBox.Location = new System.Drawing.Point(117, 247);
     this.priceTextBox.Name = "priceTextBox";
     this.priceTextBox.Size = new System.Drawing.Size(216, 20);
     this.priceTextBox.TabIndex = 36;
     //
     // rfidTagIDLabel
     //
     this.rfidTagIDLabel.AutoSize = true;
     this.rfidTagIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.rfidTagIDLabel.Location = new System.Drawing.Point(28, 287);
     this.rfidTagIDLabel.Name = "rfidTagIDLabel";
     this.rfidTagIDLabel.Size = new System.Drawing.Size(63, 12);
     this.rfidTagIDLabel.TabIndex = 37;
     this.rfidTagIDLabel.Text = "rfidTagID";
     //
     // rfidTagIDTextBox
     //
     this.rfidTagIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productBindingSource, "rfidTagID", true));
     this.rfidTagIDTextBox.Location = new System.Drawing.Point(117, 283);
     this.rfidTagIDTextBox.Name = "rfidTagIDTextBox";
     this.rfidTagIDTextBox.Size = new System.Drawing.Size(216, 20);
     this.rfidTagIDTextBox.TabIndex = 38;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.productDataGridView);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(803, 381);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Data Grid View";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // productDataGridView
     //
     this.productDataGridView.AutoGenerateColumns = false;
     this.productDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.productDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3,
     this.dataGridViewTextBoxColumn4,
     this.dataGridViewTextBoxColumn5,
     this.dataGridViewTextBoxColumn6,
     this.dataGridViewTextBoxColumn7,
     this.dataGridViewTextBoxColumn8,
     this.dataGridViewImageColumn1});
     this.productDataGridView.DataSource = this.productBindingSource;
     this.productDataGridView.Location = new System.Drawing.Point(0, 0);
     this.productDataGridView.Name = "productDataGridView";
     this.productDataGridView.Size = new System.Drawing.Size(944, 384);
     this.productDataGridView.TabIndex = 0;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "productID";
     this.dataGridViewTextBoxColumn1.HeaderText = "productID";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "name";
     this.dataGridViewTextBoxColumn2.HeaderText = "name";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "locationID";
     this.dataGridViewTextBoxColumn3.HeaderText = "locationID";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "manDate";
     this.dataGridViewTextBoxColumn4.HeaderText = "manDate";
     this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "expDate";
     this.dataGridViewTextBoxColumn5.HeaderText = "expDate";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.DataPropertyName = "batchNo";
     this.dataGridViewTextBoxColumn6.HeaderText = "batchNo";
     this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
     //
     // dataGridViewTextBoxColumn7
     //
     this.dataGridViewTextBoxColumn7.DataPropertyName = "price";
     this.dataGridViewTextBoxColumn7.HeaderText = "price";
     this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
     //
     // dataGridViewTextBoxColumn8
     //
     this.dataGridViewTextBoxColumn8.DataPropertyName = "rfidTagID";
     this.dataGridViewTextBoxColumn8.HeaderText = "rfidTagID";
     this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
     //
     // dataGridViewImageColumn1
     //
     this.dataGridViewImageColumn1.DataPropertyName = "qrCode";
     this.dataGridViewImageColumn1.HeaderText = "qrCode";
     this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
     //
     // tabPage3
     //
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage3.Size = new System.Drawing.Size(803, 381);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "Data Grid View";
     this.tabPage3.UseVisualStyleBackColor = true;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.Panel1);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Controls.Add(this.panel5);
     this.panel3.Controls.Add(this.panel6);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 25);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(828, 409);
     this.panel3.TabIndex = 19;
     //
     // panel4
     //
     this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(828, 409);
     this.panel4.TabIndex = 3;
     //
     // panel5
     //
     this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(828, 409);
     this.panel5.TabIndex = 5;
     //
     // panel6
     //
     this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(828, 409);
     this.panel6.TabIndex = 6;
     //
     // frmProduct
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(828, 434);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.bindingNavigator1);
     this.Name = "frmProduct";
     this.Text = "Product";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmproduct_FormClosing);
     this.Load += new System.EventHandler(this.frmproduct_Load);
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
     this.bindingNavigator1.ResumeLayout(false);
     this.bindingNavigator1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.productBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.qrCodePictureBox)).EndInit();
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.productDataGridView)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #35
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDisease));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
     this.diseaseBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.newDataSet = new PEIMSV3Cs.NewDataSet();
     this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.Panel1 = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.SaveButton = new System.Windows.Forms.Button();
     this.SearchIDButton = new System.Windows.Forms.Button();
     this.ExitButton = new System.Windows.Forms.Button();
     this.UpdateButton = new System.Windows.Forms.Button();
     this.DeleteButton = new System.Windows.Forms.Button();
     this.AddButton = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.diseaseIDLabel = new System.Windows.Forms.Label();
     this.diseaseIDTextBox = new System.Windows.Forms.TextBox();
     this.nameLabel = new System.Windows.Forms.Label();
     this.nameTextBox = new System.Windows.Forms.TextBox();
     this.productIDLabel = new System.Windows.Forms.Label();
     this.productIDTextBox = new System.Windows.Forms.TextBox();
     this.requirementProductLabel = new System.Windows.Forms.Label();
     this.requirementProductTextBox = new System.Windows.Forms.TextBox();
     this.agesAffectedLabel = new System.Windows.Forms.Label();
     this.agesAffectedTextBox = new System.Windows.Forms.TextBox();
     this.typeLabel = new System.Windows.Forms.Label();
     this.typeTextBox = new System.Windows.Forms.TextBox();
     this.spreadingRatePerWkLabel = new System.Windows.Forms.Label();
     this.spreadingRatePerWkTextBox = new System.Windows.Forms.TextBox();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.diseaseDataGridView = new System.Windows.Forms.DataGridView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.panel3 = new System.Windows.Forms.Panel();
     this.panel4 = new System.Windows.Forms.Panel();
     this.panel5 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
     this.bindingNavigator1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.diseaseBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.Panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.diseaseDataGridView)).BeginInit();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // bindingNavigator1
     //
     this.bindingNavigator1.AddNewItem = null;
     this.bindingNavigator1.BindingSource = this.diseaseBindingSource;
     this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
     this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
     this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bindingNavigatorMoveFirstItem,
     this.bindingNavigatorMovePreviousItem,
     this.bindingNavigatorSeparator,
     this.bindingNavigatorPositionItem,
     this.bindingNavigatorCountItem,
     this.bindingNavigatorSeparator1,
     this.bindingNavigatorMoveNextItem,
     this.bindingNavigatorMoveLastItem,
     this.bindingNavigatorSeparator2,
     this.bindingNavigatorAddNewItem,
     this.bindingNavigatorDeleteItem,
     this.toolStripButton1});
     this.bindingNavigator1.Location = new System.Drawing.Point(0, 0);
     this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
     this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
     this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
     this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.bindingNavigator1.Name = "bindingNavigator1";
     this.bindingNavigator1.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0);
     this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
     this.bindingNavigator1.Size = new System.Drawing.Size(657, 25);
     this.bindingNavigator1.TabIndex = 0;
     this.bindingNavigator1.Text = "bindingNavigator1";
     //
     // diseaseBindingSource
     //
     this.diseaseBindingSource.DataMember = "disease";
     this.diseaseBindingSource.DataSource = this.newDataSet;
     //
     // newDataSet
     //
     this.newDataSet.DataSetName = "NewDataSet";
     this.newDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size = new System.Drawing.Size(36, 22);
     this.bindingNavigatorCountItem.Text = "of {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize = false;
     this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text = "0";
     this.bindingNavigatorPositionItem.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text = "Save";
     this.toolStripButton1.Click += new System.EventHandler(this.Save_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // Panel1
     //
     this.Panel1.AutoScroll = true;
     this.Panel1.AutoSize = true;
     this.Panel1.Controls.Add(this.tabControl1);
     this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Panel1.Font = new System.Drawing.Font("Symbol", 8.25F);
     this.Panel1.Location = new System.Drawing.Point(0, 0);
     this.Panel1.Margin = new System.Windows.Forms.Padding(10, 3, 10, 3);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(657, 341);
     this.Panel1.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabControl1.Location = new System.Drawing.Point(0, 0);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(655, 340);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.SaveButton);
     this.tabPage1.Controls.Add(this.SearchIDButton);
     this.tabPage1.Controls.Add(this.ExitButton);
     this.tabPage1.Controls.Add(this.UpdateButton);
     this.tabPage1.Controls.Add(this.DeleteButton);
     this.tabPage1.Controls.Add(this.AddButton);
     this.tabPage1.Controls.Add(this.textBox1);
     this.tabPage1.Controls.Add(this.listBox1);
     this.tabPage1.Controls.Add(this.diseaseIDLabel);
     this.tabPage1.Controls.Add(this.diseaseIDTextBox);
     this.tabPage1.Controls.Add(this.nameLabel);
     this.tabPage1.Controls.Add(this.nameTextBox);
     this.tabPage1.Controls.Add(this.productIDLabel);
     this.tabPage1.Controls.Add(this.productIDTextBox);
     this.tabPage1.Controls.Add(this.requirementProductLabel);
     this.tabPage1.Controls.Add(this.requirementProductTextBox);
     this.tabPage1.Controls.Add(this.agesAffectedLabel);
     this.tabPage1.Controls.Add(this.agesAffectedTextBox);
     this.tabPage1.Controls.Add(this.typeLabel);
     this.tabPage1.Controls.Add(this.typeTextBox);
     this.tabPage1.Controls.Add(this.spreadingRatePerWkLabel);
     this.tabPage1.Controls.Add(this.spreadingRatePerWkTextBox);
     this.tabPage1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(647, 314);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Details View";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // SaveButton
     //
     this.SaveButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SaveButton.Location = new System.Drawing.Point(414, 282);
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.Size = new System.Drawing.Size(75, 23);
     this.SaveButton.TabIndex = 55;
     this.SaveButton.Text = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // SearchIDButton
     //
     this.SearchIDButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SearchIDButton.Location = new System.Drawing.Point(508, 250);
     this.SearchIDButton.Name = "SearchIDButton";
     this.SearchIDButton.Size = new System.Drawing.Size(120, 23);
     this.SearchIDButton.TabIndex = 49;
     this.SearchIDButton.Text = "SearchID";
     this.SearchIDButton.UseVisualStyleBackColor = true;
     //
     // ExitButton
     //
     this.ExitButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ExitButton.Location = new System.Drawing.Point(553, 282);
     this.ExitButton.Name = "ExitButton";
     this.ExitButton.Size = new System.Drawing.Size(75, 23);
     this.ExitButton.TabIndex = 48;
     this.ExitButton.Text = "Exit";
     this.ExitButton.UseVisualStyleBackColor = true;
     this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
     //
     // UpdateButton
     //
     this.UpdateButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UpdateButton.Location = new System.Drawing.Point(323, 282);
     this.UpdateButton.Name = "UpdateButton";
     this.UpdateButton.Size = new System.Drawing.Size(75, 23);
     this.UpdateButton.TabIndex = 47;
     this.UpdateButton.Text = "Update";
     this.UpdateButton.UseVisualStyleBackColor = true;
     this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click);
     //
     // DeleteButton
     //
     this.DeleteButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DeleteButton.Location = new System.Drawing.Point(223, 282);
     this.DeleteButton.Name = "DeleteButton";
     this.DeleteButton.Size = new System.Drawing.Size(75, 23);
     this.DeleteButton.TabIndex = 46;
     this.DeleteButton.Text = "Delete";
     this.DeleteButton.UseVisualStyleBackColor = true;
     this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
     //
     // AddButton
     //
     this.AddButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AddButton.Location = new System.Drawing.Point(125, 282);
     this.AddButton.Name = "AddButton";
     this.AddButton.Size = new System.Drawing.Size(75, 23);
     this.AddButton.TabIndex = 45;
     this.AddButton.Text = "Add";
     this.AddButton.UseVisualStyleBackColor = true;
     this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
     //
     // textBox1
     //
     this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.textBox1.Location = new System.Drawing.Point(508, 223);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(120, 20);
     this.textBox1.TabIndex = 44;
     //
     // listBox1
     //
     this.listBox1.DataSource = this.diseaseBindingSource;
     this.listBox1.DisplayMember = "diseaseID";
     this.listBox1.Font = new System.Drawing.Font("Times New Roman", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.listBox1.FormattingEnabled = true;
     this.listBox1.ItemHeight = 14;
     this.listBox1.Location = new System.Drawing.Point(508, 18);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(120, 200);
     this.listBox1.TabIndex = 43;
     //
     // diseaseIDLabel
     //
     this.diseaseIDLabel.AutoSize = true;
     this.diseaseIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.diseaseIDLabel.Location = new System.Drawing.Point(17, 18);
     this.diseaseIDLabel.Name = "diseaseIDLabel";
     this.diseaseIDLabel.Size = new System.Drawing.Size(63, 12);
     this.diseaseIDLabel.TabIndex = 29;
     this.diseaseIDLabel.Text = "diseaseID";
     //
     // diseaseIDTextBox
     //
     this.diseaseIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.diseaseBindingSource, "diseaseID", true));
     this.diseaseIDTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.diseaseIDTextBox.Location = new System.Drawing.Point(182, 18);
     this.diseaseIDTextBox.Name = "diseaseIDTextBox";
     this.diseaseIDTextBox.Size = new System.Drawing.Size(307, 20);
     this.diseaseIDTextBox.TabIndex = 30;
     //
     // nameLabel
     //
     this.nameLabel.AutoSize = true;
     this.nameLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.nameLabel.Location = new System.Drawing.Point(17, 54);
     this.nameLabel.Name = "nameLabel";
     this.nameLabel.Size = new System.Drawing.Size(36, 12);
     this.nameLabel.TabIndex = 31;
     this.nameLabel.Text = "name";
     //
     // nameTextBox
     //
     this.nameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.diseaseBindingSource, "name", true));
     this.nameTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.nameTextBox.Location = new System.Drawing.Point(182, 54);
     this.nameTextBox.Name = "nameTextBox";
     this.nameTextBox.Size = new System.Drawing.Size(307, 20);
     this.nameTextBox.TabIndex = 32;
     //
     // productIDLabel
     //
     this.productIDLabel.AutoSize = true;
     this.productIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.productIDLabel.Location = new System.Drawing.Point(17, 90);
     this.productIDLabel.Name = "productIDLabel";
     this.productIDLabel.Size = new System.Drawing.Size(68, 12);
     this.productIDLabel.TabIndex = 33;
     this.productIDLabel.Text = "productID";
     //
     // productIDTextBox
     //
     this.productIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.diseaseBindingSource, "productID", true));
     this.productIDTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.productIDTextBox.Location = new System.Drawing.Point(182, 90);
     this.productIDTextBox.Name = "productIDTextBox";
     this.productIDTextBox.Size = new System.Drawing.Size(307, 20);
     this.productIDTextBox.TabIndex = 34;
     //
     // requirementProductLabel
     //
     this.requirementProductLabel.AutoSize = true;
     this.requirementProductLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.requirementProductLabel.Location = new System.Drawing.Point(17, 128);
     this.requirementProductLabel.Name = "requirementProductLabel";
     this.requirementProductLabel.Size = new System.Drawing.Size(133, 12);
     this.requirementProductLabel.TabIndex = 35;
     this.requirementProductLabel.Text = "requirementProduct";
     //
     // requirementProductTextBox
     //
     this.requirementProductTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.diseaseBindingSource, "requirementProduct", true));
     this.requirementProductTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.requirementProductTextBox.Location = new System.Drawing.Point(182, 128);
     this.requirementProductTextBox.Name = "requirementProductTextBox";
     this.requirementProductTextBox.Size = new System.Drawing.Size(307, 20);
     this.requirementProductTextBox.TabIndex = 36;
     //
     // agesAffectedLabel
     //
     this.agesAffectedLabel.AutoSize = true;
     this.agesAffectedLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.agesAffectedLabel.Location = new System.Drawing.Point(17, 163);
     this.agesAffectedLabel.Name = "agesAffectedLabel";
     this.agesAffectedLabel.Size = new System.Drawing.Size(90, 12);
     this.agesAffectedLabel.TabIndex = 37;
     this.agesAffectedLabel.Text = "agesAffected";
     //
     // agesAffectedTextBox
     //
     this.agesAffectedTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.diseaseBindingSource, "agesAffected", true));
     this.agesAffectedTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.agesAffectedTextBox.Location = new System.Drawing.Point(182, 163);
     this.agesAffectedTextBox.Name = "agesAffectedTextBox";
     this.agesAffectedTextBox.Size = new System.Drawing.Size(307, 20);
     this.agesAffectedTextBox.TabIndex = 38;
     //
     // typeLabel
     //
     this.typeLabel.AutoSize = true;
     this.typeLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.typeLabel.Location = new System.Drawing.Point(17, 202);
     this.typeLabel.Name = "typeLabel";
     this.typeLabel.Size = new System.Drawing.Size(31, 12);
     this.typeLabel.TabIndex = 39;
     this.typeLabel.Text = "type";
     //
     // typeTextBox
     //
     this.typeTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.diseaseBindingSource, "type", true));
     this.typeTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.typeTextBox.Location = new System.Drawing.Point(182, 202);
     this.typeTextBox.Name = "typeTextBox";
     this.typeTextBox.Size = new System.Drawing.Size(307, 20);
     this.typeTextBox.TabIndex = 40;
     //
     // spreadingRatePerWkLabel
     //
     this.spreadingRatePerWkLabel.AutoSize = true;
     this.spreadingRatePerWkLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.spreadingRatePerWkLabel.Location = new System.Drawing.Point(17, 242);
     this.spreadingRatePerWkLabel.Name = "spreadingRatePerWkLabel";
     this.spreadingRatePerWkLabel.Size = new System.Drawing.Size(136, 12);
     this.spreadingRatePerWkLabel.TabIndex = 41;
     this.spreadingRatePerWkLabel.Text = "spreadingRatePerWk";
     //
     // spreadingRatePerWkTextBox
     //
     this.spreadingRatePerWkTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.diseaseBindingSource, "spreadingRatePerWk", true));
     this.spreadingRatePerWkTextBox.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     this.spreadingRatePerWkTextBox.Location = new System.Drawing.Point(182, 242);
     this.spreadingRatePerWkTextBox.Name = "spreadingRatePerWkTextBox";
     this.spreadingRatePerWkTextBox.Size = new System.Drawing.Size(307, 20);
     this.spreadingRatePerWkTextBox.TabIndex = 42;
     //
     // tabPage2
     //
     this.tabPage2.AutoScroll = true;
     this.tabPage2.Controls.Add(this.diseaseDataGridView);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(647, 314);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Data Grid View";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // diseaseDataGridView
     //
     this.diseaseDataGridView.AutoGenerateColumns = false;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.diseaseDataGridView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.diseaseDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.diseaseDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3,
     this.dataGridViewTextBoxColumn4,
     this.dataGridViewTextBoxColumn5,
     this.dataGridViewTextBoxColumn6,
     this.dataGridViewTextBoxColumn7});
     this.diseaseDataGridView.DataSource = this.diseaseBindingSource;
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.diseaseDataGridView.DefaultCellStyle = dataGridViewCellStyle2;
     this.diseaseDataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
     this.diseaseDataGridView.Location = new System.Drawing.Point(3, 3);
     this.diseaseDataGridView.Name = "diseaseDataGridView";
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.diseaseDataGridView.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.diseaseDataGridView.Size = new System.Drawing.Size(641, 308);
     this.diseaseDataGridView.TabIndex = 0;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "diseaseID";
     this.dataGridViewTextBoxColumn1.HeaderText = "diseaseID";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "name";
     this.dataGridViewTextBoxColumn2.HeaderText = "name";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "productID";
     this.dataGridViewTextBoxColumn3.HeaderText = "productID";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "requirementProduct";
     this.dataGridViewTextBoxColumn4.HeaderText = "requirementProduct";
     this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "agesAffected";
     this.dataGridViewTextBoxColumn5.HeaderText = "agesAffected";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.DataPropertyName = "type";
     this.dataGridViewTextBoxColumn6.HeaderText = "type";
     this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
     //
     // dataGridViewTextBoxColumn7
     //
     this.dataGridViewTextBoxColumn7.DataPropertyName = "spreadingRatePerWk";
     this.dataGridViewTextBoxColumn7.HeaderText = "spreadingRatePerWk";
     this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
     //
     // tabPage3
     //
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(647, 314);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "Graphical View";
     this.tabPage3.UseVisualStyleBackColor = true;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.Panel1);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Controls.Add(this.panel5);
     this.panel3.Controls.Add(this.panel6);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 25);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(657, 341);
     this.panel3.TabIndex = 19;
     //
     // panel4
     //
     this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(657, 341);
     this.panel4.TabIndex = 3;
     //
     // panel5
     //
     this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(657, 341);
     this.panel5.TabIndex = 5;
     //
     // panel6
     //
     this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(657, 341);
     this.panel6.TabIndex = 6;
     //
     // frmDisease
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(657, 366);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.bindingNavigator1);
     this.Name = "frmDisease";
     this.Text = "Disease";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmdisease_FormClosing);
     this.Load += new System.EventHandler(this.frmdisease_Load);
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
     this.bindingNavigator1.ResumeLayout(false);
     this.bindingNavigator1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.diseaseBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.diseaseDataGridView)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmproductconsumption));
     this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
     this.productconsumptionBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.newDataSet = new PEIMSV3Cs.NewDataSet();
     this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.Panel1 = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.SaveButton = new System.Windows.Forms.Button();
     this.SearchIDButton = new System.Windows.Forms.Button();
     this.ExitButton = new System.Windows.Forms.Button();
     this.UpdateButton = new System.Windows.Forms.Button();
     this.DeleteButton = new System.Windows.Forms.Button();
     this.AddButton = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.productIDLabel = new System.Windows.Forms.Label();
     this.productIDTextBox = new System.Windows.Forms.TextBox();
     this.locationIDLabel = new System.Windows.Forms.Label();
     this.locationIDTextBox = new System.Windows.Forms.TextBox();
     this.itemSoldLabel = new System.Windows.Forms.Label();
     this.itemSoldTextBox = new System.Windows.Forms.TextBox();
     this.itemInStockLabel = new System.Windows.Forms.Label();
     this.itemInStockTextBox = new System.Windows.Forms.TextBox();
     this.priceLabel = new System.Windows.Forms.Label();
     this.priceTextBox = new System.Windows.Forms.TextBox();
     this.dateLabel = new System.Windows.Forms.Label();
     this.date_dateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.panel3 = new System.Windows.Forms.Panel();
     this.panel4 = new System.Windows.Forms.Panel();
     this.panel5 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
     this.bindingNavigator1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.productconsumptionBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.Panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // bindingNavigator1
     //
     this.bindingNavigator1.AddNewItem = null;
     this.bindingNavigator1.BindingSource = this.productconsumptionBindingSource;
     this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
     this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
     this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bindingNavigatorMoveFirstItem,
     this.bindingNavigatorMovePreviousItem,
     this.bindingNavigatorSeparator,
     this.bindingNavigatorPositionItem,
     this.bindingNavigatorCountItem,
     this.bindingNavigatorSeparator1,
     this.bindingNavigatorMoveNextItem,
     this.bindingNavigatorMoveLastItem,
     this.bindingNavigatorSeparator2,
     this.bindingNavigatorAddNewItem,
     this.bindingNavigatorDeleteItem,
     this.toolStripButton1});
     this.bindingNavigator1.Location = new System.Drawing.Point(0, 0);
     this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
     this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
     this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
     this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.bindingNavigator1.Name = "bindingNavigator1";
     this.bindingNavigator1.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0);
     this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
     this.bindingNavigator1.Size = new System.Drawing.Size(562, 25);
     this.bindingNavigator1.TabIndex = 0;
     this.bindingNavigator1.Text = "bindingNavigator1";
     //
     // productconsumptionBindingSource
     //
     this.productconsumptionBindingSource.DataMember = "productconsumption";
     this.productconsumptionBindingSource.DataSource = this.newDataSet;
     //
     // newDataSet
     //
     this.newDataSet.DataSetName = "NewDataSet";
     this.newDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size = new System.Drawing.Size(36, 22);
     this.bindingNavigatorCountItem.Text = "of {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize = false;
     this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text = "0";
     this.bindingNavigatorPositionItem.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text = "Save";
     this.toolStripButton1.Click += new System.EventHandler(this.Save_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // Panel1
     //
     this.Panel1.AutoScroll = true;
     this.Panel1.AutoSize = true;
     this.Panel1.Controls.Add(this.tabControl1);
     this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Panel1.Location = new System.Drawing.Point(0, 0);
     this.Panel1.Margin = new System.Windows.Forms.Padding(10, 3, 10, 3);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(562, 347);
     this.Panel1.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Location = new System.Drawing.Point(3, 3);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(554, 340);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.SaveButton);
     this.tabPage1.Controls.Add(this.SearchIDButton);
     this.tabPage1.Controls.Add(this.ExitButton);
     this.tabPage1.Controls.Add(this.UpdateButton);
     this.tabPage1.Controls.Add(this.DeleteButton);
     this.tabPage1.Controls.Add(this.AddButton);
     this.tabPage1.Controls.Add(this.textBox1);
     this.tabPage1.Controls.Add(this.listBox1);
     this.tabPage1.Controls.Add(this.productIDLabel);
     this.tabPage1.Controls.Add(this.productIDTextBox);
     this.tabPage1.Controls.Add(this.locationIDLabel);
     this.tabPage1.Controls.Add(this.locationIDTextBox);
     this.tabPage1.Controls.Add(this.itemSoldLabel);
     this.tabPage1.Controls.Add(this.itemSoldTextBox);
     this.tabPage1.Controls.Add(this.itemInStockLabel);
     this.tabPage1.Controls.Add(this.itemInStockTextBox);
     this.tabPage1.Controls.Add(this.priceLabel);
     this.tabPage1.Controls.Add(this.priceTextBox);
     this.tabPage1.Controls.Add(this.dateLabel);
     this.tabPage1.Controls.Add(this.date_dateTimePicker);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(546, 314);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Details View";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // SaveButton
     //
     this.SaveButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SaveButton.Location = new System.Drawing.Point(303, 273);
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.Size = new System.Drawing.Size(75, 23);
     this.SaveButton.TabIndex = 54;
     this.SaveButton.Text = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // SearchIDButton
     //
     this.SearchIDButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SearchIDButton.Location = new System.Drawing.Point(406, 241);
     this.SearchIDButton.Name = "SearchIDButton";
     this.SearchIDButton.Size = new System.Drawing.Size(120, 23);
     this.SearchIDButton.TabIndex = 52;
     this.SearchIDButton.Text = "SearchID";
     this.SearchIDButton.UseVisualStyleBackColor = true;
     //
     // ExitButton
     //
     this.ExitButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ExitButton.Location = new System.Drawing.Point(451, 273);
     this.ExitButton.Name = "ExitButton";
     this.ExitButton.Size = new System.Drawing.Size(75, 23);
     this.ExitButton.TabIndex = 51;
     this.ExitButton.Text = "Exit";
     this.ExitButton.UseVisualStyleBackColor = true;
     this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
     //
     // UpdateButton
     //
     this.UpdateButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UpdateButton.Location = new System.Drawing.Point(206, 273);
     this.UpdateButton.Name = "UpdateButton";
     this.UpdateButton.Size = new System.Drawing.Size(75, 23);
     this.UpdateButton.TabIndex = 50;
     this.UpdateButton.Text = "Update";
     this.UpdateButton.UseVisualStyleBackColor = true;
     this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click);
     //
     // DeleteButton
     //
     this.DeleteButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DeleteButton.Location = new System.Drawing.Point(112, 273);
     this.DeleteButton.Name = "DeleteButton";
     this.DeleteButton.Size = new System.Drawing.Size(75, 23);
     this.DeleteButton.TabIndex = 49;
     this.DeleteButton.Text = "Delete";
     this.DeleteButton.UseVisualStyleBackColor = true;
     this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
     //
     // AddButton
     //
     this.AddButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AddButton.Location = new System.Drawing.Point(14, 273);
     this.AddButton.Name = "AddButton";
     this.AddButton.Size = new System.Drawing.Size(75, 23);
     this.AddButton.TabIndex = 48;
     this.AddButton.Text = "Add";
     this.AddButton.UseVisualStyleBackColor = true;
     this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(406, 215);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(120, 20);
     this.textBox1.TabIndex = 47;
     //
     // listBox1
     //
     this.listBox1.DataSource = this.productconsumptionBindingSource;
     this.listBox1.DisplayMember = "productID";
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location = new System.Drawing.Point(406, 30);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(120, 173);
     this.listBox1.TabIndex = 46;
     //
     // productIDLabel
     //
     this.productIDLabel.AutoSize = true;
     this.productIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.productIDLabel.Location = new System.Drawing.Point(22, 30);
     this.productIDLabel.Name = "productIDLabel";
     this.productIDLabel.Size = new System.Drawing.Size(68, 12);
     this.productIDLabel.TabIndex = 34;
     this.productIDLabel.Text = "productID";
     //
     // productIDTextBox
     //
     this.productIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productconsumptionBindingSource, "productID", true));
     this.productIDTextBox.Location = new System.Drawing.Point(108, 26);
     this.productIDTextBox.Name = "productIDTextBox";
     this.productIDTextBox.Size = new System.Drawing.Size(270, 20);
     this.productIDTextBox.TabIndex = 35;
     //
     // locationIDLabel
     //
     this.locationIDLabel.AutoSize = true;
     this.locationIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.locationIDLabel.Location = new System.Drawing.Point(22, 67);
     this.locationIDLabel.Name = "locationIDLabel";
     this.locationIDLabel.Size = new System.Drawing.Size(71, 12);
     this.locationIDLabel.TabIndex = 36;
     this.locationIDLabel.Text = "locationID";
     //
     // locationIDTextBox
     //
     this.locationIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productconsumptionBindingSource, "locationID", true));
     this.locationIDTextBox.Location = new System.Drawing.Point(108, 63);
     this.locationIDTextBox.Name = "locationIDTextBox";
     this.locationIDTextBox.Size = new System.Drawing.Size(270, 20);
     this.locationIDTextBox.TabIndex = 37;
     //
     // itemSoldLabel
     //
     this.itemSoldLabel.AutoSize = true;
     this.itemSoldLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.itemSoldLabel.Location = new System.Drawing.Point(22, 109);
     this.itemSoldLabel.Name = "itemSoldLabel";
     this.itemSoldLabel.Size = new System.Drawing.Size(60, 12);
     this.itemSoldLabel.TabIndex = 38;
     this.itemSoldLabel.Text = "itemSold";
     //
     // itemSoldTextBox
     //
     this.itemSoldTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productconsumptionBindingSource, "itemSold", true));
     this.itemSoldTextBox.Location = new System.Drawing.Point(108, 105);
     this.itemSoldTextBox.Name = "itemSoldTextBox";
     this.itemSoldTextBox.Size = new System.Drawing.Size(270, 20);
     this.itemSoldTextBox.TabIndex = 39;
     //
     // itemInStockLabel
     //
     this.itemInStockLabel.AutoSize = true;
     this.itemInStockLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.itemInStockLabel.Location = new System.Drawing.Point(22, 146);
     this.itemInStockLabel.Name = "itemInStockLabel";
     this.itemInStockLabel.Size = new System.Drawing.Size(78, 12);
     this.itemInStockLabel.TabIndex = 40;
     this.itemInStockLabel.Text = "itemInStock";
     //
     // itemInStockTextBox
     //
     this.itemInStockTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productconsumptionBindingSource, "itemInStock", true));
     this.itemInStockTextBox.Location = new System.Drawing.Point(108, 142);
     this.itemInStockTextBox.Name = "itemInStockTextBox";
     this.itemInStockTextBox.Size = new System.Drawing.Size(270, 20);
     this.itemInStockTextBox.TabIndex = 41;
     //
     // priceLabel
     //
     this.priceLabel.AutoSize = true;
     this.priceLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.priceLabel.Location = new System.Drawing.Point(22, 184);
     this.priceLabel.Name = "priceLabel";
     this.priceLabel.Size = new System.Drawing.Size(37, 12);
     this.priceLabel.TabIndex = 42;
     this.priceLabel.Text = "price";
     //
     // priceTextBox
     //
     this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productconsumptionBindingSource, "price", true));
     this.priceTextBox.Location = new System.Drawing.Point(108, 180);
     this.priceTextBox.Name = "priceTextBox";
     this.priceTextBox.Size = new System.Drawing.Size(270, 20);
     this.priceTextBox.TabIndex = 43;
     //
     // dateLabel
     //
     this.dateLabel.AutoSize = true;
     this.dateLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateLabel.Location = new System.Drawing.Point(22, 223);
     this.dateLabel.Name = "dateLabel";
     this.dateLabel.Size = new System.Drawing.Size(33, 12);
     this.dateLabel.TabIndex = 44;
     this.dateLabel.Text = "date";
     //
     // date_dateTimePicker
     //
     this.date_dateTimePicker.CustomFormat = "dd/MM/yyyy";
     this.date_dateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.productconsumptionBindingSource, "date", true));
     this.date_dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.date_dateTimePicker.Location = new System.Drawing.Point(107, 216);
     this.date_dateTimePicker.Name = "date_dateTimePicker";
     this.date_dateTimePicker.Size = new System.Drawing.Size(270, 20);
     this.date_dateTimePicker.TabIndex = 45;
     this.date_dateTimePicker.Value = new System.DateTime(2014, 5, 26, 17, 35, 11, 0);
     //
     // tabPage2
     //
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(546, 314);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Data Grid View";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // tabPage3
     //
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(546, 314);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "Graphical View";
     this.tabPage3.UseVisualStyleBackColor = true;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.Panel1);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Controls.Add(this.panel5);
     this.panel3.Controls.Add(this.panel6);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 25);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(562, 347);
     this.panel3.TabIndex = 19;
     //
     // panel4
     //
     this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(562, 347);
     this.panel4.TabIndex = 3;
     //
     // panel5
     //
     this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(562, 347);
     this.panel5.TabIndex = 5;
     //
     // panel6
     //
     this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(562, 347);
     this.panel6.TabIndex = 6;
     //
     // frmproductconsumption
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(562, 372);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.bindingNavigator1);
     this.Name = "frmproductconsumption";
     this.Text = "Product Consumption";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmproductconsumption_FormClosing);
     this.Load += new System.EventHandler(this.frmproductconsumption_Load);
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
     this.bindingNavigator1.ResumeLayout(false);
     this.bindingNavigator1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.productconsumptionBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="aircraftName"></param>
 public PerformanceBL(string aircraftName)
 {
     _aircraft = Registry.Instance.GetAircraftData(aircraftName);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCategory));
     this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
     this.categoryBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.newDataSet = new PEIMSV3Cs.NewDataSet();
     this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.Panel1 = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.SaveButton = new System.Windows.Forms.Button();
     this.SearchIDButton = new System.Windows.Forms.Button();
     this.ExitButton = new System.Windows.Forms.Button();
     this.UpdateButton = new System.Windows.Forms.Button();
     this.DeleteButton = new System.Windows.Forms.Button();
     this.AddButton = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.categoryIDLabel = new System.Windows.Forms.Label();
     this.categoryIDTextBox = new System.Windows.Forms.TextBox();
     this.categoryNameLabel = new System.Windows.Forms.Label();
     this.categoryNameTextBox = new System.Windows.Forms.TextBox();
     this.categoryDescriptionLabel = new System.Windows.Forms.Label();
     this.categoryDescriptionTextBox = new System.Windows.Forms.TextBox();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.categoryDataGridView = new System.Windows.Forms.DataGridView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel3 = new System.Windows.Forms.Panel();
     this.panel4 = new System.Windows.Forms.Panel();
     this.panel5 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
     this.bindingNavigator1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.categoryBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.Panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.categoryDataGridView)).BeginInit();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // bindingNavigator1
     //
     this.bindingNavigator1.AddNewItem = null;
     this.bindingNavigator1.BindingSource = this.categoryBindingSource;
     this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
     this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
     this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bindingNavigatorMoveFirstItem,
     this.bindingNavigatorMovePreviousItem,
     this.bindingNavigatorSeparator,
     this.bindingNavigatorPositionItem,
     this.bindingNavigatorCountItem,
     this.bindingNavigatorSeparator1,
     this.bindingNavigatorMoveNextItem,
     this.bindingNavigatorMoveLastItem,
     this.bindingNavigatorSeparator2,
     this.bindingNavigatorAddNewItem,
     this.bindingNavigatorDeleteItem,
     this.toolStripButton1});
     this.bindingNavigator1.Location = new System.Drawing.Point(0, 0);
     this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
     this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
     this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
     this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.bindingNavigator1.Name = "bindingNavigator1";
     this.bindingNavigator1.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0);
     this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
     this.bindingNavigator1.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
     this.bindingNavigator1.Size = new System.Drawing.Size(612, 25);
     this.bindingNavigator1.TabIndex = 0;
     this.bindingNavigator1.Text = "bindingNavigator1";
     //
     // categoryBindingSource
     //
     this.categoryBindingSource.DataMember = "category";
     this.categoryBindingSource.DataSource = this.newDataSet;
     //
     // newDataSet
     //
     this.newDataSet.DataSetName = "NewDataSet";
     this.newDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size = new System.Drawing.Size(35, 22);
     this.bindingNavigatorCountItem.Text = "of {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize = false;
     this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text = "0";
     this.bindingNavigatorPositionItem.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text = "Save";
     this.toolStripButton1.Click += new System.EventHandler(this.Save_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // Panel1
     //
     this.Panel1.AutoScroll = true;
     this.Panel1.AutoSize = true;
     this.Panel1.Controls.Add(this.tabControl1);
     this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Panel1.Location = new System.Drawing.Point(0, 0);
     this.Panel1.Margin = new System.Windows.Forms.Padding(10, 3, 10, 3);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(612, 268);
     this.Panel1.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location = new System.Drawing.Point(0, 3);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(600, 263);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.SaveButton);
     this.tabPage1.Controls.Add(this.SearchIDButton);
     this.tabPage1.Controls.Add(this.ExitButton);
     this.tabPage1.Controls.Add(this.UpdateButton);
     this.tabPage1.Controls.Add(this.DeleteButton);
     this.tabPage1.Controls.Add(this.AddButton);
     this.tabPage1.Controls.Add(this.textBox1);
     this.tabPage1.Controls.Add(this.listBox1);
     this.tabPage1.Controls.Add(this.categoryIDLabel);
     this.tabPage1.Controls.Add(this.categoryIDTextBox);
     this.tabPage1.Controls.Add(this.categoryNameLabel);
     this.tabPage1.Controls.Add(this.categoryNameTextBox);
     this.tabPage1.Controls.Add(this.categoryDescriptionLabel);
     this.tabPage1.Controls.Add(this.categoryDescriptionTextBox);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(592, 237);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Details View";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // SaveButton
     //
     this.SaveButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SaveButton.Location = new System.Drawing.Point(394, 204);
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.Size = new System.Drawing.Size(75, 23);
     this.SaveButton.TabIndex = 55;
     this.SaveButton.Text = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // SearchIDButton
     //
     this.SearchIDButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SearchIDButton.Location = new System.Drawing.Point(457, 168);
     this.SearchIDButton.Name = "SearchIDButton";
     this.SearchIDButton.Size = new System.Drawing.Size(125, 23);
     this.SearchIDButton.TabIndex = 36;
     this.SearchIDButton.Text = "SearchID";
     this.SearchIDButton.UseVisualStyleBackColor = true;
     //
     // ExitButton
     //
     this.ExitButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ExitButton.Location = new System.Drawing.Point(507, 204);
     this.ExitButton.Name = "ExitButton";
     this.ExitButton.Size = new System.Drawing.Size(75, 23);
     this.ExitButton.TabIndex = 35;
     this.ExitButton.Text = "Exit";
     this.ExitButton.UseVisualStyleBackColor = true;
     this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
     //
     // UpdateButton
     //
     this.UpdateButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UpdateButton.Location = new System.Drawing.Point(294, 204);
     this.UpdateButton.Name = "UpdateButton";
     this.UpdateButton.Size = new System.Drawing.Size(75, 23);
     this.UpdateButton.TabIndex = 34;
     this.UpdateButton.Text = "Update";
     this.UpdateButton.UseVisualStyleBackColor = true;
     this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click);
     //
     // DeleteButton
     //
     this.DeleteButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DeleteButton.Location = new System.Drawing.Point(194, 204);
     this.DeleteButton.Name = "DeleteButton";
     this.DeleteButton.Size = new System.Drawing.Size(75, 23);
     this.DeleteButton.TabIndex = 33;
     this.DeleteButton.Text = "Delete";
     this.DeleteButton.UseVisualStyleBackColor = true;
     this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
     //
     // AddButton
     //
     this.AddButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AddButton.Location = new System.Drawing.Point(96, 204);
     this.AddButton.Name = "AddButton";
     this.AddButton.Size = new System.Drawing.Size(75, 23);
     this.AddButton.TabIndex = 32;
     this.AddButton.Text = "Add";
     this.AddButton.UseVisualStyleBackColor = true;
     this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(457, 140);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(120, 20);
     this.textBox1.TabIndex = 31;
     //
     // listBox1
     //
     this.listBox1.DataSource = this.categoryBindingSource;
     this.listBox1.DisplayMember = "categoryID";
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location = new System.Drawing.Point(457, 26);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(120, 108);
     this.listBox1.TabIndex = 30;
     //
     // categoryIDLabel
     //
     this.categoryIDLabel.AutoSize = true;
     this.categoryIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.categoryIDLabel.Location = new System.Drawing.Point(16, 30);
     this.categoryIDLabel.Name = "categoryIDLabel";
     this.categoryIDLabel.Size = new System.Drawing.Size(74, 12);
     this.categoryIDLabel.TabIndex = 24;
     this.categoryIDLabel.Text = "categoryID";
     //
     // categoryIDTextBox
     //
     this.categoryIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.categoryBindingSource, "categoryID", true));
     this.categoryIDTextBox.Location = new System.Drawing.Point(158, 26);
     this.categoryIDTextBox.Name = "categoryIDTextBox";
     this.categoryIDTextBox.Size = new System.Drawing.Size(272, 20);
     this.categoryIDTextBox.TabIndex = 25;
     //
     // categoryNameLabel
     //
     this.categoryNameLabel.AutoSize = true;
     this.categoryNameLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.categoryNameLabel.Location = new System.Drawing.Point(16, 74);
     this.categoryNameLabel.Name = "categoryNameLabel";
     this.categoryNameLabel.Size = new System.Drawing.Size(94, 12);
     this.categoryNameLabel.TabIndex = 26;
     this.categoryNameLabel.Text = "categoryName";
     //
     // categoryNameTextBox
     //
     this.categoryNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.categoryBindingSource, "categoryName", true));
     this.categoryNameTextBox.Location = new System.Drawing.Point(158, 70);
     this.categoryNameTextBox.Name = "categoryNameTextBox";
     this.categoryNameTextBox.Size = new System.Drawing.Size(272, 20);
     this.categoryNameTextBox.TabIndex = 27;
     //
     // categoryDescriptionLabel
     //
     this.categoryDescriptionLabel.AutoSize = true;
     this.categoryDescriptionLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.categoryDescriptionLabel.Location = new System.Drawing.Point(16, 122);
     this.categoryDescriptionLabel.Name = "categoryDescriptionLabel";
     this.categoryDescriptionLabel.Size = new System.Drawing.Size(135, 12);
     this.categoryDescriptionLabel.TabIndex = 28;
     this.categoryDescriptionLabel.Text = "categoryDescription";
     //
     // categoryDescriptionTextBox
     //
     this.categoryDescriptionTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.categoryBindingSource, "categoryDescription", true));
     this.categoryDescriptionTextBox.Location = new System.Drawing.Point(158, 118);
     this.categoryDescriptionTextBox.Name = "categoryDescriptionTextBox";
     this.categoryDescriptionTextBox.Size = new System.Drawing.Size(272, 20);
     this.categoryDescriptionTextBox.TabIndex = 29;
     //
     // tabPage2
     //
     this.tabPage2.AutoScroll = true;
     this.tabPage2.Controls.Add(this.categoryDataGridView);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(592, 237);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Data Grid View";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // categoryDataGridView
     //
     this.categoryDataGridView.AutoGenerateColumns = false;
     this.categoryDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.categoryDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3});
     this.categoryDataGridView.DataSource = this.categoryBindingSource;
     this.categoryDataGridView.Location = new System.Drawing.Point(-4, 0);
     this.categoryDataGridView.Name = "categoryDataGridView";
     this.categoryDataGridView.Size = new System.Drawing.Size(345, 241);
     this.categoryDataGridView.TabIndex = 0;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "categoryID";
     this.dataGridViewTextBoxColumn1.HeaderText = "categoryID";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "categoryName";
     this.dataGridViewTextBoxColumn2.HeaderText = "categoryName";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "categoryDescription";
     this.dataGridViewTextBoxColumn3.HeaderText = "categoryDescription";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     //
     // panel3
     //
     this.panel3.Controls.Add(this.Panel1);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Controls.Add(this.panel5);
     this.panel3.Controls.Add(this.panel6);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 25);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(612, 268);
     this.panel3.TabIndex = 19;
     //
     // panel4
     //
     this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(612, 268);
     this.panel4.TabIndex = 3;
     //
     // panel5
     //
     this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(612, 268);
     this.panel5.TabIndex = 5;
     //
     // panel6
     //
     this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(612, 268);
     this.panel6.TabIndex = 6;
     //
     // frmCategory
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(612, 293);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.bindingNavigator1);
     this.Name = "frmCategory";
     this.Text = "Category";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmcategory_FormClosing);
     this.Load += new System.EventHandler(this.frmcategory_Load);
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
     this.bindingNavigator1.ResumeLayout(false);
     this.bindingNavigator1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.categoryBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.categoryDataGridView)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #39
0
 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
     global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
     global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
     NewDataSet ds = new NewDataSet();
     global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
     any1.Namespace = "http://www.w3.org/2001/XMLSchema";
     any1.MinOccurs = new decimal(0);
     any1.MaxOccurs = decimal.MaxValue;
     any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
     sequence.Items.Add(any1);
     global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
     any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
     any2.MinOccurs = new decimal(1);
     any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
     sequence.Items.Add(any2);
     global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
     attribute1.Name = "namespace";
     attribute1.FixedValue = ds.Namespace;
     type.Attributes.Add(attribute1);
     global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
     attribute2.Name = "tableTypeName";
     attribute2.FixedValue = "ImagesDataTable";
     type.Attributes.Add(attribute2);
     type.Particle = sequence;
     global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
     if (xs.Contains(dsSchema.TargetNamespace)) {
         global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
         global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
         try {
             global::System.Xml.Schema.XmlSchema schema = null;
             dsSchema.Write(s1);
             for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                 s2.SetLength(0);
                 schema.Write(s2);
                 if ((s1.Length == s2.Length)) {
                     s1.Position = 0;
                     s2.Position = 0;
                     for (; ((s1.Position != s1.Length) 
                                 && (s1.ReadByte() == s2.ReadByte())); ) {
                         ;
                     }
                     if ((s1.Position == s1.Length)) {
                         return type;
                     }
                 }
             }
         }
         finally {
             if ((s1 != null)) {
                 s1.Close();
             }
             if ((s2 != null)) {
                 s2.Close();
             }
         }
     }
     xs.Add(dsSchema);
     return type;
 }
Beispiel #40
0
 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
     NewDataSet ds = new NewDataSet();
     global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
     global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
     global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
     any.Namespace = ds.Namespace;
     sequence.Items.Add(any);
     type.Particle = sequence;
     global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
     if (xs.Contains(dsSchema.TargetNamespace)) {
         global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
         global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
         try {
             global::System.Xml.Schema.XmlSchema schema = null;
             dsSchema.Write(s1);
             for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                 s2.SetLength(0);
                 schema.Write(s2);
                 if ((s1.Length == s2.Length)) {
                     s1.Position = 0;
                     s2.Position = 0;
                     for (; ((s1.Position != s1.Length) 
                                 && (s1.ReadByte() == s2.ReadByte())); ) {
                         ;
                     }
                     if ((s1.Position == s1.Length)) {
                         return type;
                     }
                 }
             }
         }
         finally {
             if ((s1 != null)) {
                 s1.Close();
             }
             if ((s2 != null)) {
                 s2.Close();
             }
         }
     }
     xs.Add(dsSchema);
     return type;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label payrollIDLabel;
     System.Windows.Forms.Label employeeIDLabel;
     System.Windows.Forms.Label employeeNameLabel;
     System.Windows.Forms.Label salaryLabel;
     System.Windows.Forms.Label deductionLabel;
     System.Windows.Forms.Label accountNoLabel;
     System.Windows.Forms.Label departmentIDLabel;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPayrollDetails));
     this.newDataSet = new PEIMSV3Cs.NewDataSet();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.Panel1 = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.payrollIDTextBox = new System.Windows.Forms.TextBox();
     this.payrolldetailsBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.employeeIDTextBox = new System.Windows.Forms.TextBox();
     this.employeeNameTextBox = new System.Windows.Forms.TextBox();
     this.salaryTextBox = new System.Windows.Forms.TextBox();
     this.deductionTextBox = new System.Windows.Forms.TextBox();
     this.accountNoTextBox = new System.Windows.Forms.TextBox();
     this.departmentIDTextBox = new System.Windows.Forms.TextBox();
     this.SaveButton = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.SearchIDButton = new System.Windows.Forms.Button();
     this.ExitButton = new System.Windows.Forms.Button();
     this.UpdateButton = new System.Windows.Forms.Button();
     this.DeleteButton = new System.Windows.Forms.Button();
     this.AddButton = new System.Windows.Forms.Button();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.payrolldetailsDataGridView = new System.Windows.Forms.DataGridView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel3 = new System.Windows.Forms.Panel();
     this.panel4 = new System.Windows.Forms.Panel();
     this.panel5 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     this.payrolldetailsTableAdapter = new PEIMSV3Cs.NewDataSetTableAdapters.payrolldetailsTableAdapter();
     this.payrolldetailsBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components);
     this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.payrolldetailsBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
     payrollIDLabel = new System.Windows.Forms.Label();
     employeeIDLabel = new System.Windows.Forms.Label();
     employeeNameLabel = new System.Windows.Forms.Label();
     salaryLabel = new System.Windows.Forms.Label();
     deductionLabel = new System.Windows.Forms.Label();
     accountNoLabel = new System.Windows.Forms.Label();
     departmentIDLabel = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.Panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.payrolldetailsBindingSource)).BeginInit();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.payrolldetailsDataGridView)).BeginInit();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.payrolldetailsBindingNavigator)).BeginInit();
     this.payrolldetailsBindingNavigator.SuspendLayout();
     this.SuspendLayout();
     //
     // payrollIDLabel
     //
     payrollIDLabel.AutoSize = true;
     payrollIDLabel.Location = new System.Drawing.Point(11, 36);
     payrollIDLabel.Name = "payrollIDLabel";
     payrollIDLabel.Size = new System.Drawing.Size(54, 13);
     payrollIDLabel.TabIndex = 54;
     payrollIDLabel.Text = "payroll ID:";
     //
     // employeeIDLabel
     //
     employeeIDLabel.AutoSize = true;
     employeeIDLabel.Location = new System.Drawing.Point(11, 62);
     employeeIDLabel.Name = "employeeIDLabel";
     employeeIDLabel.Size = new System.Drawing.Size(69, 13);
     employeeIDLabel.TabIndex = 56;
     employeeIDLabel.Text = "employee ID:";
     //
     // employeeNameLabel
     //
     employeeNameLabel.AutoSize = true;
     employeeNameLabel.Location = new System.Drawing.Point(11, 88);
     employeeNameLabel.Name = "employeeNameLabel";
     employeeNameLabel.Size = new System.Drawing.Size(86, 13);
     employeeNameLabel.TabIndex = 58;
     employeeNameLabel.Text = "employee Name:";
     //
     // salaryLabel
     //
     salaryLabel.AutoSize = true;
     salaryLabel.Location = new System.Drawing.Point(11, 114);
     salaryLabel.Name = "salaryLabel";
     salaryLabel.Size = new System.Drawing.Size(37, 13);
     salaryLabel.TabIndex = 60;
     salaryLabel.Text = "salary:";
     //
     // deductionLabel
     //
     deductionLabel.AutoSize = true;
     deductionLabel.Location = new System.Drawing.Point(11, 140);
     deductionLabel.Name = "deductionLabel";
     deductionLabel.Size = new System.Drawing.Size(57, 13);
     deductionLabel.TabIndex = 62;
     deductionLabel.Text = "deduction:";
     //
     // accountNoLabel
     //
     accountNoLabel.AutoSize = true;
     accountNoLabel.Location = new System.Drawing.Point(11, 166);
     accountNoLabel.Name = "accountNoLabel";
     accountNoLabel.Size = new System.Drawing.Size(66, 13);
     accountNoLabel.TabIndex = 64;
     accountNoLabel.Text = "account No:";
     //
     // departmentIDLabel
     //
     departmentIDLabel.AutoSize = true;
     departmentIDLabel.Location = new System.Drawing.Point(11, 192);
     departmentIDLabel.Name = "departmentIDLabel";
     departmentIDLabel.Size = new System.Drawing.Size(77, 13);
     departmentIDLabel.TabIndex = 66;
     departmentIDLabel.Text = "department ID:";
     //
     // newDataSet
     //
     this.newDataSet.DataSetName = "NewDataSet";
     this.newDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // Panel1
     //
     this.Panel1.AutoScroll = true;
     this.Panel1.AutoSize = true;
     this.Panel1.Controls.Add(this.tabControl1);
     this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Panel1.Location = new System.Drawing.Point(0, 0);
     this.Panel1.Margin = new System.Windows.Forms.Padding(10, 3, 10, 3);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(512, 370);
     this.Panel1.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location = new System.Drawing.Point(0, 28);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(512, 341);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.AutoScroll = true;
     this.tabPage1.Controls.Add(payrollIDLabel);
     this.tabPage1.Controls.Add(this.payrollIDTextBox);
     this.tabPage1.Controls.Add(employeeIDLabel);
     this.tabPage1.Controls.Add(this.employeeIDTextBox);
     this.tabPage1.Controls.Add(employeeNameLabel);
     this.tabPage1.Controls.Add(this.employeeNameTextBox);
     this.tabPage1.Controls.Add(salaryLabel);
     this.tabPage1.Controls.Add(this.salaryTextBox);
     this.tabPage1.Controls.Add(deductionLabel);
     this.tabPage1.Controls.Add(this.deductionTextBox);
     this.tabPage1.Controls.Add(accountNoLabel);
     this.tabPage1.Controls.Add(this.accountNoTextBox);
     this.tabPage1.Controls.Add(departmentIDLabel);
     this.tabPage1.Controls.Add(this.departmentIDTextBox);
     this.tabPage1.Controls.Add(this.SaveButton);
     this.tabPage1.Controls.Add(this.textBox1);
     this.tabPage1.Controls.Add(this.listBox1);
     this.tabPage1.Controls.Add(this.SearchIDButton);
     this.tabPage1.Controls.Add(this.ExitButton);
     this.tabPage1.Controls.Add(this.UpdateButton);
     this.tabPage1.Controls.Add(this.DeleteButton);
     this.tabPage1.Controls.Add(this.AddButton);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(504, 315);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Details View";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // payrollIDTextBox
     //
     this.payrollIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.payrolldetailsBindingSource, "payrollID", true));
     this.payrollIDTextBox.Location = new System.Drawing.Point(103, 33);
     this.payrollIDTextBox.Name = "payrollIDTextBox";
     this.payrollIDTextBox.Size = new System.Drawing.Size(235, 20);
     this.payrollIDTextBox.TabIndex = 55;
     //
     // payrolldetailsBindingSource
     //
     this.payrolldetailsBindingSource.DataMember = "payrolldetails";
     this.payrolldetailsBindingSource.DataSource = this.newDataSet;
     //
     // employeeIDTextBox
     //
     this.employeeIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.payrolldetailsBindingSource, "employeeID", true));
     this.employeeIDTextBox.Location = new System.Drawing.Point(103, 59);
     this.employeeIDTextBox.Name = "employeeIDTextBox";
     this.employeeIDTextBox.Size = new System.Drawing.Size(235, 20);
     this.employeeIDTextBox.TabIndex = 57;
     //
     // employeeNameTextBox
     //
     this.employeeNameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.payrolldetailsBindingSource, "employeeName", true));
     this.employeeNameTextBox.Location = new System.Drawing.Point(103, 85);
     this.employeeNameTextBox.Name = "employeeNameTextBox";
     this.employeeNameTextBox.Size = new System.Drawing.Size(235, 20);
     this.employeeNameTextBox.TabIndex = 59;
     //
     // salaryTextBox
     //
     this.salaryTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.payrolldetailsBindingSource, "salary", true));
     this.salaryTextBox.Location = new System.Drawing.Point(103, 111);
     this.salaryTextBox.Name = "salaryTextBox";
     this.salaryTextBox.Size = new System.Drawing.Size(235, 20);
     this.salaryTextBox.TabIndex = 61;
     //
     // deductionTextBox
     //
     this.deductionTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.payrolldetailsBindingSource, "deduction", true));
     this.deductionTextBox.Location = new System.Drawing.Point(103, 137);
     this.deductionTextBox.Name = "deductionTextBox";
     this.deductionTextBox.Size = new System.Drawing.Size(235, 20);
     this.deductionTextBox.TabIndex = 63;
     //
     // accountNoTextBox
     //
     this.accountNoTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.payrolldetailsBindingSource, "accountNo", true));
     this.accountNoTextBox.Location = new System.Drawing.Point(103, 163);
     this.accountNoTextBox.Name = "accountNoTextBox";
     this.accountNoTextBox.Size = new System.Drawing.Size(235, 20);
     this.accountNoTextBox.TabIndex = 65;
     //
     // departmentIDTextBox
     //
     this.departmentIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.payrolldetailsBindingSource, "departmentID", true));
     this.departmentIDTextBox.Location = new System.Drawing.Point(103, 189);
     this.departmentIDTextBox.Name = "departmentIDTextBox";
     this.departmentIDTextBox.Size = new System.Drawing.Size(235, 20);
     this.departmentIDTextBox.TabIndex = 67;
     //
     // SaveButton
     //
     this.SaveButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SaveButton.Location = new System.Drawing.Point(278, 274);
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.Size = new System.Drawing.Size(75, 23);
     this.SaveButton.TabIndex = 54;
     this.SaveButton.Text = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(368, 206);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(120, 20);
     this.textBox1.TabIndex = 52;
     //
     // listBox1
     //
     this.listBox1.DataSource = this.payrolldetailsBindingSource;
     this.listBox1.DisplayMember = "payrollID";
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location = new System.Drawing.Point(368, 22);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(120, 173);
     this.listBox1.TabIndex = 51;
     //
     // SearchIDButton
     //
     this.SearchIDButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SearchIDButton.Location = new System.Drawing.Point(368, 232);
     this.SearchIDButton.Name = "SearchIDButton";
     this.SearchIDButton.Size = new System.Drawing.Size(120, 23);
     this.SearchIDButton.TabIndex = 50;
     this.SearchIDButton.Text = "SearchID";
     this.SearchIDButton.UseVisualStyleBackColor = true;
     //
     // ExitButton
     //
     this.ExitButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ExitButton.Location = new System.Drawing.Point(413, 274);
     this.ExitButton.Name = "ExitButton";
     this.ExitButton.Size = new System.Drawing.Size(75, 23);
     this.ExitButton.TabIndex = 49;
     this.ExitButton.Text = "Exit";
     this.ExitButton.UseVisualStyleBackColor = true;
     this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
     //
     // UpdateButton
     //
     this.UpdateButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UpdateButton.Location = new System.Drawing.Point(188, 274);
     this.UpdateButton.Name = "UpdateButton";
     this.UpdateButton.Size = new System.Drawing.Size(75, 23);
     this.UpdateButton.TabIndex = 48;
     this.UpdateButton.Text = "Update";
     this.UpdateButton.UseVisualStyleBackColor = true;
     this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click);
     //
     // DeleteButton
     //
     this.DeleteButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DeleteButton.Location = new System.Drawing.Point(103, 274);
     this.DeleteButton.Name = "DeleteButton";
     this.DeleteButton.Size = new System.Drawing.Size(75, 23);
     this.DeleteButton.TabIndex = 47;
     this.DeleteButton.Text = "Delete";
     this.DeleteButton.UseVisualStyleBackColor = true;
     this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
     //
     // AddButton
     //
     this.AddButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AddButton.Location = new System.Drawing.Point(12, 274);
     this.AddButton.Name = "AddButton";
     this.AddButton.Size = new System.Drawing.Size(75, 23);
     this.AddButton.TabIndex = 46;
     this.AddButton.Text = "Add";
     this.AddButton.UseVisualStyleBackColor = true;
     this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
     //
     // tabPage2
     //
     this.tabPage2.AutoScroll = true;
     this.tabPage2.Controls.Add(this.payrolldetailsDataGridView);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(504, 315);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Data Grid view";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // payrolldetailsDataGridView
     //
     this.payrolldetailsDataGridView.AutoGenerateColumns = false;
     this.payrolldetailsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.payrolldetailsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3,
     this.dataGridViewTextBoxColumn5,
     this.dataGridViewTextBoxColumn6,
     this.dataGridViewTextBoxColumn7,
     this.dataGridViewTextBoxColumn8});
     this.payrolldetailsDataGridView.DataSource = this.payrolldetailsBindingSource;
     this.payrolldetailsDataGridView.Location = new System.Drawing.Point(3, 0);
     this.payrolldetailsDataGridView.Name = "payrolldetailsDataGridView";
     this.payrolldetailsDataGridView.Size = new System.Drawing.Size(498, 315);
     this.payrolldetailsDataGridView.TabIndex = 0;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "payrollID";
     this.dataGridViewTextBoxColumn1.HeaderText = "payrollID";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "employeeID";
     this.dataGridViewTextBoxColumn2.HeaderText = "employeeID";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "employeeName";
     this.dataGridViewTextBoxColumn3.HeaderText = "employeeName";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "salary";
     this.dataGridViewTextBoxColumn5.HeaderText = "salary";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.DataPropertyName = "deduction";
     this.dataGridViewTextBoxColumn6.HeaderText = "deduction";
     this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
     //
     // dataGridViewTextBoxColumn7
     //
     this.dataGridViewTextBoxColumn7.DataPropertyName = "accountNo";
     this.dataGridViewTextBoxColumn7.HeaderText = "accountNo";
     this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
     //
     // dataGridViewTextBoxColumn8
     //
     this.dataGridViewTextBoxColumn8.DataPropertyName = "departmentID";
     this.dataGridViewTextBoxColumn8.HeaderText = "departmentID";
     this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
     //
     // panel3
     //
     this.panel3.Controls.Add(this.Panel1);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Controls.Add(this.panel5);
     this.panel3.Controls.Add(this.panel6);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(512, 370);
     this.panel3.TabIndex = 19;
     //
     // panel4
     //
     this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(512, 370);
     this.panel4.TabIndex = 3;
     //
     // panel5
     //
     this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(512, 370);
     this.panel5.TabIndex = 5;
     //
     // panel6
     //
     this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(512, 370);
     this.panel6.TabIndex = 6;
     //
     // payrolldetailsTableAdapter
     //
     this.payrolldetailsTableAdapter.ClearBeforeFill = true;
     //
     // payrolldetailsBindingNavigator
     //
     this.payrolldetailsBindingNavigator.AddNewItem = this.bindingNavigatorAddNewItem;
     this.payrolldetailsBindingNavigator.BindingSource = this.payrolldetailsBindingSource;
     this.payrolldetailsBindingNavigator.CountItem = this.bindingNavigatorCountItem;
     this.payrolldetailsBindingNavigator.DeleteItem = this.bindingNavigatorDeleteItem;
     this.payrolldetailsBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bindingNavigatorMoveFirstItem,
     this.bindingNavigatorMovePreviousItem,
     this.bindingNavigatorSeparator,
     this.bindingNavigatorPositionItem,
     this.bindingNavigatorCountItem,
     this.bindingNavigatorSeparator1,
     this.bindingNavigatorMoveNextItem,
     this.bindingNavigatorMoveLastItem,
     this.bindingNavigatorSeparator2,
     this.bindingNavigatorAddNewItem,
     this.bindingNavigatorDeleteItem,
     this.payrolldetailsBindingNavigatorSaveItem});
     this.payrolldetailsBindingNavigator.Location = new System.Drawing.Point(0, 0);
     this.payrolldetailsBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
     this.payrolldetailsBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem;
     this.payrolldetailsBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem;
     this.payrolldetailsBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.payrolldetailsBindingNavigator.Name = "payrolldetailsBindingNavigator";
     this.payrolldetailsBindingNavigator.PositionItem = this.bindingNavigatorPositionItem;
     this.payrolldetailsBindingNavigator.Size = new System.Drawing.Size(512, 25);
     this.payrolldetailsBindingNavigator.TabIndex = 20;
     this.payrolldetailsBindingNavigator.Text = "bindingNavigator1";
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size = new System.Drawing.Size(36, 22);
     this.bindingNavigatorCountItem.Text = "of {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize = false;
     this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text = "0";
     this.bindingNavigatorPositionItem.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // payrolldetailsBindingNavigatorSaveItem
     //
     this.payrolldetailsBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.payrolldetailsBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("payrolldetailsBindingNavigatorSaveItem.Image")));
     this.payrolldetailsBindingNavigatorSaveItem.Name = "payrolldetailsBindingNavigatorSaveItem";
     this.payrolldetailsBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
     this.payrolldetailsBindingNavigatorSaveItem.Text = "Save Data";
     this.payrolldetailsBindingNavigatorSaveItem.Click += new System.EventHandler(this.payrolldetailsBindingNavigatorSaveItem_Click);
     //
     // frmPayrollDetails
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(512, 370);
     this.Controls.Add(this.payrolldetailsBindingNavigator);
     this.Controls.Add(this.panel3);
     this.Name = "frmPayrollDetails";
     this.Text = "Payroll";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmpayrolldetails_FormClosing);
     this.Load += new System.EventHandler(this.frmpayrolldetails_Load);
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.payrolldetailsBindingSource)).EndInit();
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.payrolldetailsDataGridView)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.payrolldetailsBindingNavigator)).EndInit();
     this.payrolldetailsBindingNavigator.ResumeLayout(false);
     this.payrolldetailsBindingNavigator.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Beispiel #42
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Windows.Forms.Label idLabel;
     System.Windows.Forms.Label usernameLabel;
     System.Windows.Forms.Label passwordLabel;
     System.Windows.Forms.Label firstnameLabel;
     System.Windows.Forms.Label lastnameLabel;
     System.Windows.Forms.Label emailLabel;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmUsers));
     this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.Panel1 = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.SaveButton = new System.Windows.Forms.Button();
     this.ExitButton = new System.Windows.Forms.Button();
     this.UpdateButton = new System.Windows.Forms.Button();
     this.DeleteButton = new System.Windows.Forms.Button();
     this.AddButton = new System.Windows.Forms.Button();
     this.button1 = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.usersBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.newDataSet = new PEIMSV3Cs.NewDataSet();
     this.idTextBox = new System.Windows.Forms.TextBox();
     this.usernameTextBox = new System.Windows.Forms.TextBox();
     this.passwordTextBox = new System.Windows.Forms.TextBox();
     this.firstnameTextBox = new System.Windows.Forms.TextBox();
     this.lastnameTextBox = new System.Windows.Forms.TextBox();
     this.emailTextBox = new System.Windows.Forms.TextBox();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.usersDataGridView = new System.Windows.Forms.DataGridView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel3 = new System.Windows.Forms.Panel();
     this.panel4 = new System.Windows.Forms.Panel();
     this.panel5 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.usersBindingNavigator = new System.Windows.Forms.BindingNavigator(this.components);
     this.bindingNavigatorAddNewItem1 = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorCountItem1 = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem1 = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem1 = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem1 = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem1 = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator4 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem1 = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem1 = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator5 = new System.Windows.Forms.ToolStripSeparator();
     this.usersBindingNavigatorSaveItem = new System.Windows.Forms.ToolStripButton();
     idLabel = new System.Windows.Forms.Label();
     usernameLabel = new System.Windows.Forms.Label();
     passwordLabel = new System.Windows.Forms.Label();
     firstnameLabel = new System.Windows.Forms.Label();
     lastnameLabel = new System.Windows.Forms.Label();
     emailLabel = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.Panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).BeginInit();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.usersDataGridView)).BeginInit();
     this.panel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.usersBindingNavigator)).BeginInit();
     this.usersBindingNavigator.SuspendLayout();
     this.SuspendLayout();
     //
     // idLabel
     //
     idLabel.AutoSize = true;
     idLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     idLabel.Location = new System.Drawing.Point(16, 29);
     idLabel.Name = "idLabel";
     idLabel.Size = new System.Drawing.Size(19, 12);
     idLabel.TabIndex = 12;
     idLabel.Text = "id:";
     //
     // usernameLabel
     //
     usernameLabel.AutoSize = true;
     usernameLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     usernameLabel.Location = new System.Drawing.Point(16, 68);
     usernameLabel.Name = "usernameLabel";
     usernameLabel.Size = new System.Drawing.Size(67, 12);
     usernameLabel.TabIndex = 14;
     usernameLabel.Text = "username:"******"Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     passwordLabel.Location = new System.Drawing.Point(16, 108);
     passwordLabel.Name = "passwordLabel";
     passwordLabel.Size = new System.Drawing.Size(69, 12);
     passwordLabel.TabIndex = 16;
     passwordLabel.Text = "password:"******"Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     firstnameLabel.Location = new System.Drawing.Point(16, 149);
     firstnameLabel.Name = "firstnameLabel";
     firstnameLabel.Size = new System.Drawing.Size(68, 12);
     firstnameLabel.TabIndex = 18;
     firstnameLabel.Text = "firstname:";
     //
     // lastnameLabel
     //
     lastnameLabel.AutoSize = true;
     lastnameLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     lastnameLabel.Location = new System.Drawing.Point(16, 188);
     lastnameLabel.Name = "lastnameLabel";
     lastnameLabel.Size = new System.Drawing.Size(65, 12);
     lastnameLabel.TabIndex = 20;
     lastnameLabel.Text = "lastname:";
     //
     // emailLabel
     //
     emailLabel.AutoSize = true;
     emailLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     emailLabel.Location = new System.Drawing.Point(16, 225);
     emailLabel.Name = "emailLabel";
     emailLabel.Size = new System.Drawing.Size(40, 12);
     emailLabel.TabIndex = 22;
     emailLabel.Text = "email:";
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Enabled = false;
     this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size = new System.Drawing.Size(35, 22);
     this.bindingNavigatorCountItem.Text = "of 0";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize = false;
     this.bindingNavigatorPositionItem.Enabled = false;
     this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text = "0";
     this.bindingNavigatorPositionItem.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // Panel1
     //
     this.Panel1.AutoScroll = true;
     this.Panel1.AutoSize = true;
     this.Panel1.Controls.Add(this.tabControl1);
     this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Panel1.Location = new System.Drawing.Point(0, 0);
     this.Panel1.Margin = new System.Windows.Forms.Padding(10, 3, 10, 3);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(517, 371);
     this.Panel1.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Location = new System.Drawing.Point(3, 28);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(511, 343);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.SaveButton);
     this.tabPage1.Controls.Add(this.ExitButton);
     this.tabPage1.Controls.Add(this.UpdateButton);
     this.tabPage1.Controls.Add(this.DeleteButton);
     this.tabPage1.Controls.Add(this.AddButton);
     this.tabPage1.Controls.Add(this.button1);
     this.tabPage1.Controls.Add(this.textBox1);
     this.tabPage1.Controls.Add(this.listBox1);
     this.tabPage1.Controls.Add(idLabel);
     this.tabPage1.Controls.Add(this.idTextBox);
     this.tabPage1.Controls.Add(usernameLabel);
     this.tabPage1.Controls.Add(this.usernameTextBox);
     this.tabPage1.Controls.Add(passwordLabel);
     this.tabPage1.Controls.Add(this.passwordTextBox);
     this.tabPage1.Controls.Add(firstnameLabel);
     this.tabPage1.Controls.Add(this.firstnameTextBox);
     this.tabPage1.Controls.Add(lastnameLabel);
     this.tabPage1.Controls.Add(this.lastnameTextBox);
     this.tabPage1.Controls.Add(emailLabel);
     this.tabPage1.Controls.Add(this.emailTextBox);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(503, 317);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Details View";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // SaveButton
     //
     this.SaveButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SaveButton.Location = new System.Drawing.Point(284, 273);
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.Size = new System.Drawing.Size(75, 23);
     this.SaveButton.TabIndex = 40;
     this.SaveButton.Text = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // ExitButton
     //
     this.ExitButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ExitButton.Location = new System.Drawing.Point(402, 275);
     this.ExitButton.Name = "ExitButton";
     this.ExitButton.Size = new System.Drawing.Size(75, 23);
     this.ExitButton.TabIndex = 39;
     this.ExitButton.Text = "Exit";
     this.ExitButton.UseVisualStyleBackColor = true;
     this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
     //
     // UpdateButton
     //
     this.UpdateButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UpdateButton.Location = new System.Drawing.Point(194, 273);
     this.UpdateButton.Name = "UpdateButton";
     this.UpdateButton.Size = new System.Drawing.Size(75, 23);
     this.UpdateButton.TabIndex = 38;
     this.UpdateButton.Text = "Update";
     this.UpdateButton.UseVisualStyleBackColor = true;
     this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click);
     //
     // DeleteButton
     //
     this.DeleteButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DeleteButton.Location = new System.Drawing.Point(103, 273);
     this.DeleteButton.Name = "DeleteButton";
     this.DeleteButton.Size = new System.Drawing.Size(75, 23);
     this.DeleteButton.TabIndex = 37;
     this.DeleteButton.Text = "Delete";
     this.DeleteButton.UseVisualStyleBackColor = true;
     this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
     //
     // AddButton
     //
     this.AddButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AddButton.Location = new System.Drawing.Point(18, 273);
     this.AddButton.Name = "AddButton";
     this.AddButton.Size = new System.Drawing.Size(75, 23);
     this.AddButton.TabIndex = 36;
     this.AddButton.Text = "Add";
     this.AddButton.UseVisualStyleBackColor = true;
     this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
     //
     // button1
     //
     this.button1.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.button1.Location = new System.Drawing.Point(349, 234);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(128, 23);
     this.button1.TabIndex = 26;
     this.button1.Text = "Search UserName";
     this.button1.UseVisualStyleBackColor = true;
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(349, 208);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(128, 20);
     this.textBox1.TabIndex = 25;
     //
     // listBox1
     //
     this.listBox1.DataSource = this.usersBindingSource;
     this.listBox1.DisplayMember = "username";
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location = new System.Drawing.Point(349, 29);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(128, 173);
     this.listBox1.TabIndex = 24;
     //
     // usersBindingSource
     //
     this.usersBindingSource.DataMember = "users";
     this.usersBindingSource.DataSource = this.newDataSet;
     //
     // newDataSet
     //
     this.newDataSet.DataSetName = "NewDataSet";
     this.newDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // idTextBox
     //
     this.idTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "id", true));
     this.idTextBox.Location = new System.Drawing.Point(103, 26);
     this.idTextBox.Name = "idTextBox";
     this.idTextBox.Size = new System.Drawing.Size(231, 20);
     this.idTextBox.TabIndex = 13;
     //
     // usernameTextBox
     //
     this.usernameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "username", true));
     this.usernameTextBox.Location = new System.Drawing.Point(103, 65);
     this.usernameTextBox.Name = "usernameTextBox";
     this.usernameTextBox.Size = new System.Drawing.Size(231, 20);
     this.usernameTextBox.TabIndex = 15;
     //
     // passwordTextBox
     //
     this.passwordTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "password", true));
     this.passwordTextBox.Location = new System.Drawing.Point(103, 105);
     this.passwordTextBox.Name = "passwordTextBox";
     this.passwordTextBox.Size = new System.Drawing.Size(231, 20);
     this.passwordTextBox.TabIndex = 17;
     //
     // firstnameTextBox
     //
     this.firstnameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "firstname", true));
     this.firstnameTextBox.Location = new System.Drawing.Point(103, 146);
     this.firstnameTextBox.Name = "firstnameTextBox";
     this.firstnameTextBox.Size = new System.Drawing.Size(231, 20);
     this.firstnameTextBox.TabIndex = 19;
     //
     // lastnameTextBox
     //
     this.lastnameTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "lastname", true));
     this.lastnameTextBox.Location = new System.Drawing.Point(103, 185);
     this.lastnameTextBox.Name = "lastnameTextBox";
     this.lastnameTextBox.Size = new System.Drawing.Size(231, 20);
     this.lastnameTextBox.TabIndex = 21;
     //
     // emailTextBox
     //
     this.emailTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.usersBindingSource, "email", true));
     this.emailTextBox.Location = new System.Drawing.Point(103, 222);
     this.emailTextBox.Name = "emailTextBox";
     this.emailTextBox.Size = new System.Drawing.Size(231, 20);
     this.emailTextBox.TabIndex = 23;
     //
     // tabPage2
     //
     this.tabPage2.AutoScroll = true;
     this.tabPage2.Controls.Add(this.usersDataGridView);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(503, 317);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Data Grid View";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // usersDataGridView
     //
     this.usersDataGridView.AutoGenerateColumns = false;
     this.usersDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.usersDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3,
     this.dataGridViewTextBoxColumn4,
     this.dataGridViewTextBoxColumn5,
     this.dataGridViewTextBoxColumn6});
     this.usersDataGridView.DataSource = this.usersBindingSource;
     this.usersDataGridView.Location = new System.Drawing.Point(-7, 0);
     this.usersDataGridView.Name = "usersDataGridView";
     this.usersDataGridView.Size = new System.Drawing.Size(510, 318);
     this.usersDataGridView.TabIndex = 0;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "id";
     this.dataGridViewTextBoxColumn1.HeaderText = "id";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "username";
     this.dataGridViewTextBoxColumn2.HeaderText = "username";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "password";
     this.dataGridViewTextBoxColumn3.HeaderText = "password";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "firstname";
     this.dataGridViewTextBoxColumn4.HeaderText = "firstname";
     this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "lastname";
     this.dataGridViewTextBoxColumn5.HeaderText = "lastname";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.DataPropertyName = "email";
     this.dataGridViewTextBoxColumn6.HeaderText = "email";
     this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
     //
     // panel3
     //
     this.panel3.Controls.Add(this.Panel1);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Controls.Add(this.panel5);
     this.panel3.Controls.Add(this.panel6);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(517, 371);
     this.panel3.TabIndex = 19;
     //
     // panel4
     //
     this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(517, 371);
     this.panel4.TabIndex = 3;
     //
     // panel5
     //
     this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(517, 371);
     this.panel5.TabIndex = 5;
     //
     // panel6
     //
     this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(517, 371);
     this.panel6.TabIndex = 6;
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Enabled = false;
     this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Enabled = false;
     this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Enabled = false;
     this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Enabled = false;
     this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Enabled = false;
     this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text = "Save";
     this.toolStripButton1.Click += new System.EventHandler(this.Save_Click);
     //
     // usersBindingNavigator
     //
     this.usersBindingNavigator.AddNewItem = this.bindingNavigatorAddNewItem1;
     this.usersBindingNavigator.BindingSource = this.usersBindingSource;
     this.usersBindingNavigator.CountItem = this.bindingNavigatorCountItem1;
     this.usersBindingNavigator.DeleteItem = this.bindingNavigatorDeleteItem1;
     this.usersBindingNavigator.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bindingNavigatorMoveFirstItem1,
     this.bindingNavigatorMovePreviousItem1,
     this.bindingNavigatorSeparator3,
     this.bindingNavigatorPositionItem1,
     this.bindingNavigatorCountItem1,
     this.bindingNavigatorSeparator4,
     this.bindingNavigatorMoveNextItem1,
     this.bindingNavigatorMoveLastItem1,
     this.bindingNavigatorSeparator5,
     this.bindingNavigatorAddNewItem1,
     this.bindingNavigatorDeleteItem1,
     this.usersBindingNavigatorSaveItem});
     this.usersBindingNavigator.Location = new System.Drawing.Point(0, 0);
     this.usersBindingNavigator.MoveFirstItem = this.bindingNavigatorMoveFirstItem1;
     this.usersBindingNavigator.MoveLastItem = this.bindingNavigatorMoveLastItem1;
     this.usersBindingNavigator.MoveNextItem = this.bindingNavigatorMoveNextItem1;
     this.usersBindingNavigator.MovePreviousItem = this.bindingNavigatorMovePreviousItem1;
     this.usersBindingNavigator.Name = "usersBindingNavigator";
     this.usersBindingNavigator.PositionItem = this.bindingNavigatorPositionItem1;
     this.usersBindingNavigator.Size = new System.Drawing.Size(517, 25);
     this.usersBindingNavigator.TabIndex = 20;
     this.usersBindingNavigator.Text = "bindingNavigator1";
     //
     // bindingNavigatorAddNewItem1
     //
     this.bindingNavigatorAddNewItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem1.Image")));
     this.bindingNavigatorAddNewItem1.Name = "bindingNavigatorAddNewItem1";
     this.bindingNavigatorAddNewItem1.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem1.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem1.Text = "Add new";
     //
     // bindingNavigatorCountItem1
     //
     this.bindingNavigatorCountItem1.Name = "bindingNavigatorCountItem1";
     this.bindingNavigatorCountItem1.Size = new System.Drawing.Size(35, 22);
     this.bindingNavigatorCountItem1.Text = "of {0}";
     this.bindingNavigatorCountItem1.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem1
     //
     this.bindingNavigatorDeleteItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem1.Image")));
     this.bindingNavigatorDeleteItem1.Name = "bindingNavigatorDeleteItem1";
     this.bindingNavigatorDeleteItem1.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem1.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem1.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem1
     //
     this.bindingNavigatorMoveFirstItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem1.Image")));
     this.bindingNavigatorMoveFirstItem1.Name = "bindingNavigatorMoveFirstItem1";
     this.bindingNavigatorMoveFirstItem1.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem1.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem1.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem1
     //
     this.bindingNavigatorMovePreviousItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem1.Image")));
     this.bindingNavigatorMovePreviousItem1.Name = "bindingNavigatorMovePreviousItem1";
     this.bindingNavigatorMovePreviousItem1.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem1.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem1.Text = "Move previous";
     //
     // bindingNavigatorSeparator3
     //
     this.bindingNavigatorSeparator3.Name = "bindingNavigatorSeparator3";
     this.bindingNavigatorSeparator3.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem1
     //
     this.bindingNavigatorPositionItem1.AccessibleName = "Position";
     this.bindingNavigatorPositionItem1.AutoSize = false;
     this.bindingNavigatorPositionItem1.Name = "bindingNavigatorPositionItem1";
     this.bindingNavigatorPositionItem1.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem1.Text = "0";
     this.bindingNavigatorPositionItem1.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator4
     //
     this.bindingNavigatorSeparator4.Name = "bindingNavigatorSeparator4";
     this.bindingNavigatorSeparator4.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem1
     //
     this.bindingNavigatorMoveNextItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem1.Image")));
     this.bindingNavigatorMoveNextItem1.Name = "bindingNavigatorMoveNextItem1";
     this.bindingNavigatorMoveNextItem1.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem1.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem1.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem1
     //
     this.bindingNavigatorMoveLastItem1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem1.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem1.Image")));
     this.bindingNavigatorMoveLastItem1.Name = "bindingNavigatorMoveLastItem1";
     this.bindingNavigatorMoveLastItem1.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem1.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem1.Text = "Move last";
     //
     // bindingNavigatorSeparator5
     //
     this.bindingNavigatorSeparator5.Name = "bindingNavigatorSeparator5";
     this.bindingNavigatorSeparator5.Size = new System.Drawing.Size(6, 25);
     //
     // usersBindingNavigatorSaveItem
     //
     this.usersBindingNavigatorSaveItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.usersBindingNavigatorSaveItem.Enabled = false;
     this.usersBindingNavigatorSaveItem.Image = ((System.Drawing.Image)(resources.GetObject("usersBindingNavigatorSaveItem.Image")));
     this.usersBindingNavigatorSaveItem.Name = "usersBindingNavigatorSaveItem";
     this.usersBindingNavigatorSaveItem.Size = new System.Drawing.Size(23, 22);
     this.usersBindingNavigatorSaveItem.Text = "Save Data";
     //
     // frmUsers
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(517, 371);
     this.Controls.Add(this.usersBindingNavigator);
     this.Controls.Add(this.panel3);
     this.Name = "frmUsers";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Users Accounts";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmusers_FormClosing);
     this.Load += new System.EventHandler(this.frmusers_Load);
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).EndInit();
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.usersDataGridView)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.usersBindingNavigator)).EndInit();
     this.usersBindingNavigator.ResumeLayout(false);
     this.usersBindingNavigator.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInventoryItem));
     this.bindingNavigator1 = new System.Windows.Forms.BindingNavigator(this.components);
     this.inventoryitemBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.newDataSet = new PEIMSV3Cs.NewDataSet();
     this.bindingNavigatorCountItem = new System.Windows.Forms.ToolStripLabel();
     this.bindingNavigatorDeleteItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveFirstItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMovePreviousItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorPositionItem = new System.Windows.Forms.ToolStripTextBox();
     this.bindingNavigatorSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorMoveNextItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorMoveLastItem = new System.Windows.Forms.ToolStripButton();
     this.bindingNavigatorSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
     this.errorProvider1 = new System.Windows.Forms.ErrorProvider(this.components);
     this.Panel1 = new System.Windows.Forms.Panel();
     this.tabControl1 = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.SaveButton = new System.Windows.Forms.Button();
     this.SearchIDButton = new System.Windows.Forms.Button();
     this.ExitButton = new System.Windows.Forms.Button();
     this.UpdateButton = new System.Windows.Forms.Button();
     this.DeleteButton = new System.Windows.Forms.Button();
     this.AddButton = new System.Windows.Forms.Button();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.productIDLabel = new System.Windows.Forms.Label();
     this.productIDTextBox = new System.Windows.Forms.TextBox();
     this.categoryIDLabel = new System.Windows.Forms.Label();
     this.categoryIDTextBox = new System.Windows.Forms.TextBox();
     this.locationIDLabel = new System.Windows.Forms.Label();
     this.locationIDTextBox = new System.Windows.Forms.TextBox();
     this.costLabel = new System.Windows.Forms.Label();
     this.costTextBox = new System.Windows.Forms.TextBox();
     this.priceLabel = new System.Windows.Forms.Label();
     this.priceTextBox = new System.Windows.Forms.TextBox();
     this.dateStampLabel = new System.Windows.Forms.Label();
     this.dateStamp_dateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.isSoldLabel = new System.Windows.Forms.Label();
     this.isSoldTextBox = new System.Windows.Forms.TextBox();
     this.soldDateLabel = new System.Windows.Forms.Label();
     this.soldDate_dateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.inventoryitemDataGridView = new System.Windows.Forms.DataGridView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.panel3 = new System.Windows.Forms.Panel();
     this.panel4 = new System.Windows.Forms.Panel();
     this.panel5 = new System.Windows.Forms.Panel();
     this.panel6 = new System.Windows.Forms.Panel();
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).BeginInit();
     this.bindingNavigator1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.inventoryitemBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).BeginInit();
     this.Panel1.SuspendLayout();
     this.tabControl1.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.inventoryitemDataGridView)).BeginInit();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // bindingNavigator1
     //
     this.bindingNavigator1.AddNewItem = null;
     this.bindingNavigator1.BindingSource = this.inventoryitemBindingSource;
     this.bindingNavigator1.CountItem = this.bindingNavigatorCountItem;
     this.bindingNavigator1.DeleteItem = this.bindingNavigatorDeleteItem;
     this.bindingNavigator1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.bindingNavigatorMoveFirstItem,
     this.bindingNavigatorMovePreviousItem,
     this.bindingNavigatorSeparator,
     this.bindingNavigatorPositionItem,
     this.bindingNavigatorCountItem,
     this.bindingNavigatorSeparator1,
     this.bindingNavigatorMoveNextItem,
     this.bindingNavigatorMoveLastItem,
     this.bindingNavigatorSeparator2,
     this.bindingNavigatorAddNewItem,
     this.bindingNavigatorDeleteItem,
     this.toolStripButton1});
     this.bindingNavigator1.Location = new System.Drawing.Point(0, 0);
     this.bindingNavigator1.MoveFirstItem = this.bindingNavigatorMoveFirstItem;
     this.bindingNavigator1.MoveLastItem = this.bindingNavigatorMoveLastItem;
     this.bindingNavigator1.MoveNextItem = this.bindingNavigatorMoveNextItem;
     this.bindingNavigator1.MovePreviousItem = this.bindingNavigatorMovePreviousItem;
     this.bindingNavigator1.Name = "bindingNavigator1";
     this.bindingNavigator1.Padding = new System.Windows.Forms.Padding(10, 0, 10, 0);
     this.bindingNavigator1.PositionItem = this.bindingNavigatorPositionItem;
     this.bindingNavigator1.Size = new System.Drawing.Size(606, 25);
     this.bindingNavigator1.TabIndex = 0;
     this.bindingNavigator1.Text = "bindingNavigator1";
     //
     // inventoryitemBindingSource
     //
     this.inventoryitemBindingSource.DataMember = "inventoryitem";
     this.inventoryitemBindingSource.DataSource = this.newDataSet;
     //
     // newDataSet
     //
     this.newDataSet.DataSetName = "NewDataSet";
     this.newDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // bindingNavigatorCountItem
     //
     this.bindingNavigatorCountItem.Name = "bindingNavigatorCountItem";
     this.bindingNavigatorCountItem.Size = new System.Drawing.Size(35, 22);
     this.bindingNavigatorCountItem.Text = "of {0}";
     this.bindingNavigatorCountItem.ToolTipText = "Total number of items";
     //
     // bindingNavigatorDeleteItem
     //
     this.bindingNavigatorDeleteItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorDeleteItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorDeleteItem.Image")));
     this.bindingNavigatorDeleteItem.Name = "bindingNavigatorDeleteItem";
     this.bindingNavigatorDeleteItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorDeleteItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorDeleteItem.Text = "Delete";
     //
     // bindingNavigatorMoveFirstItem
     //
     this.bindingNavigatorMoveFirstItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveFirstItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveFirstItem.Image")));
     this.bindingNavigatorMoveFirstItem.Name = "bindingNavigatorMoveFirstItem";
     this.bindingNavigatorMoveFirstItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveFirstItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveFirstItem.Text = "Move first";
     //
     // bindingNavigatorMovePreviousItem
     //
     this.bindingNavigatorMovePreviousItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMovePreviousItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMovePreviousItem.Image")));
     this.bindingNavigatorMovePreviousItem.Name = "bindingNavigatorMovePreviousItem";
     this.bindingNavigatorMovePreviousItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMovePreviousItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMovePreviousItem.Text = "Move previous";
     //
     // bindingNavigatorSeparator
     //
     this.bindingNavigatorSeparator.Name = "bindingNavigatorSeparator";
     this.bindingNavigatorSeparator.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorPositionItem
     //
     this.bindingNavigatorPositionItem.AccessibleName = "Position";
     this.bindingNavigatorPositionItem.AutoSize = false;
     this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem";
     this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23);
     this.bindingNavigatorPositionItem.Text = "0";
     this.bindingNavigatorPositionItem.ToolTipText = "Current position";
     //
     // bindingNavigatorSeparator1
     //
     this.bindingNavigatorSeparator1.Name = "bindingNavigatorSeparator1";
     this.bindingNavigatorSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorMoveNextItem
     //
     this.bindingNavigatorMoveNextItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveNextItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveNextItem.Image")));
     this.bindingNavigatorMoveNextItem.Name = "bindingNavigatorMoveNextItem";
     this.bindingNavigatorMoveNextItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveNextItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveNextItem.Text = "Move next";
     //
     // bindingNavigatorMoveLastItem
     //
     this.bindingNavigatorMoveLastItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorMoveLastItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorMoveLastItem.Image")));
     this.bindingNavigatorMoveLastItem.Name = "bindingNavigatorMoveLastItem";
     this.bindingNavigatorMoveLastItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorMoveLastItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorMoveLastItem.Text = "Move last";
     //
     // bindingNavigatorSeparator2
     //
     this.bindingNavigatorSeparator2.Name = "bindingNavigatorSeparator2";
     this.bindingNavigatorSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // bindingNavigatorAddNewItem
     //
     this.bindingNavigatorAddNewItem.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.bindingNavigatorAddNewItem.Image = ((System.Drawing.Image)(resources.GetObject("bindingNavigatorAddNewItem.Image")));
     this.bindingNavigatorAddNewItem.Name = "bindingNavigatorAddNewItem";
     this.bindingNavigatorAddNewItem.RightToLeftAutoMirrorImage = true;
     this.bindingNavigatorAddNewItem.Size = new System.Drawing.Size(23, 22);
     this.bindingNavigatorAddNewItem.Text = "Add new";
     this.bindingNavigatorAddNewItem.Click += new System.EventHandler(this.bindingNavigatorAddNewItem_Click);
     //
     // toolStripButton1
     //
     this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
     this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton1.Name = "toolStripButton1";
     this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton1.Text = "Save";
     this.toolStripButton1.Click += new System.EventHandler(this.Save_Click);
     //
     // errorProvider1
     //
     this.errorProvider1.ContainerControl = this;
     //
     // Panel1
     //
     this.Panel1.AutoScroll = true;
     this.Panel1.AutoSize = true;
     this.Panel1.Controls.Add(this.tabControl1);
     this.Panel1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Panel1.Location = new System.Drawing.Point(0, 0);
     this.Panel1.Margin = new System.Windows.Forms.Padding(10, 3, 10, 3);
     this.Panel1.Name = "Panel1";
     this.Panel1.Size = new System.Drawing.Size(606, 393);
     this.Panel1.TabIndex = 1;
     //
     // tabControl1
     //
     this.tabControl1.Controls.Add(this.tabPage1);
     this.tabControl1.Controls.Add(this.tabPage2);
     this.tabControl1.Controls.Add(this.tabPage3);
     this.tabControl1.Location = new System.Drawing.Point(0, 3);
     this.tabControl1.Name = "tabControl1";
     this.tabControl1.SelectedIndex = 0;
     this.tabControl1.Size = new System.Drawing.Size(606, 390);
     this.tabControl1.TabIndex = 0;
     //
     // tabPage1
     //
     this.tabPage1.Controls.Add(this.SaveButton);
     this.tabPage1.Controls.Add(this.SearchIDButton);
     this.tabPage1.Controls.Add(this.ExitButton);
     this.tabPage1.Controls.Add(this.UpdateButton);
     this.tabPage1.Controls.Add(this.DeleteButton);
     this.tabPage1.Controls.Add(this.AddButton);
     this.tabPage1.Controls.Add(this.textBox1);
     this.tabPage1.Controls.Add(this.listBox1);
     this.tabPage1.Controls.Add(this.productIDLabel);
     this.tabPage1.Controls.Add(this.productIDTextBox);
     this.tabPage1.Controls.Add(this.categoryIDLabel);
     this.tabPage1.Controls.Add(this.categoryIDTextBox);
     this.tabPage1.Controls.Add(this.locationIDLabel);
     this.tabPage1.Controls.Add(this.locationIDTextBox);
     this.tabPage1.Controls.Add(this.costLabel);
     this.tabPage1.Controls.Add(this.costTextBox);
     this.tabPage1.Controls.Add(this.priceLabel);
     this.tabPage1.Controls.Add(this.priceTextBox);
     this.tabPage1.Controls.Add(this.dateStampLabel);
     this.tabPage1.Controls.Add(this.dateStamp_dateTimePicker);
     this.tabPage1.Controls.Add(this.isSoldLabel);
     this.tabPage1.Controls.Add(this.isSoldTextBox);
     this.tabPage1.Controls.Add(this.soldDateLabel);
     this.tabPage1.Controls.Add(this.soldDate_dateTimePicker);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(598, 364);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Details view";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // SaveButton
     //
     this.SaveButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SaveButton.Location = new System.Drawing.Point(365, 320);
     this.SaveButton.Name = "SaveButton";
     this.SaveButton.Size = new System.Drawing.Size(75, 23);
     this.SaveButton.TabIndex = 57;
     this.SaveButton.Text = "Save";
     this.SaveButton.UseVisualStyleBackColor = true;
     this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
     //
     // SearchIDButton
     //
     this.SearchIDButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.SearchIDButton.Location = new System.Drawing.Point(438, 282);
     this.SearchIDButton.Name = "SearchIDButton";
     this.SearchIDButton.Size = new System.Drawing.Size(120, 23);
     this.SearchIDButton.TabIndex = 56;
     this.SearchIDButton.Text = "SearchID";
     this.SearchIDButton.UseVisualStyleBackColor = true;
     //
     // ExitButton
     //
     this.ExitButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ExitButton.Location = new System.Drawing.Point(483, 320);
     this.ExitButton.Name = "ExitButton";
     this.ExitButton.Size = new System.Drawing.Size(75, 23);
     this.ExitButton.TabIndex = 55;
     this.ExitButton.Text = "Exit";
     this.ExitButton.UseVisualStyleBackColor = true;
     this.ExitButton.Click += new System.EventHandler(this.ExitButton_Click);
     //
     // UpdateButton
     //
     this.UpdateButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.UpdateButton.Location = new System.Drawing.Point(272, 320);
     this.UpdateButton.Name = "UpdateButton";
     this.UpdateButton.Size = new System.Drawing.Size(75, 23);
     this.UpdateButton.TabIndex = 54;
     this.UpdateButton.Text = "Update";
     this.UpdateButton.UseVisualStyleBackColor = true;
     this.UpdateButton.Click += new System.EventHandler(this.UpdateButton_Click);
     //
     // DeleteButton
     //
     this.DeleteButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.DeleteButton.Location = new System.Drawing.Point(172, 320);
     this.DeleteButton.Name = "DeleteButton";
     this.DeleteButton.Size = new System.Drawing.Size(75, 23);
     this.DeleteButton.TabIndex = 53;
     this.DeleteButton.Text = "Delete";
     this.DeleteButton.UseVisualStyleBackColor = true;
     this.DeleteButton.Click += new System.EventHandler(this.DeleteButton_Click);
     //
     // AddButton
     //
     this.AddButton.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.AddButton.Location = new System.Drawing.Point(74, 320);
     this.AddButton.Name = "AddButton";
     this.AddButton.Size = new System.Drawing.Size(75, 23);
     this.AddButton.TabIndex = 52;
     this.AddButton.Text = "Add";
     this.AddButton.UseVisualStyleBackColor = true;
     this.AddButton.Click += new System.EventHandler(this.AddButton_Click);
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(423, 253);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(143, 20);
     this.textBox1.TabIndex = 51;
     //
     // listBox1
     //
     this.listBox1.DataSource = this.inventoryitemBindingSource;
     this.listBox1.DisplayMember = "productID";
     this.listBox1.FormattingEnabled = true;
     this.listBox1.Location = new System.Drawing.Point(423, 22);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(143, 225);
     this.listBox1.TabIndex = 50;
     //
     // productIDLabel
     //
     this.productIDLabel.AutoSize = true;
     this.productIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.productIDLabel.Location = new System.Drawing.Point(32, 22);
     this.productIDLabel.Name = "productIDLabel";
     this.productIDLabel.Size = new System.Drawing.Size(68, 12);
     this.productIDLabel.TabIndex = 34;
     this.productIDLabel.Text = "productID";
     //
     // productIDTextBox
     //
     this.productIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.inventoryitemBindingSource, "productID", true));
     this.productIDTextBox.Location = new System.Drawing.Point(128, 18);
     this.productIDTextBox.Name = "productIDTextBox";
     this.productIDTextBox.Size = new System.Drawing.Size(272, 20);
     this.productIDTextBox.TabIndex = 35;
     //
     // categoryIDLabel
     //
     this.categoryIDLabel.AutoSize = true;
     this.categoryIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.categoryIDLabel.Location = new System.Drawing.Point(32, 59);
     this.categoryIDLabel.Name = "categoryIDLabel";
     this.categoryIDLabel.Size = new System.Drawing.Size(74, 12);
     this.categoryIDLabel.TabIndex = 36;
     this.categoryIDLabel.Text = "categoryID";
     //
     // categoryIDTextBox
     //
     this.categoryIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.inventoryitemBindingSource, "categoryID", true));
     this.categoryIDTextBox.Location = new System.Drawing.Point(128, 55);
     this.categoryIDTextBox.Name = "categoryIDTextBox";
     this.categoryIDTextBox.Size = new System.Drawing.Size(272, 20);
     this.categoryIDTextBox.TabIndex = 37;
     //
     // locationIDLabel
     //
     this.locationIDLabel.AutoSize = true;
     this.locationIDLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.locationIDLabel.Location = new System.Drawing.Point(32, 95);
     this.locationIDLabel.Name = "locationIDLabel";
     this.locationIDLabel.Size = new System.Drawing.Size(71, 12);
     this.locationIDLabel.TabIndex = 38;
     this.locationIDLabel.Text = "locationID";
     //
     // locationIDTextBox
     //
     this.locationIDTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.inventoryitemBindingSource, "locationID", true));
     this.locationIDTextBox.Location = new System.Drawing.Point(128, 91);
     this.locationIDTextBox.Name = "locationIDTextBox";
     this.locationIDTextBox.Size = new System.Drawing.Size(272, 20);
     this.locationIDTextBox.TabIndex = 39;
     //
     // costLabel
     //
     this.costLabel.AutoSize = true;
     this.costLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.costLabel.Location = new System.Drawing.Point(32, 133);
     this.costLabel.Name = "costLabel";
     this.costLabel.Size = new System.Drawing.Size(34, 12);
     this.costLabel.TabIndex = 40;
     this.costLabel.Text = "cost";
     //
     // costTextBox
     //
     this.costTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.inventoryitemBindingSource, "cost", true));
     this.costTextBox.Location = new System.Drawing.Point(128, 129);
     this.costTextBox.Name = "costTextBox";
     this.costTextBox.Size = new System.Drawing.Size(272, 20);
     this.costTextBox.TabIndex = 41;
     //
     // priceLabel
     //
     this.priceLabel.AutoSize = true;
     this.priceLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.priceLabel.Location = new System.Drawing.Point(32, 165);
     this.priceLabel.Name = "priceLabel";
     this.priceLabel.Size = new System.Drawing.Size(37, 12);
     this.priceLabel.TabIndex = 42;
     this.priceLabel.Text = "price";
     //
     // priceTextBox
     //
     this.priceTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.inventoryitemBindingSource, "price", true));
     this.priceTextBox.Location = new System.Drawing.Point(128, 161);
     this.priceTextBox.Name = "priceTextBox";
     this.priceTextBox.Size = new System.Drawing.Size(272, 20);
     this.priceTextBox.TabIndex = 43;
     //
     // dateStampLabel
     //
     this.dateStampLabel.AutoSize = true;
     this.dateStampLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateStampLabel.Location = new System.Drawing.Point(32, 197);
     this.dateStampLabel.Name = "dateStampLabel";
     this.dateStampLabel.Size = new System.Drawing.Size(70, 12);
     this.dateStampLabel.TabIndex = 44;
     this.dateStampLabel.Text = "dateStamp";
     //
     // dateStamp_dateTimePicker
     //
     this.dateStamp_dateTimePicker.CustomFormat = "dd/MM/yyyy";
     this.dateStamp_dateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.inventoryitemBindingSource, "dateStamp", true));
     this.dateStamp_dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateStamp_dateTimePicker.Location = new System.Drawing.Point(128, 197);
     this.dateStamp_dateTimePicker.Name = "dateStamp_dateTimePicker";
     this.dateStamp_dateTimePicker.Size = new System.Drawing.Size(272, 20);
     this.dateStamp_dateTimePicker.TabIndex = 45;
     this.dateStamp_dateTimePicker.Value = new System.DateTime(2014, 5, 26, 17, 35, 11, 0);
     //
     // isSoldLabel
     //
     this.isSoldLabel.AutoSize = true;
     this.isSoldLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.isSoldLabel.Location = new System.Drawing.Point(32, 239);
     this.isSoldLabel.Name = "isSoldLabel";
     this.isSoldLabel.Size = new System.Drawing.Size(45, 12);
     this.isSoldLabel.TabIndex = 46;
     this.isSoldLabel.Text = "isSold";
     //
     // isSoldTextBox
     //
     this.isSoldTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.inventoryitemBindingSource, "isSold", true));
     this.isSoldTextBox.Location = new System.Drawing.Point(128, 235);
     this.isSoldTextBox.Name = "isSoldTextBox";
     this.isSoldTextBox.Size = new System.Drawing.Size(272, 20);
     this.isSoldTextBox.TabIndex = 47;
     //
     // soldDateLabel
     //
     this.soldDateLabel.AutoSize = true;
     this.soldDateLabel.Font = new System.Drawing.Font("Copperplate Gothic Light", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.soldDateLabel.Location = new System.Drawing.Point(32, 278);
     this.soldDateLabel.Name = "soldDateLabel";
     this.soldDateLabel.Size = new System.Drawing.Size(63, 12);
     this.soldDateLabel.TabIndex = 48;
     this.soldDateLabel.Text = "soldDate";
     //
     // soldDate_dateTimePicker
     //
     this.soldDate_dateTimePicker.CustomFormat = "dd/MM/yyyy";
     this.soldDate_dateTimePicker.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.inventoryitemBindingSource, "soldDate", true));
     this.soldDate_dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.soldDate_dateTimePicker.Location = new System.Drawing.Point(128, 271);
     this.soldDate_dateTimePicker.Name = "soldDate_dateTimePicker";
     this.soldDate_dateTimePicker.Size = new System.Drawing.Size(272, 20);
     this.soldDate_dateTimePicker.TabIndex = 49;
     this.soldDate_dateTimePicker.Value = new System.DateTime(2014, 5, 26, 17, 35, 11, 0);
     //
     // tabPage2
     //
     this.tabPage2.AutoScroll = true;
     this.tabPage2.Controls.Add(this.inventoryitemDataGridView);
     this.tabPage2.Location = new System.Drawing.Point(4, 22);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage2.Size = new System.Drawing.Size(598, 364);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Data Grid View";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // inventoryitemDataGridView
     //
     this.inventoryitemDataGridView.AutoGenerateColumns = false;
     this.inventoryitemDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.inventoryitemDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.dataGridViewTextBoxColumn1,
     this.dataGridViewTextBoxColumn2,
     this.dataGridViewTextBoxColumn3,
     this.dataGridViewTextBoxColumn4,
     this.dataGridViewTextBoxColumn5,
     this.dataGridViewTextBoxColumn6,
     this.dataGridViewTextBoxColumn7,
     this.dataGridViewTextBoxColumn8});
     this.inventoryitemDataGridView.DataSource = this.inventoryitemBindingSource;
     this.inventoryitemDataGridView.Location = new System.Drawing.Point(-4, 0);
     this.inventoryitemDataGridView.Name = "inventoryitemDataGridView";
     this.inventoryitemDataGridView.Size = new System.Drawing.Size(586, 368);
     this.inventoryitemDataGridView.TabIndex = 0;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.DataPropertyName = "productID";
     this.dataGridViewTextBoxColumn1.HeaderText = "productID";
     this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
     //
     // dataGridViewTextBoxColumn2
     //
     this.dataGridViewTextBoxColumn2.DataPropertyName = "categoryID";
     this.dataGridViewTextBoxColumn2.HeaderText = "categoryID";
     this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
     //
     // dataGridViewTextBoxColumn3
     //
     this.dataGridViewTextBoxColumn3.DataPropertyName = "locationID";
     this.dataGridViewTextBoxColumn3.HeaderText = "locationID";
     this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.DataPropertyName = "cost";
     this.dataGridViewTextBoxColumn4.HeaderText = "cost";
     this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.DataPropertyName = "price";
     this.dataGridViewTextBoxColumn5.HeaderText = "price";
     this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
     //
     // dataGridViewTextBoxColumn6
     //
     this.dataGridViewTextBoxColumn6.DataPropertyName = "dateStamp";
     this.dataGridViewTextBoxColumn6.HeaderText = "dateStamp";
     this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
     //
     // dataGridViewTextBoxColumn7
     //
     this.dataGridViewTextBoxColumn7.DataPropertyName = "isSold";
     this.dataGridViewTextBoxColumn7.HeaderText = "isSold";
     this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
     //
     // dataGridViewTextBoxColumn8
     //
     this.dataGridViewTextBoxColumn8.DataPropertyName = "soldDate";
     this.dataGridViewTextBoxColumn8.HeaderText = "soldDate";
     this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
     //
     // tabPage3
     //
     this.tabPage3.Location = new System.Drawing.Point(4, 22);
     this.tabPage3.Name = "tabPage3";
     this.tabPage3.Size = new System.Drawing.Size(598, 364);
     this.tabPage3.TabIndex = 2;
     this.tabPage3.Text = "Graphical View";
     this.tabPage3.UseVisualStyleBackColor = true;
     //
     // panel3
     //
     this.panel3.Controls.Add(this.Panel1);
     this.panel3.Controls.Add(this.panel4);
     this.panel3.Controls.Add(this.panel5);
     this.panel3.Controls.Add(this.panel6);
     this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel3.Location = new System.Drawing.Point(0, 25);
     this.panel3.Name = "panel3";
     this.panel3.Size = new System.Drawing.Size(606, 393);
     this.panel3.TabIndex = 19;
     //
     // panel4
     //
     this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name = "panel4";
     this.panel4.Size = new System.Drawing.Size(606, 393);
     this.panel4.TabIndex = 3;
     //
     // panel5
     //
     this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel5.Location = new System.Drawing.Point(0, 0);
     this.panel5.Name = "panel5";
     this.panel5.Size = new System.Drawing.Size(606, 393);
     this.panel5.TabIndex = 5;
     //
     // panel6
     //
     this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
     this.panel6.Location = new System.Drawing.Point(0, 0);
     this.panel6.Name = "panel6";
     this.panel6.Size = new System.Drawing.Size(606, 393);
     this.panel6.TabIndex = 6;
     //
     // frmInventoryItem
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoScroll = true;
     this.ClientSize = new System.Drawing.Size(606, 418);
     this.Controls.Add(this.panel3);
     this.Controls.Add(this.bindingNavigator1);
     this.Name = "frmInventoryItem";
     this.Text = "Inventoryitem";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frminventoryitem_FormClosing);
     this.Load += new System.EventHandler(this.frminventoryitem_Load);
     ((System.ComponentModel.ISupportInitialize)(this.bindingNavigator1)).EndInit();
     this.bindingNavigator1.ResumeLayout(false);
     this.bindingNavigator1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.inventoryitemBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.newDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider1)).EndInit();
     this.Panel1.ResumeLayout(false);
     this.tabControl1.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.inventoryitemDataGridView)).EndInit();
     this.panel3.ResumeLayout(false);
     this.panel3.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }