Avatar billede flvind Nybegynder
23. februar 2006 - 12:17 Der er 23 kommentarer og
1 løsning

Kan man oprette en klasse af knap billeder

Hej det lyder måske lidt kryptisk.
men jeg har en form hvor på der er 20 knapper udformet som labels. jeg ønsker så at billedet for alle labels ændres ved hjælp af en combobox.
knapperne kommer kun frem hvis jeg har en tekst i 20 tekstbokse

hvordan sørger jeg for at billedændringen foretages for alle labels på samme tid?

Jeg har prøvet med en variabel hvilket ikke vil lykkeds for mig
Avatar billede mikkel_sommer Nybegynder
23. februar 2006 - 14:59 #1
Hvis du laver en klasse med 20 attributter og dertilhørende properties kan du når der klikkes på en farve i comboboxen sætte den gældende property og så opdatere dine labels udseende vha. denne
Avatar billede mikkel_sommer Nybegynder
23. februar 2006 - 15:01 #2
det er faktisk en udemærket løsning for når du så skal over til designformen kan du lade denne tage en instans af "farve"klassen som parameter og så har du dem med ovre på designformen hvor jeg forstod på dig at de også skulle bruges
Avatar billede flvind Nybegynder
23. februar 2006 - 15:03 #3
har du et eksempel?
Avatar billede mikkel_sommer Nybegynder
23. februar 2006 - 15:03 #4
2 min ...
Avatar billede mikkel_sommer Nybegynder
23. februar 2006 - 15:14 #5
Her er et udkast til farve klassen, kan godt være du på et senere tidspunkt skal udvide den med nogle metoder:

using System;

namespace Test
{
    public class Farver
    {
        #region Private Variables
        private string farve1 = string.Empty;
        private string farve2 = string.Empty;
        private string farve3 = string.Empty;
        private string farve4 = string.Empty;
        private string farve5 = string.Empty;
        private string farve6 = string.Empty;
        private string farve7 = string.Empty;
        private string farve8 = string.Empty;
        private string farve9 = string.Empty;
        private string farve10 = string.Empty;
        private string farve11 = string.Empty;
        private string farve12 = string.Empty;
        private string farve13 = string.Empty;
        private string farve14 = string.Empty;
        private string farve15 = string.Empty;
        private string farve16 = string.Empty;
        private string farve17 = string.Empty;
        private string farve18 = string.Empty;
        private string farve19 = string.Empty;
        private string farve20 = string.Empty;
        #endregion

        #region Public Properties
        public string Farve1
        {
            get{return farve1;}
            set {farve1 = value;}
        }

        public string Farve2
        {
            get{return farve2;}
            set {farve2 = value;}
        }

        public string Farve3
        {
            get{return farve3;}
            set {farve3 = value;}
        }

        public string Farve4
        {
            get{return farve4;}
            set {farve4 = value;}
        }

        public string Farve5
        {
            get{return farve5;}
            set {farve5 = value;}
        }

        public string Farve6
        {
            get{return farve6;}
            set {farve6 = value;}
        }

        public string Farve7
        {
            get{return farve7;}
            set {farve7 = value;}
        }

        public string Farve8
        {
            get{return farve8;}
            set {farve8 = value;}
        }

        public string Farve9
        {
            get{return farve9;}
            set {farve9 = value;}
        }

        public string Farve10
        {
            get{return farve10;}
            set {farve10 = value;}
        }

        public string Farve11
        {
            get{return farve11;}
            set {farve11 = value;}
        }

        public string Farve12
        {
            get{return farve12;}
            set {farve12 = value;}
        }

        public string Farve13
        {
            get{return farve13;}
            set {farve13 = value;}
        }

        public string Farve14
        {
            get{return farve14;}
            set {farve14 = value;}
        }

        public string Farve15
        {
            get{return farve15;}
            set {farve15 = value;}
        }

        public string Farve16
        {
            get{return farve16;}
            set {farve16 = value;}
        }

        public string Farve17
        {
            get{return farve17;}
            set {farve17 = value;}
        }

        public string Farve18
        {
            get{return farve18;}
            set {farve18 = value;}
        }

        public string Farve19
        {
            get{return farve19;}
            set {farve19 = value;}
        }

        public string Farve20
        {
            get{return farve20;}
            set {farve20 = value;}
        }
        #endregion

        #region Constructors
        public Farver(){}

        public Farver(string f1, string f2, string f3, string f4, string f5, string f6, string f7, string f8,
            string f9, string f10, string f11, string f12, string f13, string f14, string f15, string f16,
                string f17, string f18, string f19, string f20)
        {
            farve1 = f1;
            farve2 = f2;
            farve3 = f3;
            farve4 = f4;
            farve5 = f5;
            farve6 = f6;
            farve7 = f7;
            farve8 = f8;
            farve9 = f9;
            farve10 = f10;
            farve11 = f11;
            farve12 = f12;
            farve13 = f13;
            farve14 = f14;
            farve15 = f15;
            farve16 = f16;
            farve17 = f17;
            farve18 = f18;
            farve19 = f19;
            farve20 = f20;
        }
        #endregion
    }
}
Avatar billede mikkel_sommer Nybegynder
23. februar 2006 - 15:23 #6
For overskuelighedens skyld kunne du evt. skifte farve1, farve2 osv. ud med de aktuelle farver eller billeder hvis det var det (fik vist rodet spørgsmålene rundt).

I starten af formen erklærerer du så:

Farver farver = new Farver(f1,f2,f3 osv....);

Når så en farve vælges i comboboxen kan du:

farver.f3 = comboBox1.SelectedText;

Så sender du Farver objektet med til design formen som vi har skrevet om og i konstruktøren kan du så:

button1.Image = farver.f3;
Avatar billede flvind Nybegynder
23. februar 2006 - 15:53 #7
jeg får denne fejl når jeg prøver at køre koden
Error    5    The name 'f1' does not exist in the current context    C:\Documents and Settings\Flemming\My Documents\Visual Studio 2005\Projects\design\fclsEdit.cs    121    36    design
Avatar billede mikkel_sommer Nybegynder
23. februar 2006 - 15:55 #8
Inden du laver den her:

Farver farver = new Farver(f1,f2,f3 osv....);

hvad har du så sat f1, f2 osv til?
Avatar billede mikkel_sommer Nybegynder
23. februar 2006 - 15:57 #9
Inden du skriver:

Farver farver = new Farver(f1,f2,f3 osv....);

Skal du jo sætte f-værdierne til en string.

Eks:

string f1 = "Billede1";
string f2 = "Billede2";

osv.
Avatar billede flvind Nybegynder
23. februar 2006 - 15:57 #10
hmm dem har jeg jo ikke sat?

kan jeg henvise til et billed istedet?
Avatar billede flvind Nybegynder
23. februar 2006 - 16:02 #11
mine billeder ligger i en imageliste

hvordan er det jeg sætter f1 til at henvise til et billed i imagelisten og så gemme det i klassen?
Avatar billede mikkel_sommer Nybegynder
26. februar 2006 - 14:52 #12
Så har du to muligheder, enten kan du lægge stierne til billederne ind i strengene:

string sti1 = "stien til billedet";

eller du kan omstrukturerer klassen til at indeholde billeder i stedet for strenge:

Image i1 = ImageList[0];
Image i2 = ImageList[1];
osv...
Avatar billede flvind Nybegynder
27. februar 2006 - 09:30 #13
hvordan er det jeg henviser til de ImageLister jeg benytter? jeg har en placeret på designformen og en på settingsformen
Avatar billede mikkel_sommer Nybegynder
27. februar 2006 - 14:12 #14
kan du ikke prøve at paste samtlige af dine klasser ind sådan her:

--------------Klasse 1 start----------------
asdfdfadfa
df
asdfasdfa
dfa
sdf
adf
-------------Klasse 1 slut-------------

-------------Klasse 2 start-------------
adfadfadfasdf
asdf
asdf
as
dfa
sdf
asd
fas
df
--------------Klasse 2 slut--------------

osv.
Avatar billede flvind Nybegynder
27. februar 2006 - 14:20 #15
jeg prøver

her er koden for min settingsform
--------Settingsform kode start-------------
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace design
{
    /// <summary>
    /// Summary description for fclsEdit.
    /// </summary>

    public class fclsEdit : System.Windows.Forms.Form
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        ///
        /**/
        private fclsDesign mf;
        private fclsData df;
        private System.Windows.Forms.TabControl tabControl1;
        private System.Windows.Forms.TabPage tabVenstre;
        private System.Windows.Forms.TabPage tabHøjre;
        private System.Windows.Forms.TabPage tabFlag;
        public System.Windows.Forms.TextBox tbKnap1VenEdit; //eks
        private System.Windows.Forms.TextBox tbKnap2VenEdit;
        private System.Windows.Forms.TextBox tbKnap6VenEdit;
        private System.Windows.Forms.TextBox tbKnap4VenEdit;
        private System.Windows.Forms.TextBox tbKnap5VenEdit;
        private System.Windows.Forms.TextBox tbKnap3VenEdit;
        public System.Windows.Forms.GroupBox gbEdit;
        private System.Windows.Forms.TextBox tbKnap3HjEdit;
        private System.Windows.Forms.TextBox tbKnap6HjEdit;
        private System.Windows.Forms.TextBox tbKnap2HjEdit;
        private System.Windows.Forms.TextBox tbKnap1HjEdit;
        private System.Windows.Forms.TextBox tbKnap5HjEdit;
        private System.Windows.Forms.TextBox tbKnap4HjEdit;
        private System.Windows.Forms.Label lblKnap3VenEdit;
        private System.Windows.Forms.Label lblKnap7VenEdit;
        private System.Windows.Forms.Label lblKnap4VenEdit;
        private System.Windows.Forms.Label lblKnap5VenEdit;
        private System.Windows.Forms.Label lblKnap1VenEdit;
        private System.Windows.Forms.Label lblKnap2VenEdit;
        private System.Windows.Forms.Button btnHideEdit;
        private System.Windows.Forms.ImageList imListEditButton;
        private System.Windows.Forms.Panel panelVen;
        private System.Windows.Forms.Panel panelHj;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.ImageList imListEditFlag;
        private System.Windows.Forms.CheckBox cbFlag1Edit;
        private System.Windows.Forms.TextBox tbHilsenEdit;
        private System.Windows.Forms.Label lblHilsenEdit;
        private System.Windows.Forms.TextBox tbBynavnEdit;
        private System.Windows.Forms.Label lblBynavnEdit;
        private System.Windows.Forms.Label lblHilsenEditTB;
        private System.Windows.Forms.CheckBox cbFlag2Edit;
        private System.Windows.Forms.CheckBox cbFlag3Edit;
        public System.Windows.Forms.Label lblFlag1Edit;
        public System.Windows.Forms.Label lblFlag2Edit;
        public System.Windows.Forms.Label lblFlag3Edit;
        public System.Windows.Forms.TextBox tbKnap7VenEditKode;
        public System.Windows.Forms.ComboBox comboBagFarve;
        private Label lblbKnapVenDesc;
        private TextBox tbKnap10VenEdit;
        private TextBox tbKnap9VenEdit;
        private TextBox tbKnap8VenEdit;
        private TextBox tbKnap7VenEdit;
        private Label lblbKnapHjDesc;
        private TextBox tbKnap10HjEdit;
        private TextBox tbKnap9HjEdit;
        private TextBox tbKnap8HjEdit;
        private TextBox tbKnap7HjEdit;
        private Label lblKnap10VenEdit;
        private Label lblKnap9VenEdit;
        private Label lblKnap8VenEdit;
        private Label lblKnap6VenEdit;
        private Label lblKnap5HjEdit;
        private Label lblKnap1HjEdit;
        private Label lblKnap4HjEdit;
        private Label lblKnap10HjEdit;
        private Label lblKnap3HjEdit;
        private Label lblKnap9HjEdit;
        private Label lblKnap2HjEdit;
        private Label lblKnap8HjEdit;
        private Label lblKnap7HjEdit;
        private Label lblKnap6HjEdit;
        private Label lblTextKnap10Ven;
        private Label lblTextKnap9Ven;
        private Label lblTextKnap8Ven;
        private Label lblTextKnap7Ven;
        private Label lblTextKnap6Ven;
        private Label lblTextKnap5Ven;
        private Label lblTextKnap4Ven;
        private Label lblTextKnap3Ven;
        private Label lblTextKnap2Ven;
        private Label lblTextKnap1Ven;
        private Label label11;
        private Label label9;
        private Label label8;
        private Label label7;
        private Label label6;
        private Label lblTextKnap5Hj;
        private Label lblTextKnap1Hj;
        private Label lblTextKnap4Hj;
        private Label lblTextKnap3Hj;
        private Label lblTextKnap2Hj;
        private System.Windows.Forms.Label lblBynavnEditTB;
        private TabPage tabFarve;
        private ComboBox comboKnapFarve;
        private Label lblKnapFarve;
        private Label lblBackground;
        public Image KnapFarveOp;
        public Image KnapFarveNed;
        public Color BagFarve;
        public ImageList imListLogo;
        public Label lblValgtFarve;
        public string ValgtFarve;
        public Image LogoFarve;
        Farver farver = new Farver();



        public fclsEdit(fclsDesign mf)
        {
            //
            // Required for Windows Form Designer support
            //
            this.mf = mf;
            this.df = df;
            InitializeComponent();
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }

        private System.ComponentModel.IContainer components;




        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose(disposing);
        }
       
        private void fclsEdit_Load(object sender, System.EventArgs e)
        {
            //check knaplabels venstre
            if (mf.lblKnap1Ven.Visible == true)
            {
                lblKnap1VenEdit.Visible = true;
                lblKnap1VenEdit.Text = mf.lblKnap1Ven.Text;
                tbKnap1VenEdit.Text = mf.lblKnap1Ven.Text;
            }
            if (mf.lblKnap2Ven.Visible == true)
            {
                lblKnap2VenEdit.Visible = true;
                lblKnap2VenEdit.Text = mf.lblKnap2Ven.Text;
                tbKnap2VenEdit.Text = mf.lblKnap2Ven.Text;
            }
            if (mf.lblKnap3Ven.Visible == true)
            {
                lblKnap3VenEdit.Visible = true;
                lblKnap3VenEdit.Text = mf.lblKnap3Ven.Text;
                tbKnap3VenEdit.Text = mf.lblKnap3Ven.Text;
            }
            if (mf.lblKnap4Ven.Visible == true)
            {
                lblKnap4VenEdit.Visible = true;
                lblKnap4VenEdit.Text = mf.lblKnap4Ven.Text;
                tbKnap4VenEdit.Text = mf.lblKnap4Ven.Text;
            }
            if (mf.lblKnap5Ven.Visible == true)
            {
                lblKnap5VenEdit.Visible = true;
                lblKnap5VenEdit.Text = mf.lblKnap5Ven.Text;
                tbKnap5VenEdit.Text = mf.lblKnap5Ven.Text;
            }
            if (mf.lblKnap6Ven.Visible == true)
            {
                lblKnap6VenEdit.Visible = true;
                lblKnap6VenEdit.Text = mf.lblKnap6Ven.Text;
                tbKnap6VenEdit.Text = mf.lblKnap6Ven.Text;
            }
            if (mf.lblKnap6Ven.Visible == true)
            {
                lblKnap7VenEdit.Visible = true;
                lblKnap7VenEdit.Text = mf.lblKnap7Ven.Text;
                tbKnap7VenEdit.Text = mf.lblKnap7Ven.Text;
            }
            if (mf.lblKnap8Ven.Visible == true)
            {
                lblKnap8VenEdit.Visible = true;
                lblKnap8VenEdit.Text = mf.lblKnap8Ven.Text;
                tbKnap8VenEdit.Text = mf.lblKnap8Ven.Text;
            }
            if (mf.lblKnap9Ven.Visible == true)
            {
                lblKnap9VenEdit.Visible = true;
                lblKnap9VenEdit.Text = mf.lblKnap9Ven.Text;
                tbKnap9VenEdit.Text = mf.lblKnap9Ven.Text;
            }
            if (mf.lblKnap10Ven.Visible == true)
            {
                lblKnap10VenEdit.Visible = true;
                lblKnap10VenEdit.Text = mf.lblKnap10Ven.Text;
                tbKnap10VenEdit.Text = mf.lblKnap10Ven.Text;
            }
            //check knaplabels Højre
            if (mf.lblKnap1Hj.Visible == true)
            {
                lblKnap1HjEdit.Visible = true;
                lblKnap1HjEdit.Text = mf.lblKnap1Hj.Text;
                tbKnap1HjEdit.Text = mf.lblKnap1Hj.Text;
            }
            if (mf.lblKnap2Hj.Visible == true)
            {
                lblKnap2HjEdit.Visible = true;
                lblKnap2HjEdit.Text = mf.lblKnap2Hj.Text;
                tbKnap2HjEdit.Text = mf.lblKnap2Hj.Text;
            }
            if (mf.lblKnap3Hj.Visible == true)
            {
                lblKnap3HjEdit.Visible = true;
                lblKnap3HjEdit.Text = mf.lblKnap3Hj.Text;
                tbKnap3HjEdit.Text = mf.lblKnap3Hj.Text;
            }
            if (mf.lblKnap4Hj.Visible == true)
            {
                lblKnap4HjEdit.Visible = true;
                lblKnap4HjEdit.Text = mf.lblKnap4Hj.Text;
                tbKnap4HjEdit.Text = mf.lblKnap4Hj.Text;
            }
            if (mf.lblKnap5Hj.Visible == true)
            {
                lblKnap5HjEdit.Visible = true;
                lblKnap5HjEdit.Text = mf.lblKnap5Hj.Text;
                tbKnap5HjEdit.Text = mf.lblKnap5Hj.Text;
            }
            if (mf.lblKnap6Hj.Visible == true)
            {
                lblKnap6HjEdit.Visible = true;
                lblKnap6HjEdit.Text = mf.lblKnap6Hj.Text;
                tbKnap6HjEdit.Text = mf.lblKnap6Hj.Text;
            }
            if (mf.lblKnap7Hj.Visible == true)
            {
                lblKnap7HjEdit.Visible = true;
                lblKnap7HjEdit.Text = mf.lblKnap7Hj.Text;
                tbKnap7HjEdit.Text = mf.lblKnap7Hj.Text;
            }
            if (mf.lblKnap6Hj.Visible == true)
            {
                lblKnap8HjEdit.Visible = true;
                lblKnap8HjEdit.Text = mf.lblKnap8Hj.Text;
                tbKnap8HjEdit.Text = mf.lblKnap8Hj.Text;
            }
            if (mf.lblKnap9Hj.Visible == true)
            {
                lblKnap9HjEdit.Visible = true;
                lblKnap9HjEdit.Text = mf.lblKnap9Hj.Text;
                tbKnap9HjEdit.Text = mf.lblKnap9Hj.Text;
            }
            if (mf.lblKnap10Hj.Visible == true)
            {
                lblKnap10HjEdit.Visible = true;
                lblKnap10HjEdit.Text = mf.lblKnap10Hj.Text;
                tbKnap10HjEdit.Text = mf.lblKnap10Hj.Text;
            }
            //check hilsen og by
            if (mf.lblHilsen.Visible == true)
            {
                lblHilsenEdit.Visible = true;
                lblHilsenEdit.Text = mf.lblHilsen.Text;
                tbHilsenEdit.Text = mf.lblHilsen.Text;
            }
            if (mf.lblBynavn.Visible == true)
            {
                lblBynavnEdit.Visible = true;
                lblBynavnEdit.Text = mf.lblBynavn.Text;
                tbBynavnEdit.Text = mf.lblBynavn.Text;
            }
            if (mf.lblFlag1.Visible == true)
            {
                lblFlag1Edit.Visible = true;
                cbFlag1Edit.Checked = true;
            }
            if (mf.lblFlag2.Visible == true)
            {
                lblFlag2Edit.Visible = true;
                cbFlag2Edit.Checked = true;
            }
            if (mf.lblFlag3.Visible == true)
            {
                lblFlag3Edit.Visible = true;
                cbFlag3Edit.Checked = true;
            }
            if (mf.BackColor == Color.BlanchedAlmond)
            {
                gbEdit.BackColor = Color.BlanchedAlmond;
                comboBagFarve.Text = "BlanchedAlmond";
            }



        }

        #region Windows Form Designer generated code
        /// <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(fclsEdit));
            this.tbKnap6VenEdit = new System.Windows.Forms.TextBox();
            this.tbKnap4VenEdit = new System.Windows.Forms.TextBox();
            this.tbKnap5VenEdit = new System.Windows.Forms.TextBox();
            this.tbKnap1VenEdit = new System.Windows.Forms.TextBox();
            this.tbKnap2VenEdit = new System.Windows.Forms.TextBox();
            this.tbKnap3VenEdit = new System.Windows.Forms.TextBox();
            this.btnHideEdit = new System.Windows.Forms.Button();
            this.tabControl1 = new System.Windows.Forms.TabControl();
            this.tabVenstre = new System.Windows.Forms.TabPage();
            this.lblTextKnap10Ven = new System.Windows.Forms.Label();
            this.lblTextKnap9Ven = new System.Windows.Forms.Label();
            this.lblTextKnap8Ven = new System.Windows.Forms.Label();
            this.lblTextKnap7Ven = new System.Windows.Forms.Label();
            this.lblTextKnap6Ven = new System.Windows.Forms.Label();
            this.lblTextKnap5Ven = new System.Windows.Forms.Label();
            this.lblTextKnap4Ven = new System.Windows.Forms.Label();
            this.lblTextKnap3Ven = new System.Windows.Forms.Label();
            this.lblTextKnap2Ven = new System.Windows.Forms.Label();
            this.lblTextKnap1Ven = new System.Windows.Forms.Label();
            this.lblbKnapVenDesc = new System.Windows.Forms.Label();
            this.tbKnap10VenEdit = new System.Windows.Forms.TextBox();
            this.tbKnap9VenEdit = new System.Windows.Forms.TextBox();
            this.tbKnap8VenEdit = new System.Windows.Forms.TextBox();
            this.tbKnap7VenEdit = new System.Windows.Forms.TextBox();
            this.tabHøjre = new System.Windows.Forms.TabPage();
            this.label11 = new System.Windows.Forms.Label();
            this.lblbKnapHjDesc = new System.Windows.Forms.Label();
            this.tbKnap10HjEdit = new System.Windows.Forms.TextBox();
            this.label9 = new System.Windows.Forms.Label();
            this.tbKnap9HjEdit = new System.Windows.Forms.TextBox();
            this.tbKnap8HjEdit = new System.Windows.Forms.TextBox();
            this.label8 = new System.Windows.Forms.Label();
            this.tbKnap7HjEdit = new System.Windows.Forms.TextBox();
            this.tbKnap6HjEdit = new System.Windows.Forms.TextBox();
            this.label7 = new System.Windows.Forms.Label();
            this.tbKnap2HjEdit = new System.Windows.Forms.TextBox();
            this.tbKnap1HjEdit = new System.Windows.Forms.TextBox();
            this.label6 = new System.Windows.Forms.Label();
            this.tbKnap4HjEdit = new System.Windows.Forms.TextBox();
            this.tbKnap5HjEdit = new System.Windows.Forms.TextBox();
            this.lblTextKnap5Hj = new System.Windows.Forms.Label();
            this.tbKnap3HjEdit = new System.Windows.Forms.TextBox();
            this.lblTextKnap1Hj = new System.Windows.Forms.Label();
            this.lblTextKnap4Hj = new System.Windows.Forms.Label();
            this.lblTextKnap3Hj = new System.Windows.Forms.Label();
            this.lblTextKnap2Hj = new System.Windows.Forms.Label();
            this.tabFlag = new System.Windows.Forms.TabPage();
            this.cbFlag1Edit = new System.Windows.Forms.CheckBox();
            this.tbBynavnEdit = new System.Windows.Forms.TextBox();
            this.lblBynavnEditTB = new System.Windows.Forms.Label();
            this.cbFlag2Edit = new System.Windows.Forms.CheckBox();
            this.lblHilsenEditTB = new System.Windows.Forms.Label();
            this.tbHilsenEdit = new System.Windows.Forms.TextBox();
            this.cbFlag3Edit = new System.Windows.Forms.CheckBox();
            this.tabFarve = new System.Windows.Forms.TabPage();
            this.comboKnapFarve = new System.Windows.Forms.ComboBox();
            this.lblKnapFarve = new System.Windows.Forms.Label();
            this.lblBackground = new System.Windows.Forms.Label();
            this.comboBagFarve = new System.Windows.Forms.ComboBox();
            this.gbEdit = new System.Windows.Forms.GroupBox();
            this.lblHilsenEdit = new System.Windows.Forms.Label();
            this.lblBynavnEdit = new System.Windows.Forms.Label();
            this.imListLogo = new System.Windows.Forms.ImageList(this.components);
            this.panel1 = new System.Windows.Forms.Panel();
            this.lblFlag1Edit = new System.Windows.Forms.Label();
            this.imListEditFlag = new System.Windows.Forms.ImageList(this.components);
            this.lblFlag2Edit = new System.Windows.Forms.Label();
            this.lblFlag3Edit = new System.Windows.Forms.Label();
            this.panelHj = new System.Windows.Forms.Panel();
            this.lblKnap5HjEdit = new System.Windows.Forms.Label();
            this.imListEditButton = new System.Windows.Forms.ImageList(this.components);
            this.lblKnap1HjEdit = new System.Windows.Forms.Label();
            this.lblKnap4HjEdit = new System.Windows.Forms.Label();
            this.lblKnap10HjEdit = new System.Windows.Forms.Label();
            this.lblKnap3HjEdit = new System.Windows.Forms.Label();
            this.lblKnap9HjEdit = new System.Windows.Forms.Label();
            this.lblKnap2HjEdit = new System.Windows.Forms.Label();
            this.lblKnap8HjEdit = new System.Windows.Forms.Label();
            this.lblKnap7HjEdit = new System.Windows.Forms.Label();
            this.lblKnap6HjEdit = new System.Windows.Forms.Label();
            this.panelVen = new System.Windows.Forms.Panel();
            this.lblKnap5VenEdit = new System.Windows.Forms.Label();
            this.lblKnap10VenEdit = new System.Windows.Forms.Label();
            this.lblKnap9VenEdit = new System.Windows.Forms.Label();
            this.lblKnap8VenEdit = new System.Windows.Forms.Label();
            this.lblKnap6VenEdit = new System.Windows.Forms.Label();
            this.lblKnap7VenEdit = new System.Windows.Forms.Label();
            this.lblKnap1VenEdit = new System.Windows.Forms.Label();
            this.lblKnap2VenEdit = new System.Windows.Forms.Label();
            this.lblKnap3VenEdit = new System.Windows.Forms.Label();
            this.lblKnap4VenEdit = new System.Windows.Forms.Label();
            this.lblValgtFarve = new System.Windows.Forms.Label();
            this.tabControl1.SuspendLayout();
            this.tabVenstre.SuspendLayout();
            this.tabHøjre.SuspendLayout();
            this.tabFlag.SuspendLayout();
            this.tabFarve.SuspendLayout();
            this.gbEdit.SuspendLayout();
            this.panel1.SuspendLayout();
            this.panelHj.SuspendLayout();
            this.panelVen.SuspendLayout();
            this.SuspendLayout();
            //
            // tbKnap6VenEdit
            //
            this.tbKnap6VenEdit.Location = new System.Drawing.Point(60, 168);
            this.tbKnap6VenEdit.Name = "tbKnap6VenEdit";
            this.tbKnap6VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap6VenEdit.TabIndex = 7;
            this.tbKnap6VenEdit.TextChanged += new System.EventHandler(this.tbKnap6VenEdit_TextChanged);
            //
            // tbKnap4VenEdit
            //
            this.tbKnap4VenEdit.Location = new System.Drawing.Point(60, 112);
            this.tbKnap4VenEdit.Name = "tbKnap4VenEdit";
            this.tbKnap4VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap4VenEdit.TabIndex = 5;
            this.tbKnap4VenEdit.TextChanged += new System.EventHandler(this.tbKnap4VenEdit_TextChanged);
            //
            // tbKnap5VenEdit
            //
            this.tbKnap5VenEdit.Location = new System.Drawing.Point(60, 140);
            this.tbKnap5VenEdit.Name = "tbKnap5VenEdit";
            this.tbKnap5VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap5VenEdit.TabIndex = 6;
            this.tbKnap5VenEdit.TextChanged += new System.EventHandler(this.tbKnap5VenEdit_TextChanged);
            //
            // tbKnap1VenEdit
            //
            this.tbKnap1VenEdit.Location = new System.Drawing.Point(60, 28);
            this.tbKnap1VenEdit.Name = "tbKnap1VenEdit";
            this.tbKnap1VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap1VenEdit.TabIndex = 2;
            this.tbKnap1VenEdit.TextChanged += new System.EventHandler(this.tbKnap1VenEdit_TextChanged);
            //
            // tbKnap2VenEdit
            //
            this.tbKnap2VenEdit.Location = new System.Drawing.Point(60, 56);
            this.tbKnap2VenEdit.Name = "tbKnap2VenEdit";
            this.tbKnap2VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap2VenEdit.TabIndex = 3;
            this.tbKnap2VenEdit.TextChanged += new System.EventHandler(this.tbKnap2VenEdit_TextChanged);
            //
            // tbKnap3VenEdit
            //
            this.tbKnap3VenEdit.Location = new System.Drawing.Point(60, 84);
            this.tbKnap3VenEdit.Name = "tbKnap3VenEdit";
            this.tbKnap3VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap3VenEdit.TabIndex = 4;
            this.tbKnap3VenEdit.TextChanged += new System.EventHandler(this.tbKnap3VenEdit_TextChanged);
            //
            // btnHideEdit
            //
            this.btnHideEdit.Location = new System.Drawing.Point(16, 8);
            this.btnHideEdit.Name = "btnHideEdit";
            this.btnHideEdit.Size = new System.Drawing.Size(75, 23);
            this.btnHideEdit.TabIndex = 16;
            this.btnHideEdit.Text = "Hide";
            this.btnHideEdit.Click += new System.EventHandler(this.btnHide_Click);
            //
            // tabControl1
            //
            this.tabControl1.Controls.Add(this.tabVenstre);
            this.tabControl1.Controls.Add(this.tabHøjre);
            this.tabControl1.Controls.Add(this.tabFlag);
            this.tabControl1.Controls.Add(this.tabFarve);
            this.tabControl1.Location = new System.Drawing.Point(6, 48);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(160, 600);
            this.tabControl1.TabIndex = 1;
            this.tabControl1.Tag = "Farve";
            //
            // tabVenstre
            //
            this.tabVenstre.Controls.Add(this.lblTextKnap10Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap9Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap8Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap7Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap6Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap5Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap4Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap3Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap2Ven);
            this.tabVenstre.Controls.Add(this.lblTextKnap1Ven);
            this.tabVenstre.Controls.Add(this.lblbKnapVenDesc);
            this.tabVenstre.Controls.Add(this.tbKnap3VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap10VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap9VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap8VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap7VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap6VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap2VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap1VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap5VenEdit);
            this.tabVenstre.Controls.Add(this.tbKnap4VenEdit);
            this.tabVenstre.Location = new System.Drawing.Point(4, 22);
            this.tabVenstre.Name = "tabVenstre";
            this.tabVenstre.Size = new System.Drawing.Size(152, 574);
            this.tabVenstre.TabIndex = 0;
            this.tabVenstre.Text = "Venstre";
            this.tabVenstre.UseVisualStyleBackColor = true;
            //
            // lblTextKnap10Ven
            //
            this.lblTextKnap10Ven.AutoSize = true;
            this.lblTextKnap10Ven.Location = new System.Drawing.Point(10, 283);
            this.lblTextKnap10Ven.Name = "lblTextKnap10Ven";
            this.lblTextKnap10Ven.Size = new System.Drawing.Size(47, 13);
            this.lblTextKnap10Ven.TabIndex = 47;
            this.lblTextKnap10Ven.Text = "Knap 10";
            //
            // lblTextKnap9Ven
            //
            this.lblTextKnap9Ven.AutoSize = true;
            this.lblTextKnap9Ven.Location = new System.Drawing.Point(10, 255);
            this.lblTextKnap9Ven.Name = "lblTextKnap9Ven";
            this.lblTextKnap9Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap9Ven.TabIndex = 47;
            this.lblTextKnap9Ven.Text = "Knap 9";
            //
            // lblTextKnap8Ven
            //
            this.lblTextKnap8Ven.AutoSize = true;
            this.lblTextKnap8Ven.Location = new System.Drawing.Point(10, 227);
            this.lblTextKnap8Ven.Name = "lblTextKnap8Ven";
            this.lblTextKnap8Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap8Ven.TabIndex = 47;
            this.lblTextKnap8Ven.Text = "Knap 8";
            //
            // lblTextKnap7Ven
            //
            this.lblTextKnap7Ven.AutoSize = true;
            this.lblTextKnap7Ven.Location = new System.Drawing.Point(9, 199);
            this.lblTextKnap7Ven.Name = "lblTextKnap7Ven";
            this.lblTextKnap7Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap7Ven.TabIndex = 47;
            this.lblTextKnap7Ven.Text = "Knap 7";
            //
            // lblTextKnap6Ven
            //
            this.lblTextKnap6Ven.AutoSize = true;
            this.lblTextKnap6Ven.Location = new System.Drawing.Point(10, 171);
            this.lblTextKnap6Ven.Name = "lblTextKnap6Ven";
            this.lblTextKnap6Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap6Ven.TabIndex = 47;
            this.lblTextKnap6Ven.Text = "Knap 6";
            //
            // lblTextKnap5Ven
            //
            this.lblTextKnap5Ven.AutoSize = true;
            this.lblTextKnap5Ven.Location = new System.Drawing.Point(9, 143);
            this.lblTextKnap5Ven.Name = "lblTextKnap5Ven";
            this.lblTextKnap5Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap5Ven.TabIndex = 47;
            this.lblTextKnap5Ven.Text = "Knap 5";
            //
            // lblTextKnap4Ven
            //
            this.lblTextKnap4Ven.AutoSize = true;
            this.lblTextKnap4Ven.Location = new System.Drawing.Point(9, 115);
            this.lblTextKnap4Ven.Name = "lblTextKnap4Ven";
            this.lblTextKnap4Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap4Ven.TabIndex = 47;
            this.lblTextKnap4Ven.Text = "Knap 4";
            //
            // lblTextKnap3Ven
            //
            this.lblTextKnap3Ven.AutoSize = true;
            this.lblTextKnap3Ven.Location = new System.Drawing.Point(9, 87);
            this.lblTextKnap3Ven.Name = "lblTextKnap3Ven";
            this.lblTextKnap3Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap3Ven.TabIndex = 47;
            this.lblTextKnap3Ven.Text = "Knap 3";
            //
            // lblTextKnap2Ven
            //
            this.lblTextKnap2Ven.AutoSize = true;
            this.lblTextKnap2Ven.Location = new System.Drawing.Point(9, 59);
            this.lblTextKnap2Ven.Name = "lblTextKnap2Ven";
            this.lblTextKnap2Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap2Ven.TabIndex = 47;
            this.lblTextKnap2Ven.Text = "Knap 2";
            //
            // lblTextKnap1Ven
            //
            this.lblTextKnap1Ven.AutoSize = true;
            this.lblTextKnap1Ven.Location = new System.Drawing.Point(9, 31);
            this.lblTextKnap1Ven.Name = "lblTextKnap1Ven";
            this.lblTextKnap1Ven.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap1Ven.TabIndex = 47;
            this.lblTextKnap1Ven.Text = "Knap 1";
            //
            // lblbKnapVenDesc
            //
            this.lblbKnapVenDesc.AutoSize = true;
            this.lblbKnapVenDesc.Location = new System.Drawing.Point(10, 12);
            this.lblbKnapVenDesc.Name = "lblbKnapVenDesc";
            this.lblbKnapVenDesc.Size = new System.Drawing.Size(123, 13);
            this.lblbKnapVenDesc.TabIndex = 46;
            this.lblbKnapVenDesc.Text = "Indtast navn på knapper";
            //
            // tbKnap10VenEdit
            //
            this.tbKnap10VenEdit.Location = new System.Drawing.Point(60, 280);
            this.tbKnap10VenEdit.Name = "tbKnap10VenEdit";
            this.tbKnap10VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap10VenEdit.TabIndex = 11;
            this.tbKnap10VenEdit.TextChanged += new System.EventHandler(this.tbKnap10VenEdit_TextChanged);
            //
            // tbKnap9VenEdit
            //
            this.tbKnap9VenEdit.Location = new System.Drawing.Point(60, 252);
            this.tbKnap9VenEdit.Name = "tbKnap9VenEdit";
            this.tbKnap9VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap9VenEdit.TabIndex = 10;
            this.tbKnap9VenEdit.TextChanged += new System.EventHandler(this.tbKnap9VenEdit_TextChanged);
            //
            // tbKnap8VenEdit
            //
            this.tbKnap8VenEdit.Location = new System.Drawing.Point(60, 224);
            this.tbKnap8VenEdit.Name = "tbKnap8VenEdit";
            this.tbKnap8VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap8VenEdit.TabIndex = 9;
            this.tbKnap8VenEdit.TextChanged += new System.EventHandler(this.tbKnap8VenEdit_TextChanged);
            //
            // tbKnap7VenEdit
            //
            this.tbKnap7VenEdit.Location = new System.Drawing.Point(60, 196);
            this.tbKnap7VenEdit.Name = "tbKnap7VenEdit";
            this.tbKnap7VenEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap7VenEdit.TabIndex = 8;
            this.tbKnap7VenEdit.TextChanged += new System.EventHandler(this.tbKnap7VenEdit_TextChanged);
            //
            // tabHøjre
            //
            this.tabHøjre.Controls.Add(this.label11);
            this.tabHøjre.Controls.Add(this.lblbKnapHjDesc);
            this.tabHøjre.Controls.Add(this.tbKnap10HjEdit);
            this.tabHøjre.Controls.Add(this.label9);
            this.tabHøjre.Controls.Add(this.tbKnap9HjEdit);
            this.tabHøjre.Controls.Add(this.tbKnap8HjEdit);
            this.tabHøjre.Controls.Add(this.label8);
            this.tabHøjre.Controls.Add(this.tbKnap7HjEdit);
            this.tabHøjre.Controls.Add(this.tbKnap6HjEdit);
            this.tabHøjre.Controls.Add(this.label7);
            this.tabHøjre.Controls.Add(this.tbKnap2HjEdit);
            this.tabHøjre.Controls.Add(this.tbKnap1HjEdit);
            this.tabHøjre.Controls.Add(this.label6);
            this.tabHøjre.Controls.Add(this.tbKnap4HjEdit);
            this.tabHøjre.Controls.Add(this.tbKnap5HjEdit);
            this.tabHøjre.Controls.Add(this.lblTextKnap5Hj);
            this.tabHøjre.Controls.Add(this.tbKnap3HjEdit);
            this.tabHøjre.Controls.Add(this.lblTextKnap1Hj);
            this.tabHøjre.Controls.Add(this.lblTextKnap4Hj);
            this.tabHøjre.Controls.Add(this.lblTextKnap3Hj);
            this.tabHøjre.Controls.Add(this.lblTextKnap2Hj);
            this.tabHøjre.Location = new System.Drawing.Point(4, 22);
            this.tabHøjre.Name = "tabHøjre";
            this.tabHøjre.Size = new System.Drawing.Size(152, 574);
            this.tabHøjre.TabIndex = 1;
            this.tabHøjre.Text = "Højre";
            this.tabHøjre.UseVisualStyleBackColor = true;
            //
            // label11
            //
            this.label11.AutoSize = true;
            this.label11.Location = new System.Drawing.Point(11, 283);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(47, 13);
            this.label11.TabIndex = 47;
            this.label11.Text = "Knap 10";
            //
            // lblbKnapHjDesc
            //
            this.lblbKnapHjDesc.AutoSize = true;
            this.lblbKnapHjDesc.Location = new System.Drawing.Point(10, 12);
            this.lblbKnapHjDesc.Name = "lblbKnapHjDesc";
            this.lblbKnapHjDesc.Size = new System.Drawing.Size(123, 13);
            this.lblbKnapHjDesc.TabIndex = 16;
            this.lblbKnapHjDesc.Text = "Indtast navn på knapper";
            //
            // tbKnap10HjEdit
            //
            this.tbKnap10HjEdit.Location = new System.Drawing.Point(61, 280);
            this.tbKnap10HjEdit.Name = "tbKnap10HjEdit";
            this.tbKnap10HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap10HjEdit.TabIndex = 21;
            this.tbKnap10HjEdit.TextChanged += new System.EventHandler(this.tbKnap10HjEdit_TextChanged);
            //
            // label9
            //
            this.label9.AutoSize = true;
            this.label9.Location = new System.Drawing.Point(11, 255);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(41, 13);
            this.label9.TabIndex = 47;
            this.label9.Text = "Knap 9";
            //
            // tbKnap9HjEdit
            //
            this.tbKnap9HjEdit.Location = new System.Drawing.Point(61, 252);
            this.tbKnap9HjEdit.Name = "tbKnap9HjEdit";
            this.tbKnap9HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap9HjEdit.TabIndex = 20;
            this.tbKnap9HjEdit.TextChanged += new System.EventHandler(this.tbKnap9HjEdit_TextChanged);
            //
            // tbKnap8HjEdit
            //
            this.tbKnap8HjEdit.Location = new System.Drawing.Point(61, 224);
            this.tbKnap8HjEdit.Name = "tbKnap8HjEdit";
            this.tbKnap8HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap8HjEdit.TabIndex = 19;
            this.tbKnap8HjEdit.TextChanged += new System.EventHandler(this.tbKnap8HjEdit_TextChanged);
            //
            // label8
            //
            this.label8.AutoSize = true;
            this.label8.Location = new System.Drawing.Point(11, 227);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(41, 13);
            this.label8.TabIndex = 47;
            this.label8.Text = "Knap 8";
            //
            // tbKnap7HjEdit
            //
            this.tbKnap7HjEdit.Location = new System.Drawing.Point(61, 196);
            this.tbKnap7HjEdit.Name = "tbKnap7HjEdit";
            this.tbKnap7HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap7HjEdit.TabIndex = 18;
            this.tbKnap7HjEdit.TextChanged += new System.EventHandler(this.tbKnap7HjEdit_TextChanged);
            //
            // tbKnap6HjEdit
            //
            this.tbKnap6HjEdit.Location = new System.Drawing.Point(61, 168);
            this.tbKnap6HjEdit.Name = "tbKnap6HjEdit";
            this.tbKnap6HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap6HjEdit.TabIndex = 17;
            this.tbKnap6HjEdit.TextChanged += new System.EventHandler(this.tbKnap6HjEdit_TextChanged);
            //
            // label7
            //
            this.label7.AutoSize = true;
            this.label7.Location = new System.Drawing.Point(10, 199);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(41, 13);
            this.label7.TabIndex = 47;
            this.label7.Text = "Knap 7";
            //
            // tbKnap2HjEdit
            //
            this.tbKnap2HjEdit.Location = new System.Drawing.Point(61, 56);
            this.tbKnap2HjEdit.Name = "tbKnap2HjEdit";
            this.tbKnap2HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap2HjEdit.TabIndex = 13;
            this.tbKnap2HjEdit.TextChanged += new System.EventHandler(this.tbKnap2HjEdit_TextChanged);
            //
            // tbKnap1HjEdit
            //
            this.tbKnap1HjEdit.Location = new System.Drawing.Point(61, 28);
            this.tbKnap1HjEdit.Name = "tbKnap1HjEdit";
            this.tbKnap1HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap1HjEdit.TabIndex = 12;
            this.tbKnap1HjEdit.TextChanged += new System.EventHandler(this.tbKnap1HjEdit_TextChanged);
            //
            // label6
            //
            this.label6.AutoSize = true;
            this.label6.Location = new System.Drawing.Point(11, 171);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(41, 13);
            this.label6.TabIndex = 47;
            this.label6.Text = "Knap 6";
            //
            // tbKnap4HjEdit
            //
            this.tbKnap4HjEdit.Location = new System.Drawing.Point(61, 112);
            this.tbKnap4HjEdit.Name = "tbKnap4HjEdit";
            this.tbKnap4HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap4HjEdit.TabIndex = 15;
            this.tbKnap4HjEdit.TextChanged += new System.EventHandler(this.tbKnap4HjEdit_TextChanged);
            //
            // tbKnap5HjEdit
            //
            this.tbKnap5HjEdit.Location = new System.Drawing.Point(61, 140);
            this.tbKnap5HjEdit.Name = "tbKnap5HjEdit";
            this.tbKnap5HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap5HjEdit.TabIndex = 16;
            this.tbKnap5HjEdit.TextChanged += new System.EventHandler(this.tbKnap5HjEdit_TextChanged);
            //
            // lblTextKnap5Hj
            //
            this.lblTextKnap5Hj.AutoSize = true;
            this.lblTextKnap5Hj.Location = new System.Drawing.Point(10, 143);
            this.lblTextKnap5Hj.Name = "lblTextKnap5Hj";
            this.lblTextKnap5Hj.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap5Hj.TabIndex = 47;
            this.lblTextKnap5Hj.Text = "Knap 5";
            //
            // tbKnap3HjEdit
            //
            this.tbKnap3HjEdit.Location = new System.Drawing.Point(61, 84);
            this.tbKnap3HjEdit.Name = "tbKnap3HjEdit";
            this.tbKnap3HjEdit.Size = new System.Drawing.Size(72, 20);
            this.tbKnap3HjEdit.TabIndex = 14;
            this.tbKnap3HjEdit.TextChanged += new System.EventHandler(this.tbKnap3HjEdit_TextChanged);
            //
            // lblTextKnap1Hj
            //
            this.lblTextKnap1Hj.AutoSize = true;
            this.lblTextKnap1Hj.Location = new System.Drawing.Point(10, 31);
            this.lblTextKnap1Hj.Name = "lblTextKnap1Hj";
            this.lblTextKnap1Hj.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap1Hj.TabIndex = 47;
            this.lblTextKnap1Hj.Text = "Knap 1";
            //
            // lblTextKnap4Hj
            //
            this.lblTextKnap4Hj.AutoSize = true;
            this.lblTextKnap4Hj.Location = new System.Drawing.Point(10, 115);
            this.lblTextKnap4Hj.Name = "lblTextKnap4Hj";
            this.lblTextKnap4Hj.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap4Hj.TabIndex = 47;
            this.lblTextKnap4Hj.Text = "Knap 4";
            //
            // lblTextKnap3Hj
            //
            this.lblTextKnap3Hj.AutoSize = true;
            this.lblTextKnap3Hj.Location = new System.Drawing.Point(10, 87);
            this.lblTextKnap3Hj.Name = "lblTextKnap3Hj";
            this.lblTextKnap3Hj.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap3Hj.TabIndex = 47;
            this.lblTextKnap3Hj.Text = "Knap 3";
            //
            // lblTextKnap2Hj
            //
            this.lblTextKnap2Hj.AutoSize = true;
            this.lblTextKnap2Hj.Location = new System.Drawing.Point(10, 59);
            this.lblTextKnap2Hj.Name = "lblTextKnap2Hj";
            this.lblTextKnap2Hj.Size = new System.Drawing.Size(41, 13);
            this.lblTextKnap2Hj.TabIndex = 47;
            this.lblTextKnap2Hj.Text = "Knap 2";
            //
            // tabFlag
            //
            this.tabFlag.Controls.Add(this.cbFlag1Edit);
            this.tabFlag.Controls.Add(this.tbBynavnEdit);
            this.tabFlag.Controls.Add(this.lblBynavnEditTB);
            this.tabFlag.Controls.Add(this.cbFlag2Edit);
            this.tabFlag.Controls.Add(this.lblHilsenEditTB);
            this.tabFlag.Controls.Add(this.tbHilsenEdit);
            this.tabFlag.Controls.Add(this.cbFlag3Edit);
            this.tabFlag.Location = new System.Drawing.Point(4, 22);
            this.tabFlag.Name = "tabFlag";
            this.tabFlag.Size = new System.Drawing.Size(152, 574);
            this.tabFlag.TabIndex = 2;
            this.tabFlag.Text = "Flag";
            this.tabFlag.UseVisualStyleBackColor = true;
            //
            // cbFlag1Edit
            //
            this.cbFlag1Edit.Location = new System.Drawing.Point(6, 284);
            this.cbFlag1Edit.Name = "cbFlag1Edit";
            this.cbFlag1Edit.Size = new System.Drawing.Size(104, 24);
            this.cbFlag1Edit.TabIndex = 1;
            this.cbFlag1Edit.Text = "Dansk";
            this.cbFlag1Edit.CheckedChanged += new System.EventHandler(this.cbFlag1Edit_CheckedChanged);
            //
            // tbBynavnEdit
            //
            this.tbBynavnEdit.Location = new System.Drawing.Point(10, 101);
            this.tbBynavnEdit.Name = "tbBynavnEdit";
            this.tbBynavnEdit.Size = new System.Drawing.Size(132, 20);
            this.tbBynavnEdit.TabIndex = 21;
            this.tbBynavnEdit.TextChanged += new System.EventHandler(this.tbBynavnEdit_TextChanged);
            //
            // lblBynavnEditTB
            //
            this.lblBynavnEditTB.Location = new System.Drawing.Point(10, 75);
            this.lblBynavnEditTB.Name = "lblBynavnEditTB";
            this.lblBynavnEditTB.Size = new System.Drawing.Size(132, 23);
            this.lblBynavnEditTB.TabIndex = 23;
            this.lblBynavnEditTB.Text = "Skriv By";
            this.lblBynavnEditTB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // cbFlag2Edit
            //
            this.cbFlag2Edit.Location = new System.Drawing.Point(6, 308);
            this.cbFlag2Edit.Name = "cbFlag2Edit";
            this.cbFlag2Edit.Size = new System.Drawing.Size(104, 24);
            this.cbFlag2Edit.TabIndex = 1;
            this.cbFlag2Edit.Text = "Engelsk";
            this.cbFlag2Edit.CheckedChanged += new System.EventHandler(this.cbFlag2Edit_CheckedChanged);
            //
            // lblHilsenEditTB
            //
            this.lblHilsenEditTB.Location = new System.Drawing.Point(10, 13);
            this.lblHilsenEditTB.Name = "lblHilsenEditTB";
            this.lblHilsenEditTB.Size = new System.Drawing.Size(132, 20);
            this.lblHilsenEditTB.TabIndex = 22;
            this.lblHilsenEditTB.Text = "Skriv velkomsthilsen";
            this.lblHilsenEditTB.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // tbHilsenEdit
            //
            this.tbHilsenEdit.Location = new System.Drawing.Point(10, 36);
            this.tbHilsenEdit.Multiline = true;
            this.tbHilsenEdit.Name = "tbHilsenEdit";
            this.tbHilsenEdit.Size = new System.Drawing.Size(132, 48);
            this.tbHilsenEdit.TabIndex = 20;
            this.tbHilsenEdit.TextChanged += new System.EventHandler(this.tbHilsenEdit_TextChanged);
            //
            // cbFlag3Edit
            //
            this.cbFlag3Edit.Location = new System.Drawing.Point(6, 332);
            this.cbFlag3Edit.Name = "cbFlag3Edit";
            this.cbFlag3Edit.Size = new System.Drawing.Size(104, 24);
            this.cbFlag3Edit.TabIndex = 1;
            this.cbFlag3Edit.Text = "Tysk";
            this.cbFlag3Edit.CheckedChanged += new System.EventHandler(this.cbFlag3Edit_CheckedChanged);
            //
            // tabFarve
            //
            this.tabFarve.Controls.Add(this.comboKnapFarve);
            this.tabFarve.Controls.Add(this.lblKnapFarve);
            this.tabFarve.Controls.Add(this.lblBackground);
            this.tabFarve.Controls.Add(this.comboBagFarve);
            this.tabFarve.Location = new System.Drawing.Point(4, 22);
            this.tabFarve.Name = "tabFarve";
            this.tabFarve.Size = new System.Drawing.Size(152, 574);
            this.tabFarve.TabIndex = 3;
            this.tabFarve.Text = "Farve";
            this.tabFarve.UseVisualStyleBackColor = true;
            //
            // comboKnapFarve
            //
            this.comboKnapFarve.FormattingEnabled = true;
            this.comboKnapFarve.Items.AddRange(new object[] {
            "Blue",
            "Brown",
            "Green",
            "Red",
            "Silver"});
            this.comboKnapFarve.Location = new System.Drawing.Point(25, 108);
            this.comboKnapFarve.Name = "comboKnapFarve";
            this.comboKnapFarve.Size = new System.Drawing.Size(102, 21);
            this.comboKnapFarve.TabIndex = 3;
            this.comboKnapFarve.SelectedIndexChanged += new System.EventHandler(this.comboKnapFarve_SelectedIndexChanged);
            //
            // lblKnapFarve
            //
            this.lblKnapFarve.AutoSize = true;
            this.lblKnapFarve.Location = new System.Drawing.Point(34, 92);
            this.lblKnapFarve.Name = "lblKnapFarve";
            this.lblKnapFarve.Size = new System.Drawing.Size(84, 13);
            this.lblKnapFarve.TabIndex = 2;
            this.lblKnapFarve.Text = "Vælg Knapfarve";
            this.lblKnapFarve.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // lblBackground
            //
            this.lblBackground.AutoSize = true;
            this.lblBackground.Location = new System.Drawing.Point(24, 25);
            this.lblBackground.Name = "lblBackground";
            this.lblBackground.Size = new System.Drawing.Size(104, 13);
            this.lblBackground.TabIndex = 2;
            this.lblBackground.Text = "Vælg Bagrundsfarve";
            this.lblBackground.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // comboBagFarve
            //
            this.comboBagFarve.AllowDrop = true;
            this.comboBagFarve.BackColor = System.Drawing.SystemColors.Window;
            this.comboBagFarve.Items.AddRange(new object[] {
            "Chocolate",
            "Cornsilk",
            "Sienna"});
            this.comboBagFarve.Location = new System.Drawing.Point(24, 43);
            this.comboBagFarve.Name = "comboBagFarve";
            this.comboBagFarve.Size = new System.Drawing.Size(104, 21);
            this.comboBagFarve.TabIndex = 1;
            this.comboBagFarve.SelectedIndexChanged += new System.EventHandler(this.comboBagFarve_SelectedIndexChanged);
            //
            // gbEdit
            //
            this.gbEdit.Controls.Add(this.lblHilsenEdit);
            this.gbEdit.Controls.Add(this.lblBynavnEdit);
            this.gbEdit.Controls.Add(this.panel1);
            this.gbEdit.Controls.Add(this.panelHj);
            this.gbEdit.Controls.Add(this.panelVen);
            this.gbEdit.Location = new System.Drawing.Point(176, 48);
            this.gbEdit.Name = "gbEdit";
            this.gbEdit.Size = new System.Drawing.Size(800, 600);
            this.gbEdit.TabIndex = 18;
            this.gbEdit.TabStop = false;
            this.gbEdit.Text = "Designoversigt";
            //
            // lblHilsenEdit
            //
            this.lblHilsenEdit.Font = new System.Drawing.Font("Bookman Old Style", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblHilsenEdit.Location = new System.Drawing.Point(200, 10);
            this.lblHilsenEdit.Name = "lblHilsenEdit";
            this.lblHilsenEdit.Size = new System.Drawing.Size(400, 40);
            this.lblHilsenEdit.TabIndex = 5;
            this.lblHilsenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // lblBynavnEdit
            //
            this.lblBynavnEdit.Font = new System.Drawing.Font("Monotype Corsiva", 26.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblBynavnEdit.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
            this.lblBynavnEdit.ImageIndex = 0;
            this.lblBynavnEdit.ImageList = this.imListLogo;
            this.lblBynavnEdit.Location = new System.Drawing.Point(300, 50);
            this.lblBynavnEdit.Name = "lblBynavnEdit";
            this.lblBynavnEdit.Size = new System.Drawing.Size(200, 80);
            this.lblBynavnEdit.TabIndex = 4;
            this.lblBynavnEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblBynavnEdit.Visible = false;
            //
            // imListLogo
            //
            this.imListLogo.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imListLogo.ImageStream")));
            this.imListLogo.TransparentColor = System.Drawing.Color.Transparent;
            this.imListLogo.Images.SetKeyName(0, "LogoEditBlue.gif");
            this.imListLogo.Images.SetKeyName(1, "LogoEditBrown.gif");
            this.imListLogo.Images.SetKeyName(2, "LogoEditGreen.gif");
            this.imListLogo.Images.SetKeyName(3, "LogoEditRed.gif");
            this.imListLogo.Images.SetKeyName(4, "LogoEditSilver.gif");
            //
            // panel1
            //
            this.panel1.Controls.Add(this.lblFlag1Edit);
            this.panel1.Controls.Add(this.lblFlag2Edit);
            this.panel1.Controls.Add(this.lblFlag3Edit);
            this.panel1.Location = new System.Drawing.Point(32, 536);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(256, 56);
            this.panel1.TabIndex = 3;
            //
            // lblFlag1Edit
            //
            this.lblFlag1Edit.ImageList = this.imListEditFlag;
            this.lblFlag1Edit.Location = new System.Drawing.Point(8, 8);
            this.lblFlag1Edit.Name = "lblFlag1Edit";
            this.lblFlag1Edit.Size = new System.Drawing.Size(80, 40);
            this.lblFlag1Edit.TabIndex = 24;
            this.lblFlag1Edit.Visible = false;
            //
            // imListEditFlag
            //
            this.imListEditFlag.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imListEditFlag.ImageStream")));
            this.imListEditFlag.TransparentColor = System.Drawing.Color.Transparent;
            this.imListEditFlag.Images.SetKeyName(0, "");
            this.imListEditFlag.Images.SetKeyName(1, "");
            this.imListEditFlag.Images.SetKeyName(2, "");
            //
            // lblFlag2Edit
            //
            this.lblFlag2Edit.ImageList = this.imListEditFlag;
            this.lblFlag2Edit.Location = new System.Drawing.Point(88, 8);
            this.lblFlag2Edit.Name = "lblFlag2Edit";
            this.lblFlag2Edit.Size = new System.Drawing.Size(80, 40);
            this.lblFlag2Edit.TabIndex = 24;
            //
            // lblFlag3Edit
            //
            this.lblFlag3Edit.ImageList = this.imListEditFlag;
            this.lblFlag3Edit.Location = new System.Drawing.Point(168, 8);
            this.lblFlag3Edit.Name = "lblFlag3Edit";
            this.lblFlag3Edit.Size = new System.Drawing.Size(80, 40);
            this.lblFlag3Edit.TabIndex = 24;
            //
            // panelHj
            //
            this.panelHj.Controls.Add(this.lblKnap5HjEdit);
            this.panelHj.Controls.Add(this.lblKnap1HjEdit);
            this.panelHj.Controls.Add(this.lblKnap4HjEdit);
            this.panelHj.Controls.Add(this.lblKnap10HjEdit);
            this.panelHj.Controls.Add(this.lblKnap3HjEdit);
            this.panelHj.Controls.Add(this.lblKnap9HjEdit);
            this.panelHj.Controls.Add(this.lblKnap2HjEdit);
            this.panelHj.Controls.Add(this.lblKnap8HjEdit);
            this.panelHj.Controls.Add(this.lblKnap7HjEdit);
            this.panelHj.Controls.Add(this.lblKnap6HjEdit);
            this.panelHj.Location = new System.Drawing.Point(633, 88);
            this.panelHj.Name = "panelHj";
            this.panelHj.Size = new System.Drawing.Size(160, 410);
            this.panelHj.TabIndex = 2;
            //
            // lblKnap5HjEdit
            //
            this.lblKnap5HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap5HjEdit.ImageIndex = 0;
            this.lblKnap5HjEdit.ImageList = this.imListEditButton;
            this.lblKnap5HjEdit.Location = new System.Drawing.Point(3, 162);
            this.lblKnap5HjEdit.Name = "lblKnap5HjEdit";
            this.lblKnap5HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap5HjEdit.TabIndex = 0;
            this.lblKnap5HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap5HjEdit.Visible = false;
            this.lblKnap5HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap5HjEdit_MouseDown);
            this.lblKnap5HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap5HjEdit_MouseUp);
            //
            // imListEditButton
            //
            this.imListEditButton.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imListEditButton.ImageStream")));
            this.imListEditButton.TransparentColor = System.Drawing.Color.Transparent;
            this.imListEditButton.Images.SetKeyName(0, "KnapUpEditBlue.gif");
            this.imListEditButton.Images.SetKeyName(1, "KnapDownEditBlue.gif");
            this.imListEditButton.Images.SetKeyName(2, "KnapUpEditBrown.gif");
            this.imListEditButton.Images.SetKeyName(3, "KnapDownEditBrown.gif");
            this.imListEditButton.Images.SetKeyName(4, "KnapUpEditGreen.gif");
            this.imListEditButton.Images.SetKeyName(5, "KnapDownEditGreen.gif");
            this.imListEditButton.Images.SetKeyName(6, "KnapUpEditRed.gif");
            this.imListEditButton.Images.SetKeyName(7, "KnapDownEditRed.gif");
            this.imListEditButton.Images.SetKeyName(8, "KnapUpEditSilver.gif");
            this.imListEditButton.Images.SetKeyName(9, "KnapDownEditSilver.gif");
            //
            // lblKnap1HjEdit
            //
            this.lblKnap1HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap1HjEdit.ImageIndex = 0;
            this.lblKnap1HjEdit.ImageList = this.imListEditButton;
            this.lblKnap1HjEdit.Location = new System.Drawing.Point(3, 2);
            this.lblKnap1HjEdit.Name = "lblKnap1HjEdit";
            this.lblKnap1HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap1HjEdit.TabIndex = 0;
            this.lblKnap1HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap1HjEdit.Visible = false;
            this.lblKnap1HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap1HjEdit_MouseDown);
            this.lblKnap1HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap1HjEdit_MouseUp);
            //
            // lblKnap4HjEdit
            //
            this.lblKnap4HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap4HjEdit.ImageIndex = 0;
            this.lblKnap4HjEdit.ImageList = this.imListEditButton;
            this.lblKnap4HjEdit.Location = new System.Drawing.Point(3, 122);
            this.lblKnap4HjEdit.Name = "lblKnap4HjEdit";
            this.lblKnap4HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap4HjEdit.TabIndex = 0;
            this.lblKnap4HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap4HjEdit.Visible = false;
            this.lblKnap4HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap4HjEdit_MouseDown);
            this.lblKnap4HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap4HjEdit_MouseUp);
            //
            // lblKnap10HjEdit
            //
            this.lblKnap10HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap10HjEdit.ImageIndex = 0;
            this.lblKnap10HjEdit.ImageList = this.imListEditButton;
            this.lblKnap10HjEdit.Location = new System.Drawing.Point(2, 362);
            this.lblKnap10HjEdit.Name = "lblKnap10HjEdit";
            this.lblKnap10HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap10HjEdit.TabIndex = 0;
            this.lblKnap10HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap10HjEdit.Visible = false;
            this.lblKnap10HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap10HjEdit_MouseDown);
            this.lblKnap10HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap10HjEdit_MouseUp);
            //
            // lblKnap3HjEdit
            //
            this.lblKnap3HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap3HjEdit.ImageIndex = 0;
            this.lblKnap3HjEdit.ImageList = this.imListEditButton;
            this.lblKnap3HjEdit.Location = new System.Drawing.Point(3, 82);
            this.lblKnap3HjEdit.Name = "lblKnap3HjEdit";
            this.lblKnap3HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap3HjEdit.TabIndex = 0;
            this.lblKnap3HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap3HjEdit.Visible = false;
            this.lblKnap3HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap3HjEdit_MouseDown);
            this.lblKnap3HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap3HjEdit_MouseUp);
            //
            // lblKnap9HjEdit
            //
            this.lblKnap9HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap9HjEdit.ImageIndex = 0;
            this.lblKnap9HjEdit.ImageList = this.imListEditButton;
            this.lblKnap9HjEdit.Location = new System.Drawing.Point(2, 322);
            this.lblKnap9HjEdit.Name = "lblKnap9HjEdit";
            this.lblKnap9HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap9HjEdit.TabIndex = 0;
            this.lblKnap9HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap9HjEdit.Visible = false;
            this.lblKnap9HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap9HjEdit_MouseDown);
            this.lblKnap9HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap9HjEdit_MouseUp);
            //
            // lblKnap2HjEdit
            //
            this.lblKnap2HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap2HjEdit.ImageIndex = 0;
            this.lblKnap2HjEdit.ImageList = this.imListEditButton;
            this.lblKnap2HjEdit.Location = new System.Drawing.Point(3, 42);
            this.lblKnap2HjEdit.Name = "lblKnap2HjEdit";
            this.lblKnap2HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap2HjEdit.TabIndex = 0;
            this.lblKnap2HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap2HjEdit.Visible = false;
            this.lblKnap2HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap2HjEdit_MouseDown);
            this.lblKnap2HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap2HjEdit_MouseUp);
            //
            // lblKnap8HjEdit
            //
            this.lblKnap8HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap8HjEdit.ImageIndex = 0;
            this.lblKnap8HjEdit.ImageList = this.imListEditButton;
            this.lblKnap8HjEdit.Location = new System.Drawing.Point(2, 282);
            this.lblKnap8HjEdit.Name = "lblKnap8HjEdit";
            this.lblKnap8HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap8HjEdit.TabIndex = 0;
            this.lblKnap8HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap8HjEdit.Visible = false;
            this.lblKnap8HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap8HjEdit_MouseDown);
            this.lblKnap8HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap8HjEdit_MouseUp);
            //
            // lblKnap7HjEdit
            //
            this.lblKnap7HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap7HjEdit.ImageIndex = 0;
            this.lblKnap7HjEdit.ImageList = this.imListEditButton;
            this.lblKnap7HjEdit.Location = new System.Drawing.Point(3, 242);
            this.lblKnap7HjEdit.Name = "lblKnap7HjEdit";
            this.lblKnap7HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap7HjEdit.TabIndex = 0;
            this.lblKnap7HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap7HjEdit.Visible = false;
            this.lblKnap7HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap7HjEdit_MouseDown);
            this.lblKnap7HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap7HjEdit_MouseUp);
            //
            // lblKnap6HjEdit
            //
            this.lblKnap6HjEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap6HjEdit.ImageIndex = 0;
            this.lblKnap6HjEdit.ImageList = this.imListEditButton;
            this.lblKnap6HjEdit.Location = new System.Drawing.Point(2, 202);
            this.lblKnap6HjEdit.Name = "lblKnap6HjEdit";
            this.lblKnap6HjEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap6HjEdit.TabIndex = 0;
            this.lblKnap6HjEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap6HjEdit.Visible = false;
            this.lblKnap6HjEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap6HjEdit_MouseDown);
            this.lblKnap6HjEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap6HjEdit_MouseUp);
            //
            // panelVen
            //
            this.panelVen.Controls.Add(this.lblKnap5VenEdit);
            this.panelVen.Controls.Add(this.lblKnap10VenEdit);
            this.panelVen.Controls.Add(this.lblKnap9VenEdit);
            this.panelVen.Controls.Add(this.lblKnap8VenEdit);
            this.panelVen.Controls.Add(this.lblKnap6VenEdit);
            this.panelVen.Controls.Add(this.lblKnap7VenEdit);
     
Avatar billede flvind Nybegynder
27. februar 2006 - 14:23 #16
this.panelVen.Controls.Add(this.lblKnap5VenEdit);
            this.panelVen.Controls.Add(this.lblKnap10VenEdit);
            this.panelVen.Controls.Add(this.lblKnap9VenEdit);
            this.panelVen.Controls.Add(this.lblKnap8VenEdit);
            this.panelVen.Controls.Add(this.lblKnap6VenEdit);
            this.panelVen.Controls.Add(this.lblKnap7VenEdit);
            this.panelVen.Controls.Add(this.lblKnap1VenEdit);
            this.panelVen.Controls.Add(this.lblKnap2VenEdit);
            this.panelVen.Controls.Add(this.lblKnap3VenEdit);
            this.panelVen.Controls.Add(this.lblKnap4VenEdit);
            this.panelVen.Location = new System.Drawing.Point(7, 88);
            this.panelVen.Name = "panelVen";
            this.panelVen.Size = new System.Drawing.Size(160, 410);
            this.panelVen.TabIndex = 1;
            //
            // lblKnap5VenEdit
            //
            this.lblKnap5VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap5VenEdit.ImageIndex = 0;
            this.lblKnap5VenEdit.ImageList = this.imListEditButton;
            this.lblKnap5VenEdit.Location = new System.Drawing.Point(7, 162);
            this.lblKnap5VenEdit.Name = "lblKnap5VenEdit";
            this.lblKnap5VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap5VenEdit.TabIndex = 0;
            this.lblKnap5VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap5VenEdit.Visible = false;
            this.lblKnap5VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap5venEdit_MouseDown);
            this.lblKnap5VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap5venEdit_MouseUp);
            //
            // lblKnap10VenEdit
            //
            this.lblKnap10VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap10VenEdit.ImageIndex = 0;
            this.lblKnap10VenEdit.ImageList = this.imListEditButton;
            this.lblKnap10VenEdit.Location = new System.Drawing.Point(6, 362);
            this.lblKnap10VenEdit.Name = "lblKnap10VenEdit";
            this.lblKnap10VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap10VenEdit.TabIndex = 0;
            this.lblKnap10VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap10VenEdit.Visible = false;
            this.lblKnap10VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap10venEdit_MouseDown);
            this.lblKnap10VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap10venEdit_MouseUp);
            //
            // lblKnap9VenEdit
            //
            this.lblKnap9VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap9VenEdit.ImageIndex = 0;
            this.lblKnap9VenEdit.ImageList = this.imListEditButton;
            this.lblKnap9VenEdit.Location = new System.Drawing.Point(6, 322);
            this.lblKnap9VenEdit.Name = "lblKnap9VenEdit";
            this.lblKnap9VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap9VenEdit.TabIndex = 0;
            this.lblKnap9VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap9VenEdit.Visible = false;
            this.lblKnap9VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap9venEdit_MouseDown);
            this.lblKnap9VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap9venEdit_MouseUp);
            //
            // lblKnap8VenEdit
            //
            this.lblKnap8VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap8VenEdit.ImageIndex = 0;
            this.lblKnap8VenEdit.ImageList = this.imListEditButton;
            this.lblKnap8VenEdit.Location = new System.Drawing.Point(6, 282);
            this.lblKnap8VenEdit.Name = "lblKnap8VenEdit";
            this.lblKnap8VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap8VenEdit.TabIndex = 0;
            this.lblKnap8VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap8VenEdit.Visible = false;
            this.lblKnap8VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap8venEdit_MouseDown);
            this.lblKnap8VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap8venEdit_MouseUp);
            //
            // lblKnap6VenEdit
            //
            this.lblKnap6VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap6VenEdit.ImageIndex = 0;
            this.lblKnap6VenEdit.ImageList = this.imListEditButton;
            this.lblKnap6VenEdit.Location = new System.Drawing.Point(6, 202);
            this.lblKnap6VenEdit.Name = "lblKnap6VenEdit";
            this.lblKnap6VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap6VenEdit.TabIndex = 0;
            this.lblKnap6VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap6VenEdit.Visible = false;
            this.lblKnap6VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap6venEdit_MouseDown);
            this.lblKnap6VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap6venEdit_MouseUp);
            //
            // lblKnap7VenEdit
            //
            this.lblKnap7VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F);
            this.lblKnap7VenEdit.ImageIndex = 0;
            this.lblKnap7VenEdit.ImageList = this.imListEditButton;
            this.lblKnap7VenEdit.Location = new System.Drawing.Point(7, 242);
            this.lblKnap7VenEdit.Name = "lblKnap7VenEdit";
            this.lblKnap7VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap7VenEdit.TabIndex = 0;
            this.lblKnap7VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap7VenEdit.Visible = false;
            this.lblKnap7VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap7venEdit_MouseDown);
            this.lblKnap7VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap7venEdit_MouseUp);
            //
            // lblKnap1VenEdit
            //
            this.lblKnap1VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap1VenEdit.ImageIndex = 0;
            this.lblKnap1VenEdit.ImageList = this.imListEditButton;
            this.lblKnap1VenEdit.Location = new System.Drawing.Point(7, 2);
            this.lblKnap1VenEdit.Name = "lblKnap1VenEdit";
            this.lblKnap1VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap1VenEdit.TabIndex = 0;
            this.lblKnap1VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap1VenEdit.Visible = false;
            this.lblKnap1VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap1VenEdit_MouseDown);
            this.lblKnap1VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap1VenEdit_MouseUp);
            //
            // lblKnap2VenEdit
            //
            this.lblKnap2VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap2VenEdit.ImageIndex = 0;
            this.lblKnap2VenEdit.ImageList = this.imListEditButton;
            this.lblKnap2VenEdit.Location = new System.Drawing.Point(7, 42);
            this.lblKnap2VenEdit.Name = "lblKnap2VenEdit";
            this.lblKnap2VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap2VenEdit.TabIndex = 0;
            this.lblKnap2VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap2VenEdit.Visible = false;
            this.lblKnap2VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap2VenEdit_MouseDown);
            this.lblKnap2VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap2VenEdit_MouseUp);
            //
            // lblKnap3VenEdit
            //
            this.lblKnap3VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap3VenEdit.ImageIndex = 0;
            this.lblKnap3VenEdit.ImageList = this.imListEditButton;
            this.lblKnap3VenEdit.Location = new System.Drawing.Point(7, 82);
            this.lblKnap3VenEdit.Name = "lblKnap3VenEdit";
            this.lblKnap3VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap3VenEdit.TabIndex = 0;
            this.lblKnap3VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap3VenEdit.Visible = false;
            this.lblKnap3VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap3VenEdit_MouseDown);
            this.lblKnap3VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap3VenEdit_MouseUp);
            //
            // lblKnap4VenEdit
            //
            this.lblKnap4VenEdit.Font = new System.Drawing.Font("Bookman Old Style", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap4VenEdit.ImageIndex = 0;
            this.lblKnap4VenEdit.ImageList = this.imListEditButton;
            this.lblKnap4VenEdit.Location = new System.Drawing.Point(7, 122);
            this.lblKnap4VenEdit.Name = "lblKnap4VenEdit";
            this.lblKnap4VenEdit.Size = new System.Drawing.Size(150, 40);
            this.lblKnap4VenEdit.TabIndex = 0;
            this.lblKnap4VenEdit.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap4VenEdit.Visible = false;
            this.lblKnap4VenEdit.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap4venEdit_MouseDown);
            this.lblKnap4VenEdit.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap4venEdit_MouseUp);
            //
            // lblValgtFarve
            //
            this.lblValgtFarve.AutoSize = true;
            this.lblValgtFarve.BackColor = System.Drawing.SystemColors.ControlDark;
            this.lblValgtFarve.Location = new System.Drawing.Point(151, 13);
            this.lblValgtFarve.MinimumSize = new System.Drawing.Size(100, 20);
            this.lblValgtFarve.Name = "lblValgtFarve";
            this.lblValgtFarve.Size = new System.Drawing.Size(100, 20);
            this.lblValgtFarve.TabIndex = 19;
            //
            // fclsEdit
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(1016, 741);
            this.Controls.Add(this.lblValgtFarve);
            this.Controls.Add(this.gbEdit);
            this.Controls.Add(this.tabControl1);
            this.Controls.Add(this.btnHideEdit);
            this.Name = "fclsEdit";
            this.Text = "fclsEdit";
            this.Load += new System.EventHandler(this.fclsEdit_Load);
            this.tabControl1.ResumeLayout(false);
            this.tabVenstre.ResumeLayout(false);
            this.tabVenstre.PerformLayout();
            this.tabHøjre.ResumeLayout(false);
            this.tabHøjre.PerformLayout();
            this.tabFlag.ResumeLayout(false);
            this.tabFlag.PerformLayout();
            this.tabFarve.ResumeLayout(false);
            this.tabFarve.PerformLayout();
            this.gbEdit.ResumeLayout(false);
            this.panel1.ResumeLayout(false);
            this.panelHj.ResumeLayout(false);
            this.panelVen.ResumeLayout(false);
            this.ResumeLayout(false);
            this.PerformLayout();

        }
        #endregion
        //Funktionerne for tekstboksene for knapper venstre

        private void tbKnap1VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap1VenEdit.Text != "")
            {
                lblKnap1VenEdit.Visible = true;
                lblKnap1VenEdit.Text = tbKnap1VenEdit.Text;
                //lblKnap1VenEdit.Image = KnapFarveOp;
                mf.lblKnap1Ven.Visible = true;
                mf.lblKnap1Ven.Text = tbKnap1VenEdit.Text;
            }
            else
            {
                lblKnap1VenEdit.Visible = false;
                mf.lblKnap1Ven.Visible = false;
            }
        }

        private void tbKnap2VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap2VenEdit.Text != "")
            {
                lblKnap2VenEdit.Visible = true;
                lblKnap2VenEdit.Text = tbKnap2VenEdit.Text;
                lblKnap2VenEdit.Image = KnapFarveOp;
                mf.lblKnap2Ven.Visible = true;
                mf.lblKnap2Ven.Text = tbKnap2VenEdit.Text;
            }
            else
            {
                lblKnap2VenEdit.Visible = false;
                mf.lblKnap2Ven.Visible = false;
            }
        }

        private void tbKnap3VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap3VenEdit.Text != "")
            {
                lblKnap3VenEdit.Visible = true;
                lblKnap3VenEdit.Text = tbKnap3VenEdit.Text;
                lblKnap3VenEdit.Image = KnapFarveOp;
                mf.lblKnap3Ven.Visible = true;
                mf.lblKnap3Ven.Text = tbKnap3VenEdit.Text;
            }
            else
            {
                lblKnap3VenEdit.Visible = false;
                mf.lblKnap3Ven.Visible = false;
            }
        }

        private void tbKnap4VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap4VenEdit.Text != "")
            {
                lblKnap4VenEdit.Visible = true;
                lblKnap4VenEdit.Text = tbKnap4VenEdit.Text;
                lblKnap4VenEdit.Image = KnapFarveOp;
                mf.lblKnap4Ven.Visible = true;
                mf.lblKnap4Ven.Text = tbKnap4VenEdit.Text;
            }
            else
            {
                lblKnap4VenEdit.Visible = false;
                mf.lblKnap4Ven.Visible = false;
            }
        }

        private void tbKnap5VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap5VenEdit.Text != "")
            {
                lblKnap5VenEdit.Visible = true;
                lblKnap5VenEdit.Text = tbKnap5VenEdit.Text;
                lblKnap5VenEdit.Image = KnapFarveOp;
                mf.lblKnap5Ven.Visible = true;
                mf.lblKnap5Ven.Text = tbKnap5VenEdit.Text;
            }
            else
            {
                lblKnap5VenEdit.Visible = false;
                mf.lblKnap5Ven.Visible = false;
            }
        }

        private void tbKnap6VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap6VenEdit.Text != "")
            {
                lblKnap6VenEdit.Visible = true;
                lblKnap6VenEdit.Text = tbKnap6VenEdit.Text;
                lblKnap6VenEdit.Image = KnapFarveOp;
                mf.lblKnap6Ven.Visible = true;
                mf.lblKnap6Ven.Text = tbKnap6VenEdit.Text;
            }
            else
            {
                lblKnap6VenEdit.Visible = false;
                mf.lblKnap6Ven.Visible = false;
            }
        }
       
        private void tbKnap7VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap7VenEdit.Text != "")
            {
                lblKnap7VenEdit.Visible = true;
                lblKnap7VenEdit.Text = tbKnap7VenEdit.Text;
                lblKnap7VenEdit.Image = KnapFarveOp;
                mf.lblKnap7Ven.Visible = true;
                mf.lblKnap7Ven.Text = tbKnap7VenEdit.Text;
            }
            else
            {
                lblKnap7VenEdit.Visible = false;
                mf.lblKnap7Ven.Visible = false;
            }
        }

        private void tbKnap8VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap8VenEdit.Text != "")
            {
                lblKnap8VenEdit.Visible = true;
                lblKnap8VenEdit.Text = tbKnap8VenEdit.Text;
                lblKnap8VenEdit.Image = KnapFarveOp;
                mf.lblKnap8Ven.Visible = true;
                mf.lblKnap8Ven.Text = tbKnap8VenEdit.Text;
            }
            else
            {
                lblKnap8VenEdit.Visible = false;
                mf.lblKnap8Ven.Visible = false;
            }
        }
       
        private void tbKnap9VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap9VenEdit.Text != "")
            {
                lblKnap9VenEdit.Visible = true;
                lblKnap9VenEdit.Text = tbKnap9VenEdit.Text;
                lblKnap9VenEdit.Image = KnapFarveOp;
                mf.lblKnap9Ven.Visible = true;
                mf.lblKnap9Ven.Text = tbKnap9VenEdit.Text;
            }
            else
            {
                lblKnap9VenEdit.Visible = false;
                mf.lblKnap9Ven.Visible = false;
            }
        }

        private void tbKnap10VenEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap10VenEdit.Text != "")
            {
                lblKnap10VenEdit.Visible = true;
                lblKnap10VenEdit.Text = tbKnap10VenEdit.Text;
                lblKnap10VenEdit.Image = KnapFarveOp;
                mf.lblKnap10Ven.Visible = true;
                mf.lblKnap10Ven.Text = tbKnap10VenEdit.Text;
            }
            else
            {
                lblKnap10VenEdit.Visible = false;
                mf.lblKnap10Ven.Visible = false;
            }
        }

        //Afslutning af funktioner for tekstbokse for knapper venstre

        //Funktioner for tekstbokse knapper højre
        private void tbKnap1HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap1HjEdit.Text != "")
            {
                lblKnap1HjEdit.Visible = true;
                lblKnap1HjEdit.Text = tbKnap1HjEdit.Text;
                mf.lblKnap1Hj.Visible = true;
                mf.lblKnap1Hj.Text = tbKnap1HjEdit.Text;
            }
            else
            {
                lblKnap1HjEdit.Visible = false;
                mf.lblKnap1Hj.Visible = false;
            }
        }

        private void tbKnap2HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap2HjEdit.Text != "")
            {
                lblKnap2HjEdit.Visible = true;
                lblKnap2HjEdit.Text = tbKnap2HjEdit.Text;
                mf.lblKnap2Hj.Visible = true;
                mf.lblKnap2Hj.Text = tbKnap2HjEdit.Text;
            }
            else
            {
                lblKnap2HjEdit.Visible = false;
                mf.lblKnap2Hj.Visible = false;
            }
        }

        private void tbKnap3HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap3HjEdit.Text != "")
            {
                lblKnap3HjEdit.Visible = true;
                lblKnap3HjEdit.Text = tbKnap3HjEdit.Text;
                mf.lblKnap3Hj.Visible = true;
                mf.lblKnap3Hj.Text = tbKnap3HjEdit.Text;
            }
            else
            {
                lblKnap3HjEdit.Visible = false;
                mf.lblKnap3Hj.Visible = false;
            }
        }

        private void tbKnap4HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap4HjEdit.Text != "")
            {
                lblKnap4HjEdit.Visible = true;
                lblKnap4HjEdit.Text = tbKnap4HjEdit.Text;
                mf.lblKnap4Hj.Visible = true;
                mf.lblKnap4Hj.Text = tbKnap4HjEdit.Text;
            }
            else
            {
                lblKnap4HjEdit.Visible = false;
                mf.lblKnap4Hj.Visible = false;
            }
        }

        private void tbKnap5HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap5HjEdit.Text != "")
            {
                lblKnap5HjEdit.Visible = true;
                lblKnap5HjEdit.Text = tbKnap5HjEdit.Text;
                mf.lblKnap5Hj.Visible = true;
                mf.lblKnap5Hj.Text = tbKnap5HjEdit.Text;
            }
            else
            {
                lblKnap5HjEdit.Visible = false;
                mf.lblKnap5Hj.Visible = false;
            }
        }

        private void tbKnap6HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap6HjEdit.Text != "")
            {
                lblKnap6HjEdit.Visible = true;
                lblKnap6HjEdit.Text = tbKnap6HjEdit.Text;
                mf.lblKnap6Hj.Visible = true;
                mf.lblKnap6Hj.Text = tbKnap6HjEdit.Text;
            }
            else
            {
                lblKnap6HjEdit.Visible = false;
                mf.lblKnap6Hj.Visible = false;
            }
        }

        private void tbKnap7HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap7HjEdit.Text != "")
            {
                lblKnap7HjEdit.Visible = true;
                lblKnap7HjEdit.Text = tbKnap7HjEdit.Text;
                mf.lblKnap7Hj.Visible = true;
                mf.lblKnap7Hj.Text = tbKnap7HjEdit.Text;
            }
            else
            {
                lblKnap7HjEdit.Visible = false;
                mf.lblKnap7Hj.Visible = false;
            }
        }

        private void tbKnap8HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap8HjEdit.Text != "")
            {
                lblKnap8HjEdit.Visible = true;
                lblKnap8HjEdit.Text = tbKnap8HjEdit.Text;
                mf.lblKnap8Hj.Visible = true;
                mf.lblKnap8Hj.Text = tbKnap8HjEdit.Text;
            }
            else
            {
                lblKnap8HjEdit.Visible = false;
                mf.lblKnap8Hj.Visible = false;
            }
        }

        private void tbKnap9HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap9HjEdit.Text != "")
            {
                lblKnap9HjEdit.Visible = true;
                lblKnap9HjEdit.Text = tbKnap9HjEdit.Text;
                mf.lblKnap9Hj.Visible = true;
                mf.lblKnap9Hj.Text = tbKnap9HjEdit.Text;
            }
            else
            {
                lblKnap9HjEdit.Visible = false;
                mf.lblKnap9Hj.Visible = false;
            }
        }

        private void tbKnap10HjEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbKnap10HjEdit.Text != "")
            {
                lblKnap10HjEdit.Visible = true;
                lblKnap10HjEdit.Text = tbKnap10HjEdit.Text;
                mf.lblKnap10Hj.Visible = true;
                mf.lblKnap10Hj.Text = tbKnap10HjEdit.Text;
            }
            else
            {
                lblKnap10HjEdit.Visible = false;
                mf.lblKnap10Hj.Visible = false;
            }
        }
        //Afslutning af funktioner for tekstbokse for knapper højre

//funktioner for knapper
        //TODO: foretag ændringer
        //Funktioner for venstre side af knapperne
        private void lblKnap1VenEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap1VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap1VenEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap1VenEdit.Image = KnapFarveOp;
        }

        private void lblKnap2VenEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap2VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap2VenEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap2VenEdit.Image = KnapFarveOp;
        }
        private void lblKnap3VenEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap3VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap3VenEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap3VenEdit.Image = KnapFarveOp;
        }

        private void lblKnap4venEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap4VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap4venEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap4VenEdit.Image = KnapFarveOp;
        }

        private void lblKnap5venEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap5VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap5venEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap5VenEdit.Image = KnapFarveOp;
        }

        private void lblKnap6venEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap6VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap6venEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap6VenEdit.Image = KnapFarveOp;
        }

        private void lblKnap7venEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap7VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap7venEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap7VenEdit.Image = KnapFarveOp;
        }

        private void lblKnap8venEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap8VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap8venEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap8VenEdit.Image = KnapFarveOp;
        }

        private void lblKnap9venEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap9VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap9venEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap9VenEdit.Image = KnapFarveOp;
        }

        private void lblKnap10venEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap10VenEdit.Image = KnapFarveNed;
        }

        private void lblKnap10venEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap10VenEdit.Image = KnapFarveOp;
        }
        //funktioner for click events
        //TODO funktioner for click events venstre
        private void lblKnap1venEdit_Click(object sender, System.EventArgs e)
        {
           
        }

        private void lblKnap2venEdit_Click(object sender, System.EventArgs e)
        {
        }

        private void lblKnap3venEdit_Click(object sender, System.EventArgs e)
        {
       
        }

        private void lblKnap4venEdit_Click(object sender, System.EventArgs e)
        {
       
        }

        private void lblKnap5venEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap6VenEdit_Click(object sender, System.EventArgs e)
        {
     
        }

        private void lblKnap7venEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap8venEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap9venEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap10venEdit_Click(object sender, System.EventArgs e)
        {

        }

        //Funktioner for højre side af knapperne
        //TODO funktioner for mouse events højre
        private void lblKnap1HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap1HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap1HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap1HjEdit.Image = KnapFarveOp;
        }

        private void lblKnap2HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap2HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap2HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap2HjEdit.Image = KnapFarveOp;
        }
        private void lblKnap3HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap3HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap3HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap3HjEdit.Image = KnapFarveOp;
        }
        private void lblKnap4HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap4HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap4HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap4HjEdit.Image = KnapFarveOp;
        }
        private void lblKnap5HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap5HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap5HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap5HjEdit.Image = KnapFarveOp;
        }
        private void lblKnap6HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap6HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap6HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap6HjEdit.Image = KnapFarveOp;
        }

        private void lblKnap7HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap7HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap7HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap7HjEdit.Image = KnapFarveOp;
        }

        private void lblKnap8HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap8HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap8HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap8HjEdit.Image = KnapFarveOp;
        }

        private void lblKnap9HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap9HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap9HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap9HjEdit.Image = KnapFarveOp;
        }

        private void lblKnap10HjEdit_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap10HjEdit.Image = KnapFarveNed;
        }

        private void lblKnap10HjEdit_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap10HjEdit.Image = KnapFarveOp;
        }
        // Funktioner for click events
        //TODO funktioner for click events højre
       
       
        private void lblKnap1HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap2HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap3HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap4HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap5HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap6HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap7HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap8HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap9HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap10HjEdit_Click(object sender, System.EventArgs e)
        {

        }

        //slut knapper

        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
                //TODO husk funktioner
        private void btnHide_Click(object sender, System.EventArgs e)
        {

            this.Hide();
        }

        private void tbHilsenEdit_TextChanged(object sender, System.EventArgs e)
        {
            mf.lblHilsen.Text = tbHilsenEdit.Text;
            lblHilsenEdit.Text = tbHilsenEdit.Text;
        }

        private void tbBynavnEdit_TextChanged(object sender, System.EventArgs e)
        {
            if (tbBynavnEdit.Text != "")
            {
                lblBynavnEdit.Text = tbBynavnEdit.Text;
                lblBynavnEdit.Visible = true;
                mf.lblBynavn.Text = tbBynavnEdit.Text;
                mf.lblBynavn.Visible = true;
            }
            else
            {
                lblBynavnEdit.Visible = false;
                mf.lblBynavn.Visible = false;
            }
        }

        private void cbFlag1Edit_CheckedChanged(object sender, System.EventArgs e)
        {
            if (cbFlag1Edit.Checked == true)
            {
                Image billed = imListEditFlag.Images[0];
                lblFlag1Edit.Image = billed;
                lblFlag1Edit.Visible = true;
                mf.lblFlag1.Visible = true;
            }
            else
            {
                lblFlag1Edit.Visible = false;
                mf.lblFlag1.Visible = false;
            }
        }

        private void cbFlag2Edit_CheckedChanged(object sender, System.EventArgs e)
        {
            if (cbFlag2Edit.Checked == true)
            {
                Image Billed = imListEditFlag.Images[1];
                lblFlag2Edit.Image = Billed;
                lblFlag2Edit.Visible = true;
                mf.lblFlag2.Visible = true;
            }
            else
            {
                lblFlag2Edit.Visible = false;
                mf.lblFlag2.Visible = false;
            }
        }

        private void cbFlag3Edit_CheckedChanged(object sender, System.EventArgs e)
        {
            if (cbFlag3Edit.Checked == true)
            {
                Image Billed = imListEditFlag.Images[2];
                lblFlag3Edit.Image = Billed;
                lblFlag3Edit.Visible = true;
                mf.lblFlag3.Visible = true;
            }
            else
            {
                lblFlag3Edit.Visible = false;
                mf.lblFlag3.Visible = false;
            }
        }

        //TODO: husk at indsætte flere farver
        private void comboBagFarve_SelectedIndexChanged(object sender, System.EventArgs e)
        {
            switch (comboBagFarve.Text)
            {
                case "Chocolate":
                    {
                        gbEdit.BackColor = Color.Chocolate;
                        mf.BackColor = Color.Chocolate;
                        break;
                    }
                case "Cornsilk":
                    {
                        gbEdit.BackColor = Color.Cornsilk;
                        mf.BackColor = Color.Cornsilk;
                        break;
                    }
                case "Sienna":
                    {
                        gbEdit.BackColor = Color.Sienna;
                        mf.ValgtFarve = "Sienna";
                        break;
                    }
            }
        }

        private void comboKnapFarve_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch (comboKnapFarve.Text)
            {
                case "Blue":
                    {
                        KnapFarveOp = imListEditButton.Images[0];
                        KnapFarveNed = imListEditButton.Images[1];
                        LogoFarve = imListLogo.Images[0];
                        mf.KnapOp = mf.imListButton.Images[0];
                        mf.KnapNed = mf.imListButton.Images[1];
                        mf.Logo = mf.imListLogo.Images[0];
                        ValgtFarve = "Blue";
                        lblValgtFarve.Text = ValgtFarve;                   
                        break;
                    }
                case "Brown":
                    {
                        KnapFarveOp = imListEditButton.Images[2];
                        KnapFarveNed = imListEditButton.Images[3];
                        LogoFarve = imListLogo.Images[1];
                        mf.KnapOp = mf.imListButton.Images[2];
                        mf.KnapNed = mf.imListButton.Images[3];
                        mf.Logo = mf.imListLogo.Images[1];
                        ValgtFarve = "Brown";
                        lblValgtFarve.Text = ValgtFarve;
                        break;
                    }
                case "Green":
                    {
                        KnapFarveOp = imListEditButton.Images[4];
                        KnapFarveNed = imListEditButton.Images[5];
                        LogoFarve = imListLogo.Images[2];
                        mf.KnapOp = mf.imListButton.Images[4];
                        mf.KnapNed = mf.imListButton.Images[5];
                        mf.Logo = mf.imListLogo.Images[2];
                        ValgtFarve = "Green";
                        lblValgtFarve.Text = ValgtFarve;
                        break;
                    }
                case "Red":
                    {
                        KnapFarveOp = imListEditButton.Images[6];
                        KnapFarveNed = imListEditButton.Images[7];
                        LogoFarve = imListLogo.Images[3];
                        mf.KnapOp = mf.imListButton.Images[6];
                        mf.KnapNed = mf.imListButton.Images[7];
                        mf.Logo = mf.imListLogo.Images[3];
                        ValgtFarve = "Red";
                        lblValgtFarve.Text = ValgtFarve;
                        break;
                    }
                case "Silver":
                    {
                        KnapFarveOp = imListEditButton.Images[8];
                        KnapFarveNed = imListEditButton.Images[9];
                        LogoFarve = imListLogo.Images[4];
                        mf.KnapOp = mf.imListButton.Images[8];
                        mf.KnapNed = mf.imListButton.Images[9];
                        mf.Logo = mf.imListLogo.Images[4];
                        ValgtFarve = "Silver";
                        lblValgtFarve.Text = ValgtFarve;
                        break;
                    }

            }
            lblKnap1VenEdit.Image = KnapFarveOp;
            lblKnap2VenEdit.Image = KnapFarveOp;
            lblKnap3VenEdit.Image = KnapFarveOp;
            lblKnap4VenEdit.Image = KnapFarveOp;
            lblKnap5VenEdit.Image = KnapFarveOp;
            lblKnap6VenEdit.Image = KnapFarveOp;
            lblKnap7VenEdit.Image = KnapFarveOp;
            lblKnap8VenEdit.Image = KnapFarveOp;
            lblKnap9VenEdit.Image = KnapFarveOp;
            lblKnap10VenEdit.Image = KnapFarveOp;
            lblKnap1HjEdit.Image = KnapFarveOp;
            lblKnap2HjEdit.Image = KnapFarveOp;
            lblKnap3HjEdit.Image = KnapFarveOp;
            lblKnap4HjEdit.Image = KnapFarveOp;
            lblKnap5HjEdit.Image = KnapFarveOp;
            lblKnap6HjEdit.Image = KnapFarveOp;
            lblKnap7HjEdit.Image = KnapFarveOp;
            lblKnap8HjEdit.Image = KnapFarveOp;
            lblKnap9HjEdit.Image = KnapFarveOp;
            lblKnap10HjEdit.Image = KnapFarveOp;
            lblBynavnEdit.Image = LogoFarve;
            //designform
            mf.lblKnap1Ven.Image = mf.KnapOp;
            mf.lblKnap2Ven.Image = mf.KnapOp;
            mf.lblKnap3Ven.Image = mf.KnapOp;
            mf.lblKnap4Ven.Image = mf.KnapOp;
            mf.lblKnap5Ven.Image = mf.KnapOp;
            mf.lblKnap6Ven.Image = mf.KnapOp;
            mf.lblKnap7Ven.Image = mf.KnapOp;
            mf.lblKnap8Ven.Image = mf.KnapOp;
            mf.lblKnap9Ven.Image = mf.KnapOp;
            mf.lblKnap10Ven.Image = mf.KnapOp;
            mf.lblKnap1Hj.Image = mf.KnapOp;
            mf.lblKnap2Hj.Image = mf.KnapOp;
            mf.lblKnap3Hj.Image = mf.KnapOp;
            mf.lblKnap4Hj.Image = mf.KnapOp;
            mf.lblKnap5Hj.Image = mf.KnapOp;
            mf.lblKnap6Hj.Image = mf.KnapOp;
            mf.lblKnap7Hj.Image = mf.KnapOp;
            mf.lblKnap8Hj.Image = mf.KnapOp;
            mf.lblKnap9Hj.Image = mf.KnapOp;
            mf.lblKnap10Hj.Image = mf.KnapOp;
            mf.lblBynavn.Image = mf.Logo;
            }
    }
}
--------- settingsform kode slut--------------------

--------- Designform kode start --------------------
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace design
{
    /// <summary>
    /// Summary description for Form1.
    /// </summary>
    public class fclsDesign : System.Windows.Forms.Form
    {
        private fclsEdit ef;
        private fclsData df;
        private System.Windows.Forms.Button button1;
        private System.Windows.Forms.PictureBox PicBoxFront;
        public System.Windows.Forms.ImageList imListButton;
        private System.Windows.Forms.Panel paLanguages;
        private System.Windows.Forms.ImageList imListFront;
        private System.Windows.Forms.Button btnShowEdit;
        private System.ComponentModel.IContainer components;
        private System.Windows.Forms.Panel panelDesignVenstre;
        public System.Windows.Forms.Label lblKnap6Ven;
        public System.Windows.Forms.Label lblKnap4Ven;
        public System.Windows.Forms.Label lblKnap1Ven;
        public System.Windows.Forms.Label lblKnap5Ven;
        public System.Windows.Forms.Label lblKnap2Ven;
        public System.Windows.Forms.Label lblKnap3Ven;
        private System.Windows.Forms.Panel panelDesignHøjre;
        public System.Windows.Forms.Label lblKnap6Hj;
        public System.Windows.Forms.Label lblKnap4Hj;
        public System.Windows.Forms.Label lblKnap1Hj;
        public System.Windows.Forms.Label lblKnap5Hj;
        public System.Windows.Forms.Label lblKnap2Hj;
        public System.Windows.Forms.Label lblKnap3Hj;
        public System.Windows.Forms.Label lblBynavn;
        private System.Windows.Forms.Panel panelCenter;
        private System.Windows.Forms.Button btnShowData;
        public System.Windows.Forms.DataGrid dGridFront;
        public System.Windows.Forms.Label lblFlag1;
        public System.Windows.Forms.Label lblFlag2;
        public System.Windows.Forms.Label lblFlag3;
        private System.Windows.Forms.ImageList imListFlagNav;
        private System.Windows.Forms.Label lblNavCen;
        private System.Windows.Forms.Label lblNavVen;
        private System.Windows.Forms.Label lblNavHj;
        public Label lblKnap10Ven;
        public Label lblKnap9Ven;
        public Label lblKnap8Ven;
        public Label lblKnap7Ven;
        public Label lblKnap10Hj;
        public Label lblKnap9Hj;
        public Label lblKnap8Hj;
        public Label lblKnap7Hj;
        public ImageList imListLogo;
        public System.Windows.Forms.Label lblHilsen;
        public string ValgtFarve;
        public Image KnapNed;
        public Image KnapOp;
        public Image Logo;
   

        public fclsDesign()
        {
            //
            // Required for Windows Form Designer support
            //
            this.ef = ef;
            this.df = new fclsData(this);
            InitializeComponent();
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
           
           
        }


       
       
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose( bool disposing )
        {
            if( disposing )
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose( disposing );
        }

        #region Windows Form Designer generated code
        /// <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(fclsDesign));
            this.imListButton = new System.Windows.Forms.ImageList(this.components);
            this.button1 = new System.Windows.Forms.Button();
            this.PicBoxFront = new System.Windows.Forms.PictureBox();
            this.imListFlagNav = new System.Windows.Forms.ImageList(this.components);
            this.lblFlag1 = new System.Windows.Forms.Label();
            this.lblFlag2 = new System.Windows.Forms.Label();
            this.lblFlag3 = new System.Windows.Forms.Label();
            this.paLanguages = new System.Windows.Forms.Panel();
            this.imListFront = new System.Windows.Forms.ImageList(this.components);
            this.panelDesignVenstre = new System.Windows.Forms.Panel();
            this.lblKnap10Ven = new System.Windows.Forms.Label();
            this.lblKnap9Ven = new System.Windows.Forms.Label();
            this.lblKnap8Ven = new System.Windows.Forms.Label();
            this.lblKnap7Ven = new System.Windows.Forms.Label();
            this.lblKnap6Ven = new System.Windows.Forms.Label();
            this.lblKnap4Ven = new System.Windows.Forms.Label();
            this.lblKnap1Ven = new System.Windows.Forms.Label();
            this.lblKnap5Ven = new System.Windows.Forms.Label();
            this.lblKnap2Ven = new System.Windows.Forms.Label();
            this.lblKnap3Ven = new System.Windows.Forms.Label();
            this.btnShowEdit = new System.Windows.Forms.Button();
            this.panelDesignHøjre = new System.Windows.Forms.Panel();
            this.lblKnap10Hj = new System.Windows.Forms.Label();
            this.lblKnap9Hj = new System.Windows.Forms.Label();
            this.lblKnap8Hj = new System.Windows.Forms.Label();
            this.lblKnap7Hj = new System.Windows.Forms.Label();
            this.lblKnap6Hj = new System.Windows.Forms.Label();
            this.lblKnap4Hj = new System.Windows.Forms.Label();
            this.lblKnap1Hj = new System.Windows.Forms.Label();
            this.lblKnap5Hj = new System.Windows.Forms.Label();
            this.lblKnap2Hj = new System.Windows.Forms.Label();
            this.lblKnap3Hj = new System.Windows.Forms.Label();
            this.lblBynavn = new System.Windows.Forms.Label();
            this.imListLogo = new System.Windows.Forms.ImageList(this.components);
            this.lblHilsen = new System.Windows.Forms.Label();
            this.panelCenter = new System.Windows.Forms.Panel();
            this.dGridFront = new System.Windows.Forms.DataGrid();
            this.btnShowData = new System.Windows.Forms.Button();
            this.lblNavCen = new System.Windows.Forms.Label();
            this.lblNavVen = new System.Windows.Forms.Label();
            this.lblNavHj = new System.Windows.Forms.Label();
            ((System.ComponentModel.ISupportInitialize)(this.PicBoxFront)).BeginInit();
            this.paLanguages.SuspendLayout();
            this.panelDesignVenstre.SuspendLayout();
            this.panelDesignHøjre.SuspendLayout();
            this.panelCenter.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dGridFront)).BeginInit();
            this.SuspendLayout();
            //
            // imListButton
            //
            this.imListButton.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imListButton.ImageStream")));
            this.imListButton.TransparentColor = System.Drawing.Color.Transparent;
            this.imListButton.Images.SetKeyName(0, "KnapUpBlue.gif");
            this.imListButton.Images.SetKeyName(1, "KnapDownBlue.gif");
            this.imListButton.Images.SetKeyName(2, "KnapUpBrown.gif");
            this.imListButton.Images.SetKeyName(3, "KnapDownBrown.gif");
            this.imListButton.Images.SetKeyName(4, "KnapUpGreen.gif");
            this.imListButton.Images.SetKeyName(5, "KnapDownGreen.gif");
            this.imListButton.Images.SetKeyName(6, "KnapUpRed.gif");
            this.imListButton.Images.SetKeyName(7, "KnapDownRed.gif");
            this.imListButton.Images.SetKeyName(8, "KnapUpSilver.gif");
            this.imListButton.Images.SetKeyName(9, "KnapDownSilver.gif");
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(24, 8);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 2;
            this.button1.Text = "close";
            this.button1.Click += new System.EventHandler(this.btnClose_Click);
            //
            // PicBoxFront
            //
            this.PicBoxFront.Location = new System.Drawing.Point(576, 248);
            this.PicBoxFront.Name = "PicBoxFront";
            this.PicBoxFront.Size = new System.Drawing.Size(200, 232);
            this.PicBoxFront.TabIndex = 3;
            this.PicBoxFront.TabStop = false;
            //
            // imListFlagNav
            //
            this.imListFlagNav.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imListFlagNav.ImageStream")));
            this.imListFlagNav.TransparentColor = System.Drawing.Color.Transparent;
            this.imListFlagNav.Images.SetKeyName(0, "");
            this.imListFlagNav.Images.SetKeyName(1, "");
            this.imListFlagNav.Images.SetKeyName(2, "");
            this.imListFlagNav.Images.SetKeyName(3, "");
            this.imListFlagNav.Images.SetKeyName(4, "");
            this.imListFlagNav.Images.SetKeyName(5, "");
            this.imListFlagNav.Images.SetKeyName(6, "");
            this.imListFlagNav.Images.SetKeyName(7, "");
            this.imListFlagNav.Images.SetKeyName(8, "");
            //
            // lblFlag1
            //
            this.lblFlag1.ImageIndex = 0;
            this.lblFlag1.ImageList = this.imListFlagNav;
            this.lblFlag1.Location = new System.Drawing.Point(8, 8);
            this.lblFlag1.Name = "lblFlag1";
            this.lblFlag1.Size = new System.Drawing.Size(100, 50);
            this.lblFlag1.TabIndex = 5;
            this.lblFlag1.Visible = false;
            //
            // lblFlag2
            //
            this.lblFlag2.ImageIndex = 1;
            this.lblFlag2.ImageList = this.imListFlagNav;
            this.lblFlag2.Location = new System.Drawing.Point(112, 8);
            this.lblFlag2.Name = "lblFlag2";
            this.lblFlag2.Size = new System.Drawing.Size(100, 50);
            this.lblFlag2.TabIndex = 5;
            this.lblFlag2.Visible = false;
            //
            // lblFlag3
            //
            this.lblFlag3.ImageIndex = 2;
            this.lblFlag3.ImageList = this.imListFlagNav;
            this.lblFlag3.Location = new System.Drawing.Point(216, 8);
            this.lblFlag3.Name = "lblFlag3";
            this.lblFlag3.Size = new System.Drawing.Size(100, 50);
            this.lblFlag3.TabIndex = 5;
            this.lblFlag3.Visible = false;
            //
            // paLanguages
            //
            this.paLanguages.Controls.Add(this.lblFlag3);
            this.paLanguages.Controls.Add(this.lblFlag2);
            this.paLanguages.Controls.Add(this.lblFlag1);
            this.paLanguages.Location = new System.Drawing.Point(32, 656);
            this.paLanguages.Name = "paLanguages";
            this.paLanguages.Size = new System.Drawing.Size(320, 72);
            this.paLanguages.TabIndex = 8;
            //
            // imListFront
            //
            this.imListFront.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imListFront.ImageStream")));
            this.imListFront.TransparentColor = System.Drawing.Color.Transparent;
            this.imListFront.Images.SetKeyName(0, "");
            this.imListFront.Images.SetKeyName(1, "");
            this.imListFront.Images.SetKeyName(2, "");
            this.imListFront.Images.SetKeyName(3, "");
            this.imListFront.Images.SetKeyName(4, "");
            this.imListFront.Images.SetKeyName(5, "");
            //
            // panelDesignVenstre
            //
            this.panelDesignVenstre.Controls.Add(this.lblKnap10Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap9Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap8Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap7Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap6Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap4Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap1Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap5Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap2Ven);
            this.panelDesignVenstre.Controls.Add(this.lblKnap3Ven);
            this.panelDesignVenstre.Location = new System.Drawing.Point(8, 112);
            this.panelDesignVenstre.Name = "panelDesignVenstre";
            this.panelDesignVenstre.Size = new System.Drawing.Size(216, 516);
            this.panelDesignVenstre.TabIndex = 11;
            //
            // lblKnap10Ven
            //
            this.lblKnap10Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap10Ven.ImageIndex = 0;
            this.lblKnap10Ven.ImageList = this.imListButton;
            this.lblKnap10Ven.Location = new System.Drawing.Point(8, 458);
            this.lblKnap10Ven.Name = "lblKnap10Ven";
            this.lblKnap10Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap10Ven.TabIndex = 2;
            this.lblKnap10Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap10Ven.Visible = false;
            this.lblKnap10Ven.Click += new System.EventHandler(this.lblKnap10ven_Click);
            this.lblKnap10Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap10ven_MouseDown);
            this.lblKnap10Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap10ven_MouseUp);
            //
            // lblKnap9Ven
            //
            this.lblKnap9Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap9Ven.ImageIndex = 0;
            this.lblKnap9Ven.ImageList = this.imListButton;
            this.lblKnap9Ven.Location = new System.Drawing.Point(8, 408);
            this.lblKnap9Ven.Name = "lblKnap9Ven";
            this.lblKnap9Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap9Ven.TabIndex = 2;
            this.lblKnap9Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap9Ven.Visible = false;
            this.lblKnap9Ven.Click += new System.EventHandler(this.lblKnap9ven_Click);
            this.lblKnap9Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap9ven_MouseDown);
            this.lblKnap9Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap9ven_MouseUp);
            //
            // lblKnap8Ven
            //
            this.lblKnap8Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap8Ven.ImageIndex = 0;
            this.lblKnap8Ven.ImageList = this.imListButton;
            this.lblKnap8Ven.Location = new System.Drawing.Point(8, 358);
            this.lblKnap8Ven.Name = "lblKnap8Ven";
            this.lblKnap8Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap8Ven.TabIndex = 2;
            this.lblKnap8Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap8Ven.Visible = false;
            this.lblKnap8Ven.Click += new System.EventHandler(this.lblKnap8ven_Click);
            this.lblKnap8Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap8ven_MouseDown);
            this.lblKnap8Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap8ven_MouseUp);
            //
            // lblKnap7Ven
            //
            this.lblKnap7Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap7Ven.ImageIndex = 0;
            this.lblKnap7Ven.ImageList = this.imListButton;
            this.lblKnap7Ven.Location = new System.Drawing.Point(8, 308);
            this.lblKnap7Ven.Name = "lblKnap7Ven";
            this.lblKnap7Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap7Ven.TabIndex = 2;
            this.lblKnap7Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap7Ven.Visible = false;
            this.lblKnap7Ven.Click += new System.EventHandler(this.lblKnap7ven_Click);
            this.lblKnap7Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap7ven_MouseDown);
            this.lblKnap7Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap7ven_MouseUp);
            //
            // lblKnap6Ven
            //
            this.lblKnap6Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap6Ven.ImageIndex = 0;
            this.lblKnap6Ven.ImageList = this.imListButton;
            this.lblKnap6Ven.Location = new System.Drawing.Point(8, 258);
            this.lblKnap6Ven.Name = "lblKnap6Ven";
            this.lblKnap6Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap6Ven.TabIndex = 2;
            this.lblKnap6Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap6Ven.Visible = false;
            this.lblKnap6Ven.Click += new System.EventHandler(this.lblKnap6Ven_Click);
            this.lblKnap6Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap6ven_MouseDown);
            this.lblKnap6Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap6ven_MouseUp);
            //
            // lblKnap4Ven
            //
            this.lblKnap4Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap4Ven.ImageIndex = 0;
            this.lblKnap4Ven.ImageList = this.imListButton;
            this.lblKnap4Ven.Location = new System.Drawing.Point(8, 158);
            this.lblKnap4Ven.Name = "lblKnap4Ven";
            this.lblKnap4Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap4Ven.TabIndex = 2;
            this.lblKnap4Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap4Ven.Visible = false;
            this.lblKnap4Ven.Click += new System.EventHandler(this.lblKnap4ven_Click);
            this.lblKnap4Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap4ven_MouseDown);
            this.lblKnap4Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap4ven_MouseUp);
            //
            // lblKnap1Ven
            //
            this.lblKnap1Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap1Ven.ImageIndex = 0;
            this.lblKnap1Ven.ImageList = this.imListButton;
            this.lblKnap1Ven.Location = new System.Drawing.Point(8, 8);
            this.lblKnap1Ven.Name = "lblKnap1Ven";
            this.lblKnap1Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap1Ven.TabIndex = 0;
            this.lblKnap1Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap1Ven.Visible = false;
            this.lblKnap1Ven.Click += new System.EventHandler(this.lblKnap1ven_Click);
            this.lblKnap1Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap1ven_MouseDown);
            this.lblKnap1Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap1ven_MouseUp);
            //
            // lblKnap5Ven
            //
            this.lblKnap5Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap5Ven.ImageIndex = 0;
            this.lblKnap5Ven.ImageList = this.imListButton;
            this.lblKnap5Ven.Location = new System.Drawing.Point(8, 208);
            this.lblKnap5Ven.Name = "lblKnap5Ven";
            this.lblKnap5Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap5Ven.TabIndex = 2;
            this.lblKnap5Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap5Ven.Visible = false;
            this.lblKnap5Ven.Click += new System.EventHandler(this.lblKnap5ven_Click);
            this.lblKnap5Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap5ven_MouseDown);
            this.lblKnap5Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap5ven_MouseUp);
            //
            // lblKnap2Ven
            //
            this.lblKnap2Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap2Ven.ImageIndex = 0;
            this.lblKnap2Ven.ImageList = this.imListButton;
            this.lblKnap2Ven.Location = new System.Drawing.Point(8, 58);
            this.lblKnap2Ven.Name = "lblKnap2Ven";
            this.lblKnap2Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap2Ven.TabIndex = 1;
            this.lblKnap2Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap2Ven.Visible = false;
            this.lblKnap2Ven.Click += new System.EventHandler(this.lblKnap2ven_Click);
            this.lblKnap2Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap2ven_MouseDown);
            this.lblKnap2Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap2ven_MouseUp);
            //
            // lblKnap3Ven
            //
            this.lblKnap3Ven.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap3Ven.ImageIndex = 0;
            this.lblKnap3Ven.ImageList = this.imListButton;
            this.lblKnap3Ven.Location = new System.Drawing.Point(8, 108);
            this.lblKnap3Ven.Name = "lblKnap3Ven";
            this.lblKnap3Ven.Size = new System.Drawing.Size(200, 50);
            this.lblKnap3Ven.TabIndex = 2;
            this.lblKnap3Ven.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap3Ven.Visible = false;
            this.lblKnap3Ven.Click += new System.EventHandler(this.lblKnap3ven_Click);
            this.lblKnap3Ven.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap3ven_MouseDown);
            this.lblKnap3Ven.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap3ven_MouseUp);
            //
            // btnShowEdit
            //
            this.btnShowEdit.Location = new System.Drawing.Point(24, 40);
            this.btnShowEdit.Name = "btnShowEdit";
            this.btnShowEdit.Size = new System.Drawing.Size
Avatar billede flvind Nybegynder
27. februar 2006 - 14:24 #17
//
            // btnShowEdit
            //
            this.btnShowEdit.Location = new System.Drawing.Point(24, 40);
            this.btnShowEdit.Name = "btnShowEdit";
            this.btnShowEdit.Size = new System.Drawing.Size(75, 23);
            this.btnShowEdit.TabIndex = 12;
            this.btnShowEdit.Text = "Show Edit";
            this.btnShowEdit.Click += new System.EventHandler(this.btnShowEdit_Click);
            //
            // panelDesignHøjre
            //
            this.panelDesignHøjre.Controls.Add(this.lblKnap10Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap9Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap8Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap7Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap6Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap4Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap1Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap5Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap2Hj);
            this.panelDesignHøjre.Controls.Add(this.lblKnap3Hj);
            this.panelDesignHøjre.Location = new System.Drawing.Point(792, 112);
            this.panelDesignHøjre.Name = "panelDesignHøjre";
            this.panelDesignHøjre.Size = new System.Drawing.Size(216, 516);
            this.panelDesignHøjre.TabIndex = 11;
            //
            // lblKnap10Hj
            //
            this.lblKnap10Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap10Hj.ImageIndex = 0;
            this.lblKnap10Hj.ImageList = this.imListButton;
            this.lblKnap10Hj.Location = new System.Drawing.Point(8, 458);
            this.lblKnap10Hj.Name = "lblKnap10Hj";
            this.lblKnap10Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap10Hj.TabIndex = 2;
            this.lblKnap10Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap10Hj.Visible = false;
            this.lblKnap10Hj.Click += new System.EventHandler(this.lblKnap10Hj_Click);
            this.lblKnap10Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap10Hj_MouseDown);
            this.lblKnap10Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap10Hj_MouseUp);
            //
            // lblKnap9Hj
            //
            this.lblKnap9Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap9Hj.ImageIndex = 0;
            this.lblKnap9Hj.ImageList = this.imListButton;
            this.lblKnap9Hj.Location = new System.Drawing.Point(8, 408);
            this.lblKnap9Hj.Name = "lblKnap9Hj";
            this.lblKnap9Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap9Hj.TabIndex = 2;
            this.lblKnap9Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap9Hj.Visible = false;
            this.lblKnap9Hj.Click += new System.EventHandler(this.lblKnap9Hj_Click);
            this.lblKnap9Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap9Hj_MouseDown);
            this.lblKnap9Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap9Hj_MouseUp);
            //
            // lblKnap8Hj
            //
            this.lblKnap8Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap8Hj.ImageIndex = 0;
            this.lblKnap8Hj.ImageList = this.imListButton;
            this.lblKnap8Hj.Location = new System.Drawing.Point(8, 358);
            this.lblKnap8Hj.Name = "lblKnap8Hj";
            this.lblKnap8Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap8Hj.TabIndex = 2;
            this.lblKnap8Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap8Hj.Visible = false;
            this.lblKnap8Hj.Click += new System.EventHandler(this.lblKnap8Hj_Click);
            this.lblKnap8Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap8Hj_MouseDown);
            this.lblKnap8Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap8Hj_MouseDown);
            //
            // lblKnap7Hj
            //
            this.lblKnap7Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap7Hj.ImageIndex = 0;
            this.lblKnap7Hj.ImageList = this.imListButton;
            this.lblKnap7Hj.Location = new System.Drawing.Point(8, 308);
            this.lblKnap7Hj.Name = "lblKnap7Hj";
            this.lblKnap7Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap7Hj.TabIndex = 2;
            this.lblKnap7Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap7Hj.Visible = false;
            this.lblKnap7Hj.Click += new System.EventHandler(this.lblKnap7Hj_Click);
            this.lblKnap7Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap7Hj_MouseDown);
            this.lblKnap7Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap7Hj_MouseUp);
            //
            // lblKnap6Hj
            //
            this.lblKnap6Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap6Hj.ImageIndex = 0;
            this.lblKnap6Hj.ImageList = this.imListButton;
            this.lblKnap6Hj.Location = new System.Drawing.Point(8, 258);
            this.lblKnap6Hj.Name = "lblKnap6Hj";
            this.lblKnap6Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap6Hj.TabIndex = 2;
            this.lblKnap6Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap6Hj.Visible = false;
            this.lblKnap6Hj.Click += new System.EventHandler(this.lblKnap6Hj_Click);
            this.lblKnap6Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap6Hj_MouseDown);
            this.lblKnap6Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap6Hj_MouseUp);
            //
            // lblKnap4Hj
            //
            this.lblKnap4Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap4Hj.ImageIndex = 0;
            this.lblKnap4Hj.ImageList = this.imListButton;
            this.lblKnap4Hj.Location = new System.Drawing.Point(8, 158);
            this.lblKnap4Hj.Name = "lblKnap4Hj";
            this.lblKnap4Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap4Hj.TabIndex = 2;
            this.lblKnap4Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap4Hj.Visible = false;
            this.lblKnap4Hj.Click += new System.EventHandler(this.lblKnap4Hj_Click);
            this.lblKnap4Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap4Hj_MouseDown);
            this.lblKnap4Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap4Hj_MouseUp);
            //
            // lblKnap1Hj
            //
            this.lblKnap1Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap1Hj.ImageIndex = 0;
            this.lblKnap1Hj.ImageList = this.imListButton;
            this.lblKnap1Hj.Location = new System.Drawing.Point(8, 8);
            this.lblKnap1Hj.Name = "lblKnap1Hj";
            this.lblKnap1Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap1Hj.TabIndex = 0;
            this.lblKnap1Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap1Hj.Visible = false;
            this.lblKnap1Hj.Click += new System.EventHandler(this.lblKnap1Hj_Click);
            this.lblKnap1Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap1Hj_MouseDown);
            this.lblKnap1Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap1Hj_MouseUp);
            //
            // lblKnap5Hj
            //
            this.lblKnap5Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap5Hj.ImageIndex = 0;
            this.lblKnap5Hj.ImageList = this.imListButton;
            this.lblKnap5Hj.Location = new System.Drawing.Point(8, 208);
            this.lblKnap5Hj.Name = "lblKnap5Hj";
            this.lblKnap5Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap5Hj.TabIndex = 2;
            this.lblKnap5Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap5Hj.Visible = false;
            this.lblKnap5Hj.Click += new System.EventHandler(this.lblKnap5Hj_Click);
            this.lblKnap5Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap5Hj_MouseDown);
            this.lblKnap5Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap5Hj_MouseUp);
            //
            // lblKnap2Hj
            //
            this.lblKnap2Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap2Hj.ImageIndex = 0;
            this.lblKnap2Hj.ImageList = this.imListButton;
            this.lblKnap2Hj.Location = new System.Drawing.Point(8, 58);
            this.lblKnap2Hj.Name = "lblKnap2Hj";
            this.lblKnap2Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap2Hj.TabIndex = 1;
            this.lblKnap2Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap2Hj.Visible = false;
            this.lblKnap2Hj.Click += new System.EventHandler(this.lblKnap2Hj_Click);
            this.lblKnap2Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap2Hj_MouseDown);
            this.lblKnap2Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap2Hj_MouseUp);
            //
            // lblKnap3Hj
            //
            this.lblKnap3Hj.Font = new System.Drawing.Font("Bookman Old Style", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblKnap3Hj.ImageIndex = 0;
            this.lblKnap3Hj.ImageList = this.imListButton;
            this.lblKnap3Hj.Location = new System.Drawing.Point(8, 108);
            this.lblKnap3Hj.Name = "lblKnap3Hj";
            this.lblKnap3Hj.Size = new System.Drawing.Size(200, 50);
            this.lblKnap3Hj.TabIndex = 2;
            this.lblKnap3Hj.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblKnap3Hj.Visible = false;
            this.lblKnap3Hj.Click += new System.EventHandler(this.lblKnap3Hj_Click);
            this.lblKnap3Hj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblKnap3Hj_MouseDown);
            this.lblKnap3Hj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblKnap3Hj_MouseUp);
            //
            // lblBynavn
            //
            this.lblBynavn.Font = new System.Drawing.Font("Monotype Corsiva", 36F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblBynavn.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
            this.lblBynavn.ImageIndex = 0;
            this.lblBynavn.ImageList = this.imListLogo;
            this.lblBynavn.Location = new System.Drawing.Point(384, 65);
            this.lblBynavn.Name = "lblBynavn";
            this.lblBynavn.Size = new System.Drawing.Size(250, 100);
            this.lblBynavn.TabIndex = 16;
            this.lblBynavn.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblBynavn.Visible = false;
            //
            // imListLogo
            //
            this.imListLogo.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imListLogo.ImageStream")));
            this.imListLogo.TransparentColor = System.Drawing.Color.Transparent;
            this.imListLogo.Images.SetKeyName(0, "LogoBlue.gif");
            this.imListLogo.Images.SetKeyName(1, "LogoBrown.gif");
            this.imListLogo.Images.SetKeyName(2, "LogoGreen.gif");
            this.imListLogo.Images.SetKeyName(3, "LogoRed.gif");
            this.imListLogo.Images.SetKeyName(4, "LogoSilver.gif");
            //
            // lblHilsen
            //
            this.lblHilsen.Font = new System.Drawing.Font("Bookman Old Style", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.lblHilsen.Location = new System.Drawing.Point(260, 9);
            this.lblHilsen.Name = "lblHilsen";
            this.lblHilsen.Size = new System.Drawing.Size(500, 48);
            this.lblHilsen.TabIndex = 17;
            this.lblHilsen.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // panelCenter
            //
            this.panelCenter.BackColor = System.Drawing.Color.Transparent;
            this.panelCenter.Controls.Add(this.dGridFront);
            this.panelCenter.Location = new System.Drawing.Point(242, 168);
            this.panelCenter.Name = "panelCenter";
            this.panelCenter.Size = new System.Drawing.Size(540, 460);
            this.panelCenter.TabIndex = 18;
            //
            // dGridFront
            //
            this.dGridFront.BackColor = System.Drawing.SystemColors.Control;
            this.dGridFront.BackgroundColor = System.Drawing.SystemColors.Control;
            this.dGridFront.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.dGridFront.CaptionVisible = false;
            this.dGridFront.ColumnHeadersVisible = false;
            this.dGridFront.DataMember = "";
            this.dGridFront.FlatMode = true;
            this.dGridFront.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.dGridFront.Location = new System.Drawing.Point(6, 3);
            this.dGridFront.Name = "dGridFront";
            this.dGridFront.ReadOnly = true;
            this.dGridFront.RowHeadersVisible = false;
            this.dGridFront.Size = new System.Drawing.Size(528, 360);
            this.dGridFront.TabIndex = 0;
            //
            // btnShowData
            //
            this.btnShowData.Location = new System.Drawing.Point(24, 72);
            this.btnShowData.Name = "btnShowData";
            this.btnShowData.Size = new System.Drawing.Size(75, 23);
            this.btnShowData.TabIndex = 19;
            this.btnShowData.Text = "Show Data";
            this.btnShowData.Click += new System.EventHandler(this.btnShowData_Click);
            //
            // lblNavCen
            //
            this.lblNavCen.Enabled = false;
            this.lblNavCen.ImageIndex = 5;
            this.lblNavCen.ImageList = this.imListFlagNav;
            this.lblNavCen.Location = new System.Drawing.Point(462, 672);
            this.lblNavCen.Name = "lblNavCen";
            this.lblNavCen.Size = new System.Drawing.Size(100, 50);
            this.lblNavCen.TabIndex = 20;
            this.lblNavCen.Text = "center";
            this.lblNavCen.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.lblNavCen.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblNavCen_MouseDown);
            this.lblNavCen.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblNavCen_MouseUp);
            //
            // lblNavVen
            //
            this.lblNavVen.ImageIndex = 3;
            this.lblNavVen.ImageList = this.imListFlagNav;
            this.lblNavVen.Location = new System.Drawing.Point(416, 672);
            this.lblNavVen.Name = "lblNavVen";
            this.lblNavVen.Size = new System.Drawing.Size(100, 50);
            this.lblNavVen.TabIndex = 20;
            this.lblNavVen.Text = "venstre";
            this.lblNavVen.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.lblNavVen.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblNavVen_MouseDown);
            this.lblNavVen.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblNavVen_MouseUp);
            //
            // lblNavHj
            //
            this.lblNavHj.ImageIndex = 7;
            this.lblNavHj.ImageList = this.imListFlagNav;
            this.lblNavHj.Location = new System.Drawing.Point(492, 672);
            this.lblNavHj.Name = "lblNavHj";
            this.lblNavHj.Size = new System.Drawing.Size(100, 50);
            this.lblNavHj.TabIndex = 20;
            this.lblNavHj.Text = "Højre";
            this.lblNavHj.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.lblNavHj.MouseDown += new System.Windows.Forms.MouseEventHandler(this.lblNavHj_MouseDown);
            this.lblNavHj.MouseUp += new System.Windows.Forms.MouseEventHandler(this.lblNavHj_MouseUp);
            //
            // fclsDesign
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor = System.Drawing.SystemColors.ActiveBorder;
            this.ClientSize = new System.Drawing.Size(1018, 743);
            this.Controls.Add(this.btnShowData);
            this.Controls.Add(this.lblHilsen);
            this.Controls.Add(this.lblBynavn);
            this.Controls.Add(this.btnShowEdit);
            this.Controls.Add(this.panelDesignVenstre);
            this.Controls.Add(this.paLanguages);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.PicBoxFront);
            this.Controls.Add(this.panelDesignHøjre);
            this.Controls.Add(this.panelCenter);
            this.Controls.Add(this.lblNavVen);
            this.Controls.Add(this.lblNavHj);
            this.Controls.Add(this.lblNavCen);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "fclsDesign";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "Design";
            this.Load += new System.EventHandler(this.fclsDesign_Load);
            ((System.ComponentModel.ISupportInitialize)(this.PicBoxFront)).EndInit();
            this.paLanguages.ResumeLayout(false);
            this.panelDesignVenstre.ResumeLayout(false);
            this.panelDesignHøjre.ResumeLayout(false);
            this.panelCenter.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dGridFront)).EndInit();
            this.ResumeLayout(false);

        }
        #endregion

        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.Run(new fclsDesign());
        }
       
        private void fclsDesign_Load(object sender, System.EventArgs e)
        {

        }

//Funktioner for venstre side af knapperne
        private void lblKnap1ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap1Ven.Image = KnapNed;
        }
        private void lblKnap1ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap1Ven.Image = KnapOp;// billed;
        }

        private void lblKnap2ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap2Ven.Image = KnapNed;
        }

        private void lblKnap2ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap2Ven.Image = KnapOp;
        }
        private void lblKnap3ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap3Ven.Image = KnapNed;
        }

        private void lblKnap3ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap3Ven.Image = KnapOp;
        }

        private void lblKnap4ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap4Ven.Image = KnapNed;
        }

        private void lblKnap4ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap4Ven.Image = KnapOp;
        }

        private void lblKnap5ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap5Ven.Image = KnapNed;
        }

        private void lblKnap5ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap5Ven.Image = KnapOp;
        }

        private void lblKnap6ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap6Ven.Image = KnapNed;
        }

        private void lblKnap6ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap6Ven.Image = KnapOp;
        }

        private void lblKnap7ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap7Ven.Image = KnapNed;
        }

        private void lblKnap7ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap7Ven.Image = KnapOp;
        }

        private void lblKnap8ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap8Ven.Image = KnapNed;
        }

        private void lblKnap8ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap8Ven.Image = KnapOp;
        }

        private void lblKnap9ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap9Ven.Image = KnapNed;
        }

        private void lblKnap9ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap9Ven.Image = KnapOp;
        }

        private void lblKnap10ven_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap10Ven.Image = KnapNed;
        }

        private void lblKnap10ven_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap10Ven.Image = KnapOp;
        }
        //funktioner for click events
        private void lblKnap1ven_Click(object sender, System.EventArgs e)
        {
            Image billed = imListFront.Images[0];
            PicBoxFront.Image = billed;
        }

        private void lblKnap2ven_Click(object sender, System.EventArgs e)
        {
            Image billed = imListFront.Images[1];
            PicBoxFront.Image = billed;
        }

        private void lblKnap3ven_Click(object sender, System.EventArgs e)
        {
        Image billed = imListFront.Images[2];
            PicBoxFront.Image = billed;
        }

        private void lblKnap4ven_Click(object sender, System.EventArgs e)
        {
        Image billed = imListFront.Images[3];
            PicBoxFront.Image = billed;
        }

        private void lblKnap5ven_Click(object sender, System.EventArgs e)
        {
           
        }

        private void lblKnap6Ven_Click(object sender, System.EventArgs e)
        {
            butikData bd = new butikData();
            string member;
            member = "Table";
            dGridFront.SetDataBinding(bd.butikDataSet1(), member);//, member);
        }

        private void lblKnap7ven_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap8ven_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap9ven_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap10ven_Click(object sender, System.EventArgs e)
        {

        }

        //Funktioner for højre side af knapperne
        private void lblKnap1Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap1Hj.Image = KnapNed;
        }

        private void lblKnap1Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap1Hj.Image = KnapOp;
        }

        private void lblKnap2Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap2Hj.Image = KnapNed;
        }

        private void lblKnap2Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap2Hj.Image = KnapOp;
        }
        private void lblKnap3Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap3Hj.Image = KnapNed;
        }

        private void lblKnap3Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap3Hj.Image = KnapOp;
        }
        private void lblKnap4Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap4Hj.Image = KnapNed;
        }

        private void lblKnap4Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap4Hj.Image = KnapOp;
        }
        private void lblKnap5Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap5Hj.Image = KnapNed;
        }

        private void lblKnap5Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap5Hj.Image = KnapOp;
        }
        private void lblKnap6Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap6Hj.Image = KnapNed;
        }

        private void lblKnap6Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap6Hj.Image = KnapOp;
        }

        private void lblKnap7Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap7Hj.Image = KnapNed;
        }

        private void lblKnap7Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap7Hj.Image = KnapOp;
        }

        private void lblKnap8Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap8Hj.Image = KnapNed;
        }

        private void lblKnap8Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap8Hj.Image = KnapOp;
        }

        private void lblKnap9Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap9Hj.Image = KnapNed;
        }

        private void lblKnap9Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap9Hj.Image = KnapOp;
        }

        private void lblKnap10Hj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap10Hj.Image = KnapNed;
        }

        private void lblKnap10Hj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            lblKnap10Hj.Image = KnapOp;
        }
        // Funktioner for click events
        private void lblKnap1Hj_Click(object sender, System.EventArgs e)
        {
            spiseData sd = new spiseData();
            string member;
            member = "Table";
            dGridFront.SetDataBinding(sd.spiseDataSet1(), member);//, member);
        }

        private void lblKnap2Hj_Click(object sender, System.EventArgs e)
        {
            aktivData ad = new aktivData();
            string member;
            member = "Table";
            dGridFront.SetDataBinding(ad.aktivDataSet1(), member);
        }

        private void lblKnap3Hj_Click(object sender, System.EventArgs e)
        {
            atrakData atd = new atrakData();
            string member;
            member = "Table";
            dGridFront.SetDataBinding(atd.atrakDataSet1(), member);
        }

        private void lblKnap4Hj_Click(object sender, System.EventArgs e)
        {
            overData od = new overData();
            string member;
            member = "Table";
            dGridFront.SetDataBinding(od.overDataSet1(), member);
        }

        private void lblKnap5Hj_Click(object sender, System.EventArgs e)
        {
       
        }

        private void lblKnap6Hj_Click(object sender, System.EventArgs e)
        {
       
        }

        private void lblKnap7Hj_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap8Hj_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap9Hj_Click(object sender, System.EventArgs e)
        {

        }

        private void lblKnap10Hj_Click(object sender, System.EventArgs e)
        {
           
        }

        //luk knap
       

       
        private void btnClose_Click(object sender, System.EventArgs e)
        {
            this.Close();
        }

        private void btnShowEdit_Click(object sender, System.EventArgs e)
        {
            //fclsEdit objForm =  (new fclsEdit());
            //objForm.Show();
           
            fclsEdit fclsEdit = new fclsEdit(this);
            fclsEdit.ShowDialog();
            }

        private void btnShowData_Click(object sender, System.EventArgs e)
        {
            fclsData fclsData = new fclsData(this);
            fclsData.ShowDialog();
        }

//Nav knapper
        private void lblNavVen_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            Image billed = imListFlagNav.Images[4];
            lblNavVen.Image = billed;
        }

        private void lblNavVen_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            Image billed = imListFlagNav.Images[3];
            lblNavVen.Image = billed;
        }

        private void lblNavCen_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            Image billed = imListFlagNav.Images[6];
            lblNavCen.Image = billed;
        }

        private void lblNavCen_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            Image billed = imListFlagNav.Images[5];
            lblNavCen.Image = billed;
        }


        private void lblNavHj_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            Image billed = imListFlagNav.Images[8];
            lblNavHj.Image = billed;
        }

        private void lblNavHj_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            Image billed = imListFlagNav.Images[7];
            lblNavHj.Image = billed;
        }
      }
}
-------------- Designform kode slut------------

-------------- dataform kode start ------------
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Xml;
using System.Data.SqlClient;
using System.Data;

namespace design
{
    /// <summary>
    /// Summary description for fclsData.
    /// </summary>
    public class fclsData : System.Windows.Forms.Form
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        ///
        public System.Data.SqlClient.SqlConnection sqlConnection1;//husk at slette
        private fclsDesign mf;
        private fclsEdit ef;
        private System.Windows.Forms.Button btnHide;
        //DataGrid
        private System.Windows.Forms.DataGrid dataGridData;
        //Knapper
        private System.Windows.Forms.Button btnSpise;
        private System.Windows.Forms.Button btnButik;
        private System.Windows.Forms.Button btnAtrak;
        private System.Windows.Forms.Button btnAktiv;
        private System.Windows.Forms.Button btnOver;
        private System.Windows.Forms.Button btnTest;
        private System.Windows.Forms.TextBox tbIndhold;
        private System.Windows.Forms.TextBox tbCell;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Label lblDatabase;
        private System.Windows.Forms.Panel panel2;
        private System.Windows.Forms.Label lblSkanner;
        private System.Windows.Forms.Button btnDataS;
        private System.Data.DataSet dataSet1;
        private System.Windows.Forms.Button button5;
        private System.Windows.Forms.Button btReadDaS;
        private System.Windows.Forms.GroupBox groupBox1;
        private TextBox tbRow;
        private Button btnSkan;
        private DataGrid dataGridSkan;
        private Button button1;
        private Button button2;
        private DataGrid dataGridNode;
        //
       
        //
        private System.ComponentModel.Container components = null;
        //end declare

        public fclsData(fclsDesign mf)
        {
            //
            // Required for Windows Form Designer support
            //
            this.ef = ef;
            this.mf = mf;
            InitializeComponent();
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }


        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose( bool disposing )
        {
            if( disposing )
            {
                if(components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose( disposing );
        }
       

        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.btnHide = new System.Windows.Forms.Button();
            this.dataGridData = new System.Windows.Forms.DataGrid();
            this.btnSpise = new System.Windows.Forms.Button();
            this.btnButik = new System.Windows.Forms.Button();
            this.btnAtrak = new System.Windows.Forms.Button();
            this.btnAktiv = new System.Windows.Forms.Button();
            this.btnOver = new System.Windows.Forms.Button();
            this.btnTest = new System.Windows.Forms.Button();
            this.tbIndhold = new System.Windows.Forms.TextBox();
            this.tbCell = new System.Windows.Forms.TextBox();
            this.panel1 = new System.Windows.Forms.Panel();
            this.groupBox1 = new System.Windows.Forms.GroupBox();
            this.button5 = new System.Windows.Forms.Button();
            this.tbRow = new System.Windows.Forms.TextBox();
            this.btReadDaS = new System.Windows.Forms.Button();
            this.lblDatabase = new System.Windows.Forms.Label();
            this.panel2 = new System.Windows.Forms.Panel();
            this.button1 = new System.Windows.Forms.Button();
            this.dataGridSkan = new System.Windows.Forms.DataGrid();
            this.btnSkan = new System.Windows.Forms.Button();
            this.btnDataS = new System.Windows.Forms.Button();
            this.lblSkanner = new System.Windows.Forms.Label();
            this.dataSet1 = new System.Data.DataSet();
            this.dataGridNode = new System.Windows.Forms.DataGrid();
            this.button2 = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridData)).BeginInit();
            this.panel1.SuspendLayout();
            this.groupBox1.SuspendLayout();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridSkan)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridNode)).BeginInit();
            this.SuspendLayout();
            //
            // btnHide
            //
            this.btnHide.Location = new System.Drawing.Point(8, 8);
            this.btnHide.Name = "btnHide";
            this.btnHide.Size = new System.Drawing.Size(75, 23);
            this.btnHide.TabIndex = 0;
            this.btnHide.Text = "Hide";
            this.btnHide.Click += new System.EventHandler(this.btnHide_Click);
            //
            // dataGridData
            //
            this.dataGridData.BackgroundColor = System.Drawing.SystemColors.Control;
            this.dataGridData.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.dataGridData.DataMember = "";
            this.dataGridData.FlatMode = true;
            this.dataGridData.Font = new System.Drawing.Font("Bookman Old Style", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.dataGridData.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.dataGridData.Location = new System.Drawing.Point(88, 8);
            this.dataGridData.Name = "dataGridData";
            this.dataGridData.ReadOnly = true;
            this.dataGridData.Size = new System.Drawing.Size(872, 192);
            this.dataGridData.TabIndex = 1;
            this.dataGridData.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged);
            //
            // btnSpise
            //
            this.btnSpise.Location = new System.Drawing.Point(8, 8);
            this.btnSpise.Name = "btnSpise";
            this.btnSpise.Size = new System.Drawing.Size(75, 23);
            this.btnSpise.TabIndex = 2;
            this.btnSpise.Text = "Spisesteder";
            this.btnSpise.Click += new System.EventHandler(this.btnSpise_Click);
            //
            // btnButik
            //
            this.btnButik.Location = new System.Drawing.Point(8, 40);
            this.btnButik.Name = "btnButik";
            this.btnButik.Size = new System.Drawing.Size(75, 23);
            this.btnButik.TabIndex = 3;
            this.btnButik.Text = "Butikker";
            this.btnButik.Click += new System.EventHandler(this.btnButik_Click);
            //
            // btnAtrak
            //
            this.btnAtrak.Location = new System.Drawing.Point(8, 64);
            this.btnAtrak.Name = "btnAtrak";
            this.btnAtrak.Size = new System.Drawing.Size(75, 23);
            this.btnAtrak.TabIndex = 3;
            this.btnAtrak.Text = "Atraktioner";
            this.btnAtrak.Click += new System.EventHandler(this.btnAtrak_Click);
            //
            // btnAktiv
            //
            this.btnAktiv.Location = new System.Drawing.Point(8, 96);
            this.btnAktiv.Name = "btnAktiv";
            this.btnAktiv.Size = new System.Drawing.Size(75, 23);
            this.btnAktiv.TabIndex = 4;
            this.btnAktiv.Text = "Aktiviteter";
            this.btnAktiv.Click += new System.EventHandler(this.btnAktiv_Click);
            //
            // btnOver
            //
            this.btnOver.Location = new System.Drawing.Point(8, 128);
            this.btnOver.Name = "btnOver";
            this.btnOver.Size = new System.Drawing.Size(75, 23);
            this.btnOver.TabIndex = 5;
            this.btnOver.Text = "Overnatning";
            this.btnOver.Click += new System.EventHandler(this.btnOver_Click);
            //
            // btnTest
            //
            this.btnTest.Location = new System.Drawing.Point(411, 53);
            this.btnTest.Name = "btnTest";
            this.btnTest.Size = new System.Drawing.Size(75, 23);
            this.btnTest.TabIndex = 6;
            this.btnTest.Text = "test";
            this.btnTest.Click += new System.EventHandler(this.btnTest_Click);
            //
            // tbIndhold
            //
            this.tbIndhold.Location = new System.Drawing.Point(32, 56);
            this.tbIndhold.Name = "tbIndhold";
            this.tbIndhold.Size = new System.Drawing.Size(100, 20);
            this.tbIndhold.TabIndex = 7;
            //
            // tbCell
            //
            this.tbCell.Location = new System.Drawing.Point(138, 56);
            this.tbCell.Name = "tbCell";
            this.tbCell.Size = new System.Drawing.Size(100, 20);
            this.tbCell.TabIndex = 8;
            //
            // panel1
            //
            this.panel1.Controls.Add(this.groupBox1);
            this.panel1.Controls.Add(this.dataGridData);
            this.panel1.Controls.Add(this.btnSpise);
            this.panel1.Controls.Add(this.btnButik);
            this.panel1.Controls.Add(this.btnAtrak);
            this.panel1.Controls.Add(this.btnAktiv);
            this.panel1.Controls.Add(this.btnOver);
            this.panel1.Location = new System.Drawing.Point(24, 56);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(968, 304);
            this.panel1.TabIndex = 9;
            //
            // groupBox1
            //
            this.groupBox1.Controls.Add(this.btnTest);
            this.groupBox1.Controls.Add(this.tbIndhold);
            this.groupBox1.Controls.Add(this.button5);
            this.groupBox1.Controls.Add(this.tbRow);
            this.groupBox1.Controls.Add(this.tbCell);
            this.groupBox1.Controls.Add(this.btReadDaS);
            this.groupBox1.Location = new System.Drawing.Point(48, 208);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(696, 88);
            this.groupBox1.TabIndex = 11;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "groupBox1";
            //
            // button5
            //
            this.button5.Location = new System.Drawing.Point(506, 19);
            this.button5.Name = "button5";
            this.button5.Size = new System.Drawing.Size(75, 23);
            this.button5.TabIndex = 9;
            this.button5.Text = "button5";
            this.button5.Click += new System.EventHandler(this.button5_Click);
            //
            // tbRow
            //
            this.tbRow.Location = new System.Drawing.Point(244, 56);
            this.tbRow.Name = "tbRow";
            this.tbRow.Size = new System.Drawing.Size(100, 20);
            this.tbRow.TabIndex = 8;
            //
            // btReadDaS
            //
            this.btReadDaS.Location = new System.Drawing.Point(32, 19);
            this.btReadDaS.Name = "btReadDaS";
            this.btReadDaS.Size = new System.Drawing.Size(100, 23);
            this.btReadDaS.TabIndex = 10;
            this.btReadDaS.Text = "Read into daS";
            this.btReadDaS.Click += new System.EventHandler(this.button6_Click);
            //
            // lblDatabase
            //
            this.lblDatabase.Location = new System.Drawing.Point(458, 24);
            this.lblDatabase.Name = "lblDatabase";
            this.lblDatabase.Size = new System.Drawing.Size(100, 23);
            this.lblDatabase.TabIndex = 10;
            this.lblDatabase.Text = "Database";
            this.lblDatabase.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // panel2
            //
            this.panel2.Controls.Add(this.button2);
            this.panel2.Controls.Add(this.dataGridNode);
            this.panel2.Controls.Add(this.button1);
            this.panel2.Controls.Add(this.dataGridSkan);
            this.panel2.Controls.Add(this.btnSkan);
            this.panel2.Controls.Add(this.btnDataS);
            this.panel2.Location = new System.Drawing.Point(24, 392);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(968, 336);
            this.panel2.TabIndex = 11;
            //
            // button1
            //
            this.button1.Location = new System.Drawing.Point(49, 98);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(75, 23);
            this.button1.TabIndex = 2;
            this.button1.Text = "button1";
            this.button1.UseVisualStyleBackColor = true;
            this.button1.Click += new System.EventHandler(this.button1_Click_1);
            //
            // dataGridSkan
            //
            this.dataGridSkan.DataMember = "";
            this.dataGridSkan.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.dataGridSkan.Location = new System.Drawing.Point(144, 21);
            this.dataGridSkan.Name = "dataGridSkan";
            this.dataGridSkan.Size = new System.Drawing.Size(806, 154);
            this.dataGridSkan.TabIndex = 1;
            //
            // btnSkan
            //
            this.btnSkan.Location = new System.Drawing.Point(8, 49);
            this.btnSkan.Name = "btnSkan";
            this.btnSkan.Size = new System.Drawing.Size(114, 23);
            this.btnSkan.TabIndex = 0;
            this.btnSkan.Text = "Read Skan";
            this.btnSkan.Click += new System.EventHandler(this.button1_Click);
            //
            // btnDataS
            //
            this.btnDataS.Location = new System.Drawing.Point(8, 20);
            this.btnDataS.Name = "btnDataS";
            this.btnDataS.Size = new System.Drawing.Size(114, 23);
            this.btnDataS.TabIndex = 0;
            this.btnDataS.Text = "Read Into dataSet1";
            this.btnDataS.Click += new System.EventHandler(this.button1_Click);
            //
            // lblSkanner
            //
            this.lblSkanner.Location = new System.Drawing.Point(458, 368);
            this.lblSkanner.Name = "lblSkanner";
            this.lblSkanner.Size = new System.Drawing.Size(100, 23);
            this.lblSkanner.TabIndex = 12;
            this.lblSkanner.Text = "Skanner";
            this.lblSkanner.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
            //
            // dataSet1
            //
            this.dataSet1.DataSetName = "myDataSet";
            this.dataSet1.Locale = new System.Globalization.CultureInfo("da-DK");
            //
            // dataGridNode
            //
            this.dataGridNode.DataMember = "";
            this.dataGridNode.HeaderForeColor = System.Drawing.SystemColors.ControlText;
            this.dataGridNode.Location = new System.Drawing.Point(143, 198);
            this.dataGridNode.Name = "dataGridNode";
            this.dataGridNode.Size = new System.Drawing.Size(807, 113);
            this.dataGridNode.TabIndex = 3;
            //
            // button2
            //
            this.button2.Location = new System.Drawing.Point(26, 176);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(75, 23);
            this.button2.TabIndex = 4;
            this.button2.Text = "button2";
            this.button2.UseVisualStyleBackColor = true;
            this.button2.Click += new System.EventHandler(this.button2_Click_1);
            //
            // fclsData
            //
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.ClientSize = new System.Drawing.Size(1016, 741);
            this.Controls.Add(this.lblSkanner);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.lblDatabase);
            this.Controls.Add(this.btnHide);
            this.Controls.Add(this.panel1);
            this.Name = "fclsData";
            this.Text = "fclsData";
            this.Load += new System.EventHandler(this.fclsData_Load);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridData)).EndInit();
            this.panel1.ResumeLayout(false);
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.dataGridSkan)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataSet1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dataGridNode)).EndInit();
            this.ResumeLayout(false);

        }
        #endregion

        private void btnHide_Click(object sender, System.EventArgs e)
        {
            this.Hide();
        }

        private void fclsData_Load(object sender, System.EventArgs e)
        {
           
            //sqlDataAdapter1.Fill(spiseDataSet1);
        }

        private void btnSpise_Click(object sender, System.EventArgs e)
        {
            spiseData sd = new spiseData();
            string member;
            member = "Table";
            dataGridData.SetDataBinding(sd.spiseDataSet1(), member);
        }

        private void btnButik_Click(object sender, System.EventArgs e)
        {
            butikData bd = new butikData();
            string member;
            member = "Table";
            dataGridData.SetDataBinding(bd.butikDataSet1(), member);
        }

        private void btnAtrak_Click(object sender, System.EventArgs e)
        {
            atrakData atd = new atrakData();
            string member;
            member = "Table";
            dataGridData.SetDataBinding(atd.atrakDataSet1(), member);
        }

        private void btnAktiv_Click(object sender, System.EventArgs e)
        {
            aktivData ad = new aktivData();
            string member;
            member = "Table";
            dataGridData.SetDataBinding(ad.aktivDataSet1(), member);
        }

        private void btnOver_Click(object sender, System.EventArgs e)
        {
            overData od = new overData();
            string member;
            member = "Table";
            dataGridData.SetDataBinding(od.overDataSet1(), member);
        }

        private void btnTest_Click(object sender, System.EventArgs e)
        {
            readXmlData xd = new readXmlData();
            dataGridData.DataSource = xd.readXmlDataSet1();
            dataGridData.DataMember = "Product";
            dataGridData.CaptionText = dataGridData.DataMember;
        }



        private void dataGrid1_CurrentCellChanged(object sender, System.EventArgs e)
        {
            tbIndhold.Text = dataGridData[dataGridData.CurrentRowIndex, dataGridData.CurrentCell.ColumnNumber].ToString();
            int currentcell;
            int currentrow;
            currentcell = dataGridData.CurrentCell.RowNumber + 1;
            currentrow = dataGridData.CurrentCell.ColumnNumber + 1;
            tbCell.Text = currentcell.ToString();
            tbRow.Text = currentrow.ToString();
        }

        private void button1_Click(object sender, System.EventArgs e)
        {
            DataSet dataSet1 = new DataSet();
            dataSet1.ReadXml(@"C:\xml\ribe.xml");
            dataGridSkan.DataSource = dataSet1;
            dataGridSkan.DataMember = "Product";
            //dataGridSkan.col = dataGrid1.DataMember;
        }

        private void button2_Click(object sender, System.EventArgs e)
        {
            XmlDocument doc = new XmlDocument();
            doc.Load(@"c:\xml\ribe.xml");
            XmlNodeList produkter = doc.GetElementsByTagName("Product");
            foreach(XmlNode Product in produkter)
            {
                string uuid = Product.ChildNodes[0].FirstChild.Value;
                string internalname = Product.ChildNodes[1].FirstChild.Value;
                string status = Product.ChildNodes[2].FirstChild.Value;
                string owner = Product.ChildNodes[3].FirstChild.Value;
                Console.WriteLine(uuid + " " + internalname + " " + status + " " + owner);
               
            }
        }

        private void button3_Click(object sender, System.EventArgs e)
        {
            readXmlData xd = new readXmlData();
            dataGridData.DataSource = xd.readXmlDataSet1();
            dataGridData.DataMember = "Product";
            dataGridData.CaptionText = dataGridData.DataMember;
            //dataGrid1.SetDataBinding(xd.readXmlDataSet1(), "");
           

        }

        private void button4_Click(object sender, System.EventArgs e)
        {
            XmlDocument doc = new XmlDocument();
            doc.Load(@"c:\xml\ribe.xml");
            XmlNodeList produkter = doc.GetElementsByTagName("Product");
            foreach(XmlNode Product in produkter)
            {
                string col1 = Product.ChildNodes[0].FirstChild.Value;
                string col2 = Product.ChildNodes[1].FirstChild.Value;
                string col3 = Product.ChildNodes[2].FirstChild.Value;
                string col4 = Product.ChildNodes[3].FirstChild.Value;
                string col5 = Product.ChildNodes[4].FirstChild.Value;   
                string col6    =    Product.ChildNodes[5].FirstChild.Value    ;
                string col7    =    Product.ChildNodes[6].FirstChild.Value    ;
                string col8    =    Product.ChildNodes[7].FirstChild.Value    ;
                Console.WriteLine(col1 + " " + col2 + " " + col3 + " " + col4 + " " + col5 + " " + col6 + " " + col7 + " " + col8);
            }
        }

        private void button5_Click(object sender, System.EventArgs e)
        {
            aktivDK aDK = new aktivDK();
            string member;
            member = "Table";
            dataGridData.SetDataBinding(aDK.aktivDKDataSet1(), member);
        }

        private void button6_Click(object sender, System.EventArgs e)
        {

            DataSet daS = new DataSet();
            daS.ReadXml(@"C:\xml\ribe.xml");
            dataGridData.DataSource = daS;
            dataGridData.DataMember = "Product";
            dataGridData.CaptionText = dataGridData.DataMember;
           
           
        }

        private void button7_Click(object sender, System.EventArgs e)
        {
            DataSet dataSet1 = new DataSet();
            dataSet1.ReadXml(@"C:\xml\ribe.xml");
            dataGridData.DataSource = dataSet1;
            dataGridData.DataMember = "Product";
            dataGridData.CaptionText = dataGridData.DataMember;
        }

        private void button1_Click_1(object sender, EventArgs e)
        {
            sqlConnection1 = new SqlConnection();
            sqlConnection1.ConnectionString = "Data Source=FLEMSE;Initial Catalog=Tourhelp;Integrated Security=True";
            sqlConnection1.Open();

            SqlDataAdapter SQLAdap = new SqlDataAdapter("select * from fabrikat", sqlConnection1);
            //SqlCommandBuilder SQLBuilder = new SqlCommandBuilder(SQLAdap);
            DataSet DSFraSQL = new DataSet();
            DSFraSQL.ReadXml(@"c:\\xml\bil.xml");
            SQLAdap.Update(DSFraSQL);
        }
 
        private void button2_Click_1(object sender, EventArgs e)
        {
            XmlDocument doc = new XmlDocument();
            doc.Load(@"c:\xml\ribe.xml");
          // XmlNodeList produkter = SelectionRange();

        }
    }
}

---------------------Dataform kode slut ----------------

---------------------readxmldata klasse kode start --------
using System;
using System.Data.SqlClient;
using System.Data;
using System.Xml;


public class readXmlData
{
    public readXmlData()
    {
       
    }
   
    public System.Data.SqlClient.SqlConnection sqlConnection1;
    public System.Data.SqlClient.SqlDataAdapter sqlDataAdapter1;
    public System.Data.SqlClient.SqlCommand sqlCommand;
    public static DataSet readXmlDataSet;
   
    public DataSet readXmlDataSet1()
    {
        readXmlDataSet = new DataSet();
        string filePath = "C:\\xml\\ribe.xml";
        readXmlDataSet.ReadXml(filePath);
       
    return readXmlData.readXmlDataSet;
    }
}
-------------------readxmldata klasse slut -----------------

skal du bruge mere?
Avatar billede mikkel_sommer Nybegynder
28. februar 2006 - 23:27 #18
det var ikke så lidt ... arbejder du i visual studio?
Avatar billede flvind Nybegynder
01. marts 2006 - 08:38 #19
ja det gør jeg
Avatar billede mikkel_sommer Nybegynder
01. marts 2006 - 19:59 #20
kan du så ikke maile dit projekt til mig,

m.sommer@comxnet.dk
Avatar billede mikkel_sommer Nybegynder
04. marts 2006 - 17:15 #21
Hvilken version af VS bruger du?
Avatar billede flvind Nybegynder
06. marts 2006 - 08:43 #22
jeg bruger vs 2005
Avatar billede flvind Nybegynder
29. april 2006 - 14:22 #23
kan du ikke sende et svar for dit arbejde mikkel sommer?
Avatar billede mikkel_sommer Nybegynder
01. maj 2006 - 10:22 #24
Svar
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester