Answered Panels and bring to front

simsenVejle

Well-known member
Joined
Feb 14, 2021
Messages
46
Programming Experience
Beginner
Hi
I have made my on menu who works ok but a tiny/big problem.

In the top of my form I have one panel (I call it top panel). On that panel I have 6 small panels (each for each menu item. 2 of the small panels are tall/big (many sub menus).

If I show all 6 panels then there is a big white space before I can make the body. But it works. Doesn't look nice of the big empty space. I then have tried to scroll up the top panel, but then when running the form, the sub menus don't show up.

I have tried to bring in front/back of the panels - but nothing helps.

I have made a screen dump of the two ways

What I want is where I the top panel doesn't have so big white gap before the body, but show all the sub menus.

I hope you can help me :)

Best regards
SimsenVejle
 

Attachments

  • Panels Which doesnt show all the items.jpg
    Panels Which doesnt show all the items.jpg
    87.6 KB · Views: 92
  • Panels with big empty white space.jpg
    Panels with big empty white space.jpg
    89 KB · Views: 93
I like what you've done. Not bad, now it would be nice to fix that white space.

Can you show us the designer code for the top menu and the objects inside that panel?

If your app does not contain any sensitive information in it, I can open a private discussion with you, so you can send me your project privately, and I will try fix it for you? (I don't offer this to everyone.) You just caught me on a good day.

Otherwise you will need to show only the relevant code here and wrap your code in code tags for the panels and the objects and their property values too.
 
I too applaud our OP's visual design. I would suggest that they make use of Win32 API's and consequently WinForm's Owner Drawn menus instead of trying to simulate menus using panels ala HTML menus using <div>s or <li>s.

See example of owner drawn menu here:
 
I like what you've done. Not bad, now it would be nice to fix that white space.

Can you show us the designer code for the top menu and the objects inside that panel?

If your app does not contain any sensitive information in it, I can open a private discussion with you, so you can send me your project privately, and I will try fix it for you? (I don't offer this to everyone.) You just caught me on a good day.

Otherwise you will need to show only the relevant code here and wrap your code in code tags for the panels and the objects and their property values too.
I like what you've done. Not bad, now it would be nice to fix that white space.

Can you show us the designer code for the top menu and the objects inside that panel?

If your app does not contain any sensitive information in it, I can open a private discussion with you, so you can send me your project privately, and I will try fix it for you? (I don't offer this to everyone.) You just caught me on a good day.

Otherwise you will need to show only the relevant code here and wrap your code in code tags for the panels and the objects and their property values too.
Hi

Thank you very much. I have been sick the past 10 years, so I want to start all over again (haven't programmed anything the past 10 years.)

The designer code is here
C#:
namespace AnsiBugApplication

{

    partial class Admin_AddProjectForm

    {

        /// <summary>

        /// Required designer variable.

        /// </summary>

        private System.ComponentModel.IContainer components = null;



        /// <summary>

        /// Clean up any resources being used.

        /// </summary>

        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>

        protected override void Dispose(bool disposing)

        {

            if (disposing && (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()

        {

            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Admin_AddProjectForm));

            this.panTop = new System.Windows.Forms.Panel();

            this.PanReports = new System.Windows.Forms.Panel();

            this.panel3 = new System.Windows.Forms.Panel();

            this.PanReportsDropdownMenu = new System.Windows.Forms.Panel();

            this.btnManagement = new System.Windows.Forms.Button();

            this.BtnReportsClosedBugs = new System.Windows.Forms.Button();

            this.BtnReportsAllUnassigned = new System.Windows.Forms.Button();

            this.BtnReportsAllBugs = new System.Windows.Forms.Button();

            this.BtnReportsNewBugs = new System.Windows.Forms.Button();

            this.BtnReportsMyBugs = new System.Windows.Forms.Button();

            this.BtnTextReports = new System.Windows.Forms.Button();

            this.BtnReports = new System.Windows.Forms.Button();

            this.PanAdministration = new System.Windows.Forms.Panel();

            this.PanAdmDropdownMenu = new System.Windows.Forms.Panel();

            this.BtnAddProject = new System.Windows.Forms.Button();

            this.BtnViewProjects = new System.Windows.Forms.Button();

            this.btnViewUsers = new System.Windows.Forms.Button();

            this.BtnEditAccount = new System.Windows.Forms.Button();

            this.BtnAddUser = new System.Windows.Forms.Button();

            this.panel2 = new System.Windows.Forms.Panel();

            this.btnAdministration = new System.Windows.Forms.Button();

            this.PanPreferences = new System.Windows.Forms.Panel();

            this.PanPreferencesDropdownMenu = new System.Windows.Forms.Panel();

            this.BtnMyInfo = new System.Windows.Forms.Button();

            this.PanLineSettings = new System.Windows.Forms.Panel();

            this.btnPreferences = new System.Windows.Forms.Button();

            this.panProjects = new System.Windows.Forms.Panel();

            this.PanProjectDropdownMenu = new System.Windows.Forms.Panel();

            this.BtnAddBug = new System.Windows.Forms.Button();

            this.BtnDashboard = new System.Windows.Forms.Button();

            this.panLineProjects = new System.Windows.Forms.Panel();

            this.BtnProjects = new System.Windows.Forms.Button();

            this.panLists = new System.Windows.Forms.Panel();

            this.panLineLists = new System.Windows.Forms.Panel();

            this.PanListsDropdownMenu = new System.Windows.Forms.Panel();

            this.BtnClosedBugs = new System.Windows.Forms.Button();

            this.BtnUnassinedBugs = new System.Windows.Forms.Button();

            this.BtnAllBugs = new System.Windows.Forms.Button();

            this.BtnNewBugs = new System.Windows.Forms.Button();

            this.BtnMyBugs = new System.Windows.Forms.Button();

            this.BtnLists = new System.Windows.Forms.Button();

            this.panel1 = new System.Windows.Forms.Panel();

            this.PbxBugLogo = new System.Windows.Forms.PictureBox();

            this.PbxLogo = new System.Windows.Forms.PictureBox();

            this.btnLogout = new System.Windows.Forms.Button();

            this.dataGridView1 = new System.Windows.Forms.DataGridView();

            this.panTop.SuspendLayout();

            this.PanReports.SuspendLayout();

            this.PanReportsDropdownMenu.SuspendLayout();

            this.PanAdministration.SuspendLayout();

            this.PanAdmDropdownMenu.SuspendLayout();

            this.PanPreferences.SuspendLayout();

            this.PanPreferencesDropdownMenu.SuspendLayout();

            this.panProjects.SuspendLayout();

            this.PanProjectDropdownMenu.SuspendLayout();

            this.panLists.SuspendLayout();

            this.PanListsDropdownMenu.SuspendLayout();

            ((System.ComponentModel.ISupportInitialize)(this.PbxBugLogo)).BeginInit();

            ((System.ComponentModel.ISupportInitialize)(this.PbxLogo)).BeginInit();

            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();

            this.SuspendLayout();

            //

            // panTop

            //

            this.panTop.Controls.Add(this.PanReports);

            this.panTop.Controls.Add(this.PanAdministration);

            this.panTop.Controls.Add(this.PanPreferences);

            this.panTop.Controls.Add(this.panProjects);

            this.panTop.Controls.Add(this.panLists);

            this.panTop.Controls.Add(this.panel1);

            this.panTop.Controls.Add(this.PbxBugLogo);

            this.panTop.Controls.Add(this.PbxLogo);

            this.panTop.Controls.Add(this.btnLogout);

            this.panTop.Dock = System.Windows.Forms.DockStyle.Top;

            this.panTop.Location = new System.Drawing.Point(0, 0);

            this.panTop.Margin = new System.Windows.Forms.Padding(4);

            this.panTop.Name = "panTop";

            this.panTop.Size = new System.Drawing.Size(1374, 166);

            this.panTop.TabIndex = 0;

            //

            // PanReports

            //

            this.PanReports.Controls.Add(this.panel3);

            this.PanReports.Controls.Add(this.PanReportsDropdownMenu);

            this.PanReports.Controls.Add(this.BtnReports);

            this.PanReports.Location = new System.Drawing.Point(803, -2);

            this.PanReports.Name = "PanReports";

            this.PanReports.Size = new System.Drawing.Size(204, 246);

            this.PanReports.TabIndex = 10;

            this.PanReports.MouseLeave += new System.EventHandler(this.PanReports_MouseLeave);

            this.PanReports.MouseHover += new System.EventHandler(this.PanReports_MouseHover);

            //

            // panel3

            //

            this.panel3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.panel3.Location = new System.Drawing.Point(6, 27);

            this.panel3.Name = "panel3";

            this.panel3.Size = new System.Drawing.Size(136, 5);

            this.panel3.TabIndex = 8;

            //

            // PanReportsDropdownMenu

            //

            this.PanReportsDropdownMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.PanReportsDropdownMenu.Controls.Add(this.btnManagement);

            this.PanReportsDropdownMenu.Controls.Add(this.BtnReportsClosedBugs);

            this.PanReportsDropdownMenu.Controls.Add(this.BtnReportsAllUnassigned);

            this.PanReportsDropdownMenu.Controls.Add(this.BtnReportsAllBugs);

            this.PanReportsDropdownMenu.Controls.Add(this.BtnReportsNewBugs);

            this.PanReportsDropdownMenu.Controls.Add(this.BtnReportsMyBugs);

            this.PanReportsDropdownMenu.Controls.Add(this.BtnTextReports);

            this.PanReportsDropdownMenu.Location = new System.Drawing.Point(6, 29);

            this.PanReportsDropdownMenu.Name = "PanReportsDropdownMenu";

            this.PanReportsDropdownMenu.Size = new System.Drawing.Size(136, 216);

            this.PanReportsDropdownMenu.TabIndex = 5;

            //

            // btnManagement

            //

            this.btnManagement.BackColor = System.Drawing.Color.Transparent;

            this.btnManagement.FlatAppearance.BorderSize = 0;

            this.btnManagement.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.btnManagement.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.btnManagement.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.btnManagement.ForeColor = System.Drawing.Color.White;

            this.btnManagement.Location = new System.Drawing.Point(0, 182);

            this.btnManagement.Name = "btnManagement";

            this.btnManagement.Size = new System.Drawing.Size(122, 32);

            this.btnManagement.TabIndex = 10;

            this.btnManagement.Text = "Management";

            this.btnManagement.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.btnManagement.UseVisualStyleBackColor = false;

            this.btnManagement.Click += new System.EventHandler(this.btnManagement_Click);

            this.btnManagement.MouseLeave += new System.EventHandler(this.btnManagement_MouseLeave);

            this.btnManagement.MouseHover += new System.EventHandler(this.btnManagement_MouseHover);

            //

            // BtnReportsClosedBugs

            //

            this.BtnReportsClosedBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnReportsClosedBugs.FlatAppearance.BorderSize = 0;

            this.BtnReportsClosedBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsClosedBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsClosedBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnReportsClosedBugs.ForeColor = System.Drawing.Color.White;

            this.BtnReportsClosedBugs.Location = new System.Drawing.Point(0, 154);

            this.BtnReportsClosedBugs.Name = "BtnReportsClosedBugs";

            this.BtnReportsClosedBugs.Size = new System.Drawing.Size(122, 32);

            this.BtnReportsClosedBugs.TabIndex = 9;

            this.BtnReportsClosedBugs.Text = "Lukkede fejl";

            this.BtnReportsClosedBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnReportsClosedBugs.UseVisualStyleBackColor = false;

            this.BtnReportsClosedBugs.Click += new System.EventHandler(this.BtnReportsClosedBugs_Click);

            this.BtnReportsClosedBugs.MouseLeave += new System.EventHandler(this.BtnReportsClosedBugs_MouseLeave);

            this.BtnReportsClosedBugs.MouseHover += new System.EventHandler(this.BtnReportsClosedBugs_MouseHover);

            //

            // BtnReportsAllUnassigned

            //

            this.BtnReportsAllUnassigned.BackColor = System.Drawing.Color.Transparent;

            this.BtnReportsAllUnassigned.FlatAppearance.BorderSize = 0;

            this.BtnReportsAllUnassigned.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsAllUnassigned.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsAllUnassigned.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnReportsAllUnassigned.ForeColor = System.Drawing.Color.White;

            this.BtnReportsAllUnassigned.Location = new System.Drawing.Point(0, 123);

            this.BtnReportsAllUnassigned.Name = "BtnReportsAllUnassigned";

            this.BtnReportsAllUnassigned.Size = new System.Drawing.Size(142, 32);

            this.BtnReportsAllUnassigned.TabIndex = 8;

            this.BtnReportsAllUnassigned.Text = "Ikke tildelte fejl";

            this.BtnReportsAllUnassigned.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnReportsAllUnassigned.UseVisualStyleBackColor = false;

            this.BtnReportsAllUnassigned.Click += new System.EventHandler(this.BtnReportsAllUnassigned_Click);

            this.BtnReportsAllUnassigned.MouseLeave += new System.EventHandler(this.BtnReportsAllUnassigned_MouseLeave);

            this.BtnReportsAllUnassigned.MouseHover += new System.EventHandler(this.BtnReportsAllUnassigned_MouseHover);

            //

            // BtnReportsAllBugs

            //

            this.BtnReportsAllBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnReportsAllBugs.FlatAppearance.BorderSize = 0;

            this.BtnReportsAllBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsAllBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsAllBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnReportsAllBugs.ForeColor = System.Drawing.Color.White;

            this.BtnReportsAllBugs.Location = new System.Drawing.Point(0, 95);

            this.BtnReportsAllBugs.Name = "BtnReportsAllBugs";

            this.BtnReportsAllBugs.Size = new System.Drawing.Size(122, 32);

            this.BtnReportsAllBugs.TabIndex = 7;

            this.BtnReportsAllBugs.Text = "Alle fejl";

            this.BtnReportsAllBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnReportsAllBugs.UseVisualStyleBackColor = false;

            this.BtnReportsAllBugs.Click += new System.EventHandler(this.BtnReportsAllBugs_Click);

            this.BtnReportsAllBugs.MouseLeave += new System.EventHandler(this.BtnReportsAllBugs_MouseLeave);

            this.BtnReportsAllBugs.MouseHover += new System.EventHandler(this.BtnReportsAllBugs_MouseHover);

            //

            // BtnReportsNewBugs

            //

            this.BtnReportsNewBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnReportsNewBugs.FlatAppearance.BorderSize = 0;

            this.BtnReportsNewBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsNewBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsNewBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnReportsNewBugs.ForeColor = System.Drawing.Color.White;

            this.BtnReportsNewBugs.Location = new System.Drawing.Point(0, 66);

            this.BtnReportsNewBugs.Name = "BtnReportsNewBugs";

            this.BtnReportsNewBugs.Size = new System.Drawing.Size(113, 32);

            this.BtnReportsNewBugs.TabIndex = 6;

            this.BtnReportsNewBugs.Text = "Nye Fejl";

            this.BtnReportsNewBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnReportsNewBugs.UseVisualStyleBackColor = false;

            this.BtnReportsNewBugs.Click += new System.EventHandler(this.BtnReportsNewBugs_Click);

            this.BtnReportsNewBugs.MouseLeave += new System.EventHandler(this.BtnReportsNewBugs_MouseLeave);

            this.BtnReportsNewBugs.MouseHover += new System.EventHandler(this.BtnReportsNewBugs_MouseHover);

            //

            // BtnReportsMyBugs

            //

            this.BtnReportsMyBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnReportsMyBugs.FlatAppearance.BorderSize = 0;

            this.BtnReportsMyBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsMyBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnReportsMyBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnReportsMyBugs.ForeColor = System.Drawing.Color.White;

            this.BtnReportsMyBugs.Location = new System.Drawing.Point(0, 35);

            this.BtnReportsMyBugs.Name = "BtnReportsMyBugs";

            this.BtnReportsMyBugs.Size = new System.Drawing.Size(113, 32);

            this.BtnReportsMyBugs.TabIndex = 5;

            this.BtnReportsMyBugs.Text = "Mine fejl";

            this.BtnReportsMyBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnReportsMyBugs.UseVisualStyleBackColor = false;

            this.BtnReportsMyBugs.Click += new System.EventHandler(this.BtnReportsMyBugs_Click);

            this.BtnReportsMyBugs.MouseLeave += new System.EventHandler(this.BtnReportsMyBugs_MouseLeave);

            this.BtnReportsMyBugs.MouseHover += new System.EventHandler(this.BtnReportsMyBugs_MouseHover);

            //

            // BtnTextReports

            //

            this.BtnTextReports.BackColor = System.Drawing.Color.Transparent;

            this.BtnTextReports.FlatAppearance.BorderSize = 0;

            this.BtnTextReports.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnTextReports.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnTextReports.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnTextReports.ForeColor = System.Drawing.Color.White;

            this.BtnTextReports.Location = new System.Drawing.Point(0, 5);

            this.BtnTextReports.Name = "BtnTextReports";

            this.BtnTextReports.Size = new System.Drawing.Size(142, 32);

            this.BtnTextReports.TabIndex = 4;

            this.BtnTextReports.Text = "Tekst rapporter";

            this.BtnTextReports.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnTextReports.UseVisualStyleBackColor = false;

            this.BtnTextReports.Click += new System.EventHandler(this.BtnTextReports_Click);

            this.BtnTextReports.MouseLeave += new System.EventHandler(this.BtnTextReports_MouseLeave);

            this.BtnTextReports.MouseHover += new System.EventHandler(this.BtnTextReports_MouseHover);

            //

            // BtnReports

            //

            this.BtnReports.BackColor = System.Drawing.Color.White;

            this.BtnReports.FlatAppearance.BorderSize = 0;

            this.BtnReports.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnReports.Location = new System.Drawing.Point(-13, -1);

            this.BtnReports.Name = "BtnReports";

            this.BtnReports.Size = new System.Drawing.Size(113, 32);

            this.BtnReports.TabIndex = 5;

            this.BtnReports.Text = "Rapporter";

            this.BtnReports.UseVisualStyleBackColor = false;

            this.BtnReports.MouseLeave += new System.EventHandler(this.BtnReports_MouseLeave);

            this.BtnReports.MouseHover += new System.EventHandler(this.BtnReports_MouseHover);

            //

            // PanAdministration

            //

            this.PanAdministration.Controls.Add(this.PanAdmDropdownMenu);

            this.PanAdministration.Controls.Add(this.panel2);

            this.PanAdministration.Controls.Add(this.btnAdministration);

            this.PanAdministration.Location = new System.Drawing.Point(678, 0);

            this.PanAdministration.Name = "PanAdministration";

            this.PanAdministration.Size = new System.Drawing.Size(125, 203);

            this.PanAdministration.TabIndex = 9;

            this.PanAdministration.MouseLeave += new System.EventHandler(this.PanAdministration_MouseLeave);

            this.PanAdministration.MouseHover += new System.EventHandler(this.PanAdministration_MouseHover);

            //

            // PanAdmDropdownMenu

            //

            this.PanAdmDropdownMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.PanAdmDropdownMenu.Controls.Add(this.BtnAddProject);

            this.PanAdmDropdownMenu.Controls.Add(this.BtnViewProjects);

            this.PanAdmDropdownMenu.Controls.Add(this.btnViewUsers);

            this.PanAdmDropdownMenu.Controls.Add(this.BtnEditAccount);

            this.PanAdmDropdownMenu.Controls.Add(this.BtnAddUser);

            this.PanAdmDropdownMenu.Location = new System.Drawing.Point(5, 31);

            this.PanAdmDropdownMenu.Name = "PanAdmDropdownMenu";

            this.PanAdmDropdownMenu.Size = new System.Drawing.Size(113, 160);

            this.PanAdmDropdownMenu.TabIndex = 6;

            //

            // BtnAddProject

            //

            this.BtnAddProject.BackColor = System.Drawing.Color.Transparent;

            this.BtnAddProject.FlatAppearance.BorderSize = 0;

            this.BtnAddProject.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnAddProject.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnAddProject.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnAddProject.ForeColor = System.Drawing.Color.White;

            this.BtnAddProject.Location = new System.Drawing.Point(0, 123);

            this.BtnAddProject.Name = "BtnAddProject";

            this.BtnAddProject.Size = new System.Drawing.Size(113, 32);

            this.BtnAddProject.TabIndex = 8;

            this.BtnAddProject.Text = "Tilføj projekt";

            this.BtnAddProject.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnAddProject.UseVisualStyleBackColor = false;

            this.BtnAddProject.Click += new System.EventHandler(this.BtnAddProject_Click);

            this.BtnAddProject.MouseLeave += new System.EventHandler(this.BtnAddProject_MouseLeave);

            this.BtnAddProject.MouseHover += new System.EventHandler(this.BtnAddProject_MouseHover);

            //

            // BtnViewProjects

            //

            this.BtnViewProjects.BackColor = System.Drawing.Color.Transparent;

            this.BtnViewProjects.FlatAppearance.BorderSize = 0;

            this.BtnViewProjects.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnViewProjects.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnViewProjects.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnViewProjects.ForeColor = System.Drawing.Color.White;

            this.BtnViewProjects.Location = new System.Drawing.Point(0, 95);

            this.BtnViewProjects.Name = "BtnViewProjects";

            this.BtnViewProjects.Size = new System.Drawing.Size(122, 32);

            this.BtnViewProjects.TabIndex = 7;

            this.BtnViewProjects.Text = "Vis projekter";

            this.BtnViewProjects.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnViewProjects.UseVisualStyleBackColor = false;

            this.BtnViewProjects.Click += new System.EventHandler(this.BtnViewProjects_Click);

            this.BtnViewProjects.MouseLeave += new System.EventHandler(this.BtnViewProjects_MouseLeave);

            this.BtnViewProjects.MouseHover += new System.EventHandler(this.BtnViewProjects_MouseHover);

            //

            // btnViewUsers

            //

            this.btnViewUsers.BackColor = System.Drawing.Color.Transparent;

            this.btnViewUsers.FlatAppearance.BorderSize = 0;

            this.btnViewUsers.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.btnViewUsers.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.btnViewUsers.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.btnViewUsers.ForeColor = System.Drawing.Color.White;

            this.btnViewUsers.Location = new System.Drawing.Point(1, 3);

            this.btnViewUsers.Name = "btnViewUsers";

            this.btnViewUsers.Size = new System.Drawing.Size(113, 32);

            this.btnViewUsers.TabIndex = 6;

            this.btnViewUsers.Text = "Vis brugere";

            this.btnViewUsers.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.btnViewUsers.UseVisualStyleBackColor = false;

            this.btnViewUsers.Click += new System.EventHandler(this.btnViewUsers_Click);

            this.btnViewUsers.MouseLeave += new System.EventHandler(this.btnViewUsers_MouseLeave);

            this.btnViewUsers.MouseHover += new System.EventHandler(this.btnViewUsers_MouseHover);

            //

            // BtnEditAccount

            //

            this.BtnEditAccount.BackColor = System.Drawing.Color.Transparent;

            this.BtnEditAccount.FlatAppearance.BorderSize = 0;

            this.BtnEditAccount.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnEditAccount.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnEditAccount.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnEditAccount.ForeColor = System.Drawing.Color.White;

            this.BtnEditAccount.Location = new System.Drawing.Point(1, 65);

            this.BtnEditAccount.Name = "BtnEditAccount";

            this.BtnEditAccount.Size = new System.Drawing.Size(113, 32);

            this.BtnEditAccount.TabIndex = 5;

            this.BtnEditAccount.Text = "Ret konto";

            this.BtnEditAccount.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnEditAccount.UseVisualStyleBackColor = false;

            this.BtnEditAccount.Click += new System.EventHandler(this.BtnEditAccount_Click);

            this.BtnEditAccount.MouseLeave += new System.EventHandler(this.BtnEditAccount_MouseLeave);

            this.BtnEditAccount.MouseHover += new System.EventHandler(this.BtnEditAccount_MouseHover);

            //

            // BtnAddUser

            //

            this.BtnAddUser.BackColor = System.Drawing.Color.Transparent;

            this.BtnAddUser.FlatAppearance.BorderSize = 0;

            this.BtnAddUser.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnAddUser.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnAddUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnAddUser.ForeColor = System.Drawing.Color.White;

            this.BtnAddUser.Location = new System.Drawing.Point(1, 34);

            this.BtnAddUser.Name = "BtnAddUser";

            this.BtnAddUser.Size = new System.Drawing.Size(113, 32);

            this.BtnAddUser.TabIndex = 4;

            this.BtnAddUser.Text = "Tilføj bruger";

            this.BtnAddUser.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnAddUser.UseVisualStyleBackColor = false;

            this.BtnAddUser.Click += new System.EventHandler(this.BtnAddUser_Click);

            this.BtnAddUser.MouseLeave += new System.EventHandler(this.BtnAddUser_MouseLeave);

            this.BtnAddUser.MouseHover += new System.EventHandler(this.BtnAddUser_MouseHover);

            //

            // panel2

            //

            this.panel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.panel2.Location = new System.Drawing.Point(5, 26);

            this.panel2.Name = "panel2";

            this.panel2.Size = new System.Drawing.Size(113, 5);

            this.panel2.TabIndex = 7;

            //

            // btnAdministration

            //

            this.btnAdministration.BackColor = System.Drawing.Color.White;

            this.btnAdministration.FlatAppearance.BorderSize = 0;

            this.btnAdministration.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White;

            this.btnAdministration.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White;

            this.btnAdministration.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.btnAdministration.Location = new System.Drawing.Point(0, -1);

            this.btnAdministration.Name = "btnAdministration";

            this.btnAdministration.Size = new System.Drawing.Size(127, 32);

            this.btnAdministration.TabIndex = 6;

            this.btnAdministration.Text = "Administration";

            this.btnAdministration.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.btnAdministration.UseVisualStyleBackColor = false;

            this.btnAdministration.MouseLeave += new System.EventHandler(this.btnAdministration_MouseLeave);

            this.btnAdministration.MouseHover += new System.EventHandler(this.btnAdministration_MouseHover);

            //

            // PanPreferences

            //

            this.PanPreferences.Controls.Add(this.PanPreferencesDropdownMenu);

            this.PanPreferences.Controls.Add(this.PanLineSettings);

            this.PanPreferences.Controls.Add(this.btnPreferences);

            this.PanPreferences.Location = new System.Drawing.Point(554, 0);

            this.PanPreferences.Name = "PanPreferences";

            this.PanPreferences.Size = new System.Drawing.Size(123, 86);

            this.PanPreferences.TabIndex = 8;

            this.PanPreferences.MouseLeave += new System.EventHandler(this.PanPreferences_MouseLeave);

            this.PanPreferences.MouseHover += new System.EventHandler(this.PanPreferences_MouseHover);

            //

            // PanPreferencesDropdownMenu

            //

            this.PanPreferencesDropdownMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.PanPreferencesDropdownMenu.Controls.Add(this.BtnMyInfo);

            this.PanPreferencesDropdownMenu.Location = new System.Drawing.Point(5, 31);

            this.PanPreferencesDropdownMenu.Name = "PanPreferencesDropdownMenu";

            this.PanPreferencesDropdownMenu.Size = new System.Drawing.Size(113, 44);

            this.PanPreferencesDropdownMenu.TabIndex = 7;

            //

            // BtnMyInfo

            //

            this.BtnMyInfo.BackColor = System.Drawing.Color.Transparent;

            this.BtnMyInfo.FlatAppearance.BorderSize = 0;

            this.BtnMyInfo.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnMyInfo.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnMyInfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnMyInfo.ForeColor = System.Drawing.Color.White;

            this.BtnMyInfo.Location = new System.Drawing.Point(0, 5);

            this.BtnMyInfo.Name = "BtnMyInfo";

            this.BtnMyInfo.Size = new System.Drawing.Size(113, 32);

            this.BtnMyInfo.TabIndex = 4;

            this.BtnMyInfo.Text = "Min info";

            this.BtnMyInfo.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnMyInfo.UseVisualStyleBackColor = false;

            this.BtnMyInfo.Click += new System.EventHandler(this.BtnMyInfo_Click);

            this.BtnMyInfo.MouseLeave += new System.EventHandler(this.BtnMyInfo_MouseLeave);

            this.BtnMyInfo.MouseHover += new System.EventHandler(this.BtnMyInfo_MouseHover);

            //

            // PanLineSettings

            //

            this.PanLineSettings.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.PanLineSettings.Location = new System.Drawing.Point(5, 26);

            this.PanLineSettings.Name = "PanLineSettings";

            this.PanLineSettings.Size = new System.Drawing.Size(113, 5);

            this.PanLineSettings.TabIndex = 3;

            //

            // btnPreferences

            //

            this.btnPreferences.BackColor = System.Drawing.Color.White;

            this.btnPreferences.FlatAppearance.BorderSize = 0;

            this.btnPreferences.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.btnPreferences.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.btnPreferences.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.btnPreferences.Location = new System.Drawing.Point(1, 0);

            this.btnPreferences.Name = "btnPreferences";

            this.btnPreferences.Size = new System.Drawing.Size(113, 32);

            this.btnPreferences.TabIndex = 4;

            this.btnPreferences.Text = "Indstillinger";

            this.btnPreferences.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.btnPreferences.UseVisualStyleBackColor = false;

            this.btnPreferences.MouseLeave += new System.EventHandler(this.btnPreferences_MouseLeave);

            this.btnPreferences.MouseHover += new System.EventHandler(this.btnPreferences_MouseHover);

            //

            // panProjects

            //

            this.panProjects.Controls.Add(this.PanProjectDropdownMenu);

            this.panProjects.Controls.Add(this.panLineProjects);

            this.panProjects.Controls.Add(this.BtnProjects);

            this.panProjects.Location = new System.Drawing.Point(297, 4);

            this.panProjects.Name = "panProjects";

            this.panProjects.Size = new System.Drawing.Size(123, 110);

            this.panProjects.TabIndex = 5;

            this.panProjects.MouseLeave += new System.EventHandler(this.panProjects_MouseLeave);

            this.panProjects.MouseHover += new System.EventHandler(this.panProjects_MouseHover);

            //

            // PanProjectDropdownMenu

            //

            this.PanProjectDropdownMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.PanProjectDropdownMenu.Controls.Add(this.BtnAddBug);

            this.PanProjectDropdownMenu.Controls.Add(this.BtnDashboard);

            this.PanProjectDropdownMenu.Location = new System.Drawing.Point(10, 24);

            this.PanProjectDropdownMenu.Name = "PanProjectDropdownMenu";

            this.PanProjectDropdownMenu.Size = new System.Drawing.Size(113, 76);

            this.PanProjectDropdownMenu.TabIndex = 3;

            //

            // BtnAddBug

            //

            this.BtnAddBug.BackColor = System.Drawing.Color.Transparent;

            this.BtnAddBug.FlatAppearance.BorderSize = 0;

            this.BtnAddBug.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnAddBug.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnAddBug.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnAddBug.ForeColor = System.Drawing.Color.White;

            this.BtnAddBug.Location = new System.Drawing.Point(0, 35);

            this.BtnAddBug.Name = "BtnAddBug";

            this.BtnAddBug.Size = new System.Drawing.Size(113, 32);

            this.BtnAddBug.TabIndex = 5;

            this.BtnAddBug.Text = "Tilføj fejl";

            this.BtnAddBug.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnAddBug.UseVisualStyleBackColor = false;

            this.BtnAddBug.Click += new System.EventHandler(this.BtnAddBug_Click);

            this.BtnAddBug.MouseLeave += new System.EventHandler(this.BtnAddBug_MouseLeave);

            this.BtnAddBug.MouseHover += new System.EventHandler(this.BtnAddBug_MouseHover);

            //

            // BtnDashboard

            //

            this.BtnDashboard.BackColor = System.Drawing.Color.Transparent;

            this.BtnDashboard.FlatAppearance.BorderSize = 0;

            this.BtnDashboard.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnDashboard.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnDashboard.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnDashboard.ForeColor = System.Drawing.Color.White;

            this.BtnDashboard.Location = new System.Drawing.Point(0, 5);

            this.BtnDashboard.Name = "BtnDashboard";

            this.BtnDashboard.Size = new System.Drawing.Size(113, 32);

            this.BtnDashboard.TabIndex = 4;

            this.BtnDashboard.Text = "Dashboard";

            this.BtnDashboard.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnDashboard.UseVisualStyleBackColor = false;

            this.BtnDashboard.Click += new System.EventHandler(this.BtnDashboard_Click);

            this.BtnDashboard.MouseLeave += new System.EventHandler(this.BtnDashboard_MouseLeave);

            this.BtnDashboard.MouseHover += new System.EventHandler(this.BtnDashboard_MouseHover);

            //

            // panLineProjects

            //

            this.panLineProjects.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.panLineProjects.Location = new System.Drawing.Point(10, 22);

            this.panLineProjects.Name = "panLineProjects";

            this.panLineProjects.Size = new System.Drawing.Size(113, 5);

            this.panLineProjects.TabIndex = 2;

            //

            // BtnProjects

            //

            this.BtnProjects.BackColor = System.Drawing.Color.White;

            this.BtnProjects.FlatAppearance.BorderSize = 0;

            this.BtnProjects.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnProjects.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnProjects.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnProjects.Location = new System.Drawing.Point(9, -3);

            this.BtnProjects.Name = "BtnProjects";

            this.BtnProjects.Size = new System.Drawing.Size(113, 32);

            this.BtnProjects.TabIndex = 2;

            this.BtnProjects.Text = "Projekter";

            this.BtnProjects.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnProjects.UseVisualStyleBackColor = false;

            this.BtnProjects.MouseLeave += new System.EventHandler(this.BtnProjects_MouseLeave);

            this.BtnProjects.MouseHover += new System.EventHandler(this.BtnProjects_MouseHover);

            //

            // panLists

            //

            this.panLists.Controls.Add(this.panLineLists);

            this.panLists.Controls.Add(this.PanListsDropdownMenu);

            this.panLists.Controls.Add(this.BtnLists);

            this.panLists.Location = new System.Drawing.Point(425, 2);

            this.panLists.Name = "panLists";

            this.panLists.Size = new System.Drawing.Size(129, 201);

            this.panLists.TabIndex = 5;

            //

            // panLineLists

            //

            this.panLineLists.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.panLineLists.Location = new System.Drawing.Point(5, 24);

            this.panLineLists.Name = "panLineLists";

            this.panLineLists.Size = new System.Drawing.Size(121, 5);

            this.panLineLists.TabIndex = 3;

            //

            // PanListsDropdownMenu

            //

            this.PanListsDropdownMenu.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.PanListsDropdownMenu.Controls.Add(this.BtnClosedBugs);

            this.PanListsDropdownMenu.Controls.Add(this.BtnUnassinedBugs);

            this.PanListsDropdownMenu.Controls.Add(this.BtnAllBugs);

            this.PanListsDropdownMenu.Controls.Add(this.BtnNewBugs);

            this.PanListsDropdownMenu.Controls.Add(this.BtnMyBugs);

            this.PanListsDropdownMenu.Location = new System.Drawing.Point(5, 29);

            this.PanListsDropdownMenu.Name = "PanListsDropdownMenu";

            this.PanListsDropdownMenu.Size = new System.Drawing.Size(121, 164);

            this.PanListsDropdownMenu.TabIndex = 4;

            //

            // BtnClosedBugs

            //

            this.BtnClosedBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnClosedBugs.FlatAppearance.BorderSize = 0;

            this.BtnClosedBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnClosedBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnClosedBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnClosedBugs.ForeColor = System.Drawing.Color.White;

            this.BtnClosedBugs.Location = new System.Drawing.Point(0, 123);

            this.BtnClosedBugs.Name = "BtnClosedBugs";

            this.BtnClosedBugs.Size = new System.Drawing.Size(113, 32);

            this.BtnClosedBugs.TabIndex = 8;

            this.BtnClosedBugs.Text = "Lukkede fejl";

            this.BtnClosedBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnClosedBugs.UseVisualStyleBackColor = false;

            this.BtnClosedBugs.Click += new System.EventHandler(this.BtnClosedBugs_Click);

            this.BtnClosedBugs.MouseLeave += new System.EventHandler(this.BtnClosedBugs_MouseLeave);

            this.BtnClosedBugs.MouseHover += new System.EventHandler(this.BtnClosedBugs_MouseHover);

            //

            // BtnUnassinedBugs

            //

            this.BtnUnassinedBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnUnassinedBugs.FlatAppearance.BorderSize = 0;

            this.BtnUnassinedBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnUnassinedBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnUnassinedBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnUnassinedBugs.ForeColor = System.Drawing.Color.White;

            this.BtnUnassinedBugs.Location = new System.Drawing.Point(0, 95);

            this.BtnUnassinedBugs.Name = "BtnUnassinedBugs";

            this.BtnUnassinedBugs.Size = new System.Drawing.Size(122, 32);

            this.BtnUnassinedBugs.TabIndex = 7;

            this.BtnUnassinedBugs.Text = "Ikke tildelte fejl";

            this.BtnUnassinedBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnUnassinedBugs.UseVisualStyleBackColor = false;

            this.BtnUnassinedBugs.Click += new System.EventHandler(this.BtnUnassinedBugs_Click);

            this.BtnUnassinedBugs.MouseLeave += new System.EventHandler(this.BtnUnassinedBugs_MouseLeave);

            this.BtnUnassinedBugs.MouseHover += new System.EventHandler(this.BtnUnassinedBugs_MouseHover);

            //

            // BtnAllBugs

            //

            this.BtnAllBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnAllBugs.FlatAppearance.BorderSize = 0;

            this.BtnAllBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnAllBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnAllBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnAllBugs.ForeColor = System.Drawing.Color.White;

            this.BtnAllBugs.Location = new System.Drawing.Point(0, 66);

            this.BtnAllBugs.Name = "BtnAllBugs";

            this.BtnAllBugs.Size = new System.Drawing.Size(113, 32);

            this.BtnAllBugs.TabIndex = 6;

            this.BtnAllBugs.Text = "Alle fejl";

            this.BtnAllBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnAllBugs.UseVisualStyleBackColor = false;

            this.BtnAllBugs.Click += new System.EventHandler(this.BtnAllBugs_Click);

            this.BtnAllBugs.MouseLeave += new System.EventHandler(this.BtnAllBugs_MouseLeave);

            this.BtnAllBugs.MouseHover += new System.EventHandler(this.BtnAllBugs_MouseHover);

            //

            // BtnNewBugs

            //

            this.BtnNewBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnNewBugs.FlatAppearance.BorderSize = 0;

            this.BtnNewBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnNewBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnNewBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnNewBugs.ForeColor = System.Drawing.Color.White;

            this.BtnNewBugs.Location = new System.Drawing.Point(0, 35);

            this.BtnNewBugs.Name = "BtnNewBugs";

            this.BtnNewBugs.Size = new System.Drawing.Size(113, 32);

            this.BtnNewBugs.TabIndex = 5;

            this.BtnNewBugs.Text = "Nye fejl";

            this.BtnNewBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnNewBugs.UseVisualStyleBackColor = false;

            this.BtnNewBugs.Click += new System.EventHandler(this.BtnNewBugs_Click);

            this.BtnNewBugs.MouseLeave += new System.EventHandler(this.BtnNewBugs_MouseLeave);

            this.BtnNewBugs.MouseHover += new System.EventHandler(this.BtnNewBugs_MouseHover);

            //

            // BtnMyBugs

            //

            this.BtnMyBugs.BackColor = System.Drawing.Color.Transparent;

            this.BtnMyBugs.FlatAppearance.BorderSize = 0;

            this.BtnMyBugs.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnMyBugs.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnMyBugs.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnMyBugs.ForeColor = System.Drawing.Color.White;

            this.BtnMyBugs.Location = new System.Drawing.Point(0, 5);

            this.BtnMyBugs.Name = "BtnMyBugs";

            this.BtnMyBugs.Size = new System.Drawing.Size(113, 32);

            this.BtnMyBugs.TabIndex = 4;

            this.BtnMyBugs.Text = "Mine fejl";

            this.BtnMyBugs.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnMyBugs.UseVisualStyleBackColor = false;

            this.BtnMyBugs.Click += new System.EventHandler(this.BtnMyBugs_Click);

            this.BtnMyBugs.MouseLeave += new System.EventHandler(this.BtnMyBugs_MouseLeave);

            this.BtnMyBugs.MouseHover += new System.EventHandler(this.BtnMyBugs_MouseHover);

            //

            // BtnLists

            //

            this.BtnLists.BackColor = System.Drawing.Color.White;

            this.BtnLists.FlatAppearance.BorderSize = 0;

            this.BtnLists.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;

            this.BtnLists.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;

            this.BtnLists.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.BtnLists.Location = new System.Drawing.Point(8, 3);

            this.BtnLists.Name = "BtnLists";

            this.BtnLists.Size = new System.Drawing.Size(113, 25);

            this.BtnLists.TabIndex = 3;

            this.BtnLists.Text = "Lister";

            this.BtnLists.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;

            this.BtnLists.UseVisualStyleBackColor = false;

            this.BtnLists.MouseLeave += new System.EventHandler(this.BtnLists_MouseLeave);

            this.BtnLists.MouseHover += new System.EventHandler(this.BtnLists_MouseHover);

            //

            // panel1

            //

            this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(91)))), ((int)(((byte)(127)))));

            this.panel1.Location = new System.Drawing.Point(1055, 29);

            this.panel1.Name = "panel1";

            this.panel1.Size = new System.Drawing.Size(113, 5);

            this.panel1.TabIndex = 5;

            //

            // PbxBugLogo

            //

            this.PbxBugLogo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));

            this.PbxBugLogo.Image = global::AnsiBugApplication.Properties.Resources.logoBug;

            this.PbxBugLogo.Location = new System.Drawing.Point(1190, 4);

            this.PbxBugLogo.Margin = new System.Windows.Forms.Padding(4);

            this.PbxBugLogo.Name = "PbxBugLogo";

            this.PbxBugLogo.Size = new System.Drawing.Size(180, 127);

            this.PbxBugLogo.TabIndex = 1;

            this.PbxBugLogo.TabStop = false;

            //

            // PbxLogo

            //

            this.PbxLogo.Image = global::AnsiBugApplication.Properties.Resources.ANSI;

            this.PbxLogo.Location = new System.Drawing.Point(0, 0);

            this.PbxLogo.Margin = new System.Windows.Forms.Padding(4);

            this.PbxLogo.Name = "PbxLogo";

            this.PbxLogo.Size = new System.Drawing.Size(239, 123);

            this.PbxLogo.TabIndex = 1;

            this.PbxLogo.TabStop = false;

            //

            // btnLogout

            //

            this.btnLogout.BackColor = System.Drawing.Color.White;

            this.btnLogout.FlatAppearance.BorderSize = 0;

            this.btnLogout.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White;

            this.btnLogout.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White;

            this.btnLogout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;

            this.btnLogout.Location = new System.Drawing.Point(1059, 2);

            this.btnLogout.Name = "btnLogout";

            this.btnLogout.Size = new System.Drawing.Size(113, 32);

            this.btnLogout.TabIndex = 6;

            this.btnLogout.Text = "Logout";

            this.btnLogout.TextAlign = System.Drawing.ContentAlignment.MiddleRight;

            this.btnLogout.UseVisualStyleBackColor = false;

            this.btnLogout.Click += new System.EventHandler(this.btnLogout_Click);

            this.btnLogout.MouseLeave += new System.EventHandler(this.btnLogout_MouseLeave);

            this.btnLogout.MouseHover += new System.EventHandler(this.btnLogout_MouseHover);

            //

            // dataGridView1

            //

            this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;

            this.dataGridView1.Location = new System.Drawing.Point(0, 181);

            this.dataGridView1.Name = "dataGridView1";

            this.dataGridView1.Size = new System.Drawing.Size(951, 425);

            this.dataGridView1.TabIndex = 11;

            //

            // Admin_AddProjectForm

            //

            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);

            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

            this.AutoScroll = true;

            this.BackColor = System.Drawing.Color.White;

            this.ClientSize = new System.Drawing.Size(1374, 655);

            this.Controls.Add(this.dataGridView1);

            this.Controls.Add(this.panTop);

            this.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));

            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));

            this.Margin = new System.Windows.Forms.Padding(4);

            this.Name = "Admin_AddProjectForm";

            this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;

            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

            this.Text = "Admin_AddProjectForm";

            this.panTop.ResumeLayout(false);

            this.PanReports.ResumeLayout(false);

            this.PanReportsDropdownMenu.ResumeLayout(false);

            this.PanAdministration.ResumeLayout(false);

            this.PanAdmDropdownMenu.ResumeLayout(false);

            this.PanPreferences.ResumeLayout(false);

            this.PanPreferencesDropdownMenu.ResumeLayout(false);

            this.panProjects.ResumeLayout(false);

            this.PanProjectDropdownMenu.ResumeLayout(false);

            this.panLists.ResumeLayout(false);

            this.PanListsDropdownMenu.ResumeLayout(false);

            ((System.ComponentModel.ISupportInitialize)(this.PbxBugLogo)).EndInit();

            ((System.ComponentModel.ISupportInitialize)(this.PbxLogo)).EndInit();

            ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();

            this.ResumeLayout(false);



        }



        #endregion



        private System.Windows.Forms.Panel panTop;

        private System.Windows.Forms.PictureBox PbxBugLogo;

        private System.Windows.Forms.PictureBox PbxLogo;

        private System.Windows.Forms.Panel PanLineSettings;

        private System.Windows.Forms.Button BtnReports;

        private System.Windows.Forms.Panel panLineLists;

        private System.Windows.Forms.Panel panLineProjects;

        private System.Windows.Forms.Button btnAdministration;

        private System.Windows.Forms.Button btnPreferences;

        private System.Windows.Forms.Button BtnLists;

        private System.Windows.Forms.Button BtnProjects;

        private System.Windows.Forms.Button btnLogout;

        private System.Windows.Forms.Panel PanProjectDropdownMenu;

        private System.Windows.Forms.Button BtnDashboard;

        private System.Windows.Forms.Button BtnAddBug;

        private System.Windows.Forms.Panel PanListsDropdownMenu;

        private System.Windows.Forms.Button BtnNewBugs;

        private System.Windows.Forms.Button BtnMyBugs;

        private System.Windows.Forms.Button BtnClosedBugs;

        private System.Windows.Forms.Button BtnUnassinedBugs;

        private System.Windows.Forms.Button BtnAllBugs;

        private System.Windows.Forms.Panel PanPreferencesDropdownMenu;

        private System.Windows.Forms.Button BtnMyInfo;

        private System.Windows.Forms.Panel PanAdmDropdownMenu;

        private System.Windows.Forms.Button BtnAddProject;

        private System.Windows.Forms.Button BtnViewProjects;

        private System.Windows.Forms.Button btnViewUsers;

        private System.Windows.Forms.Button BtnEditAccount;

        private System.Windows.Forms.Button BtnAddUser;

        private System.Windows.Forms.Panel PanReportsDropdownMenu;

        private System.Windows.Forms.Button btnManagement;

        private System.Windows.Forms.Button BtnReportsClosedBugs;

        private System.Windows.Forms.Button BtnReportsAllUnassigned;

        private System.Windows.Forms.Button BtnReportsAllBugs;

        private System.Windows.Forms.Button BtnReportsNewBugs;

        private System.Windows.Forms.Button BtnReportsMyBugs;

        private System.Windows.Forms.Button BtnTextReports;

        private System.Windows.Forms.Panel panel1;

        private System.Windows.Forms.Panel panel2;

        private System.Windows.Forms.Panel panel3;

        private System.Windows.Forms.Panel panProjects;

        private System.Windows.Forms.Panel panLists;

        private System.Windows.Forms.Panel PanPreferences;

        private System.Windows.Forms.Panel PanAdministration;

        private System.Windows.Forms.Panel PanReports;

        private System.Windows.Forms.DataGridView dataGridView1;

    }

}

If You need something else just say so :)
 
Last edited by a moderator:
I can't do a lot with your designer code as I don't have some of the images etc you are using and it's throwing your design out of whack.

Set your PanReports panel to use AutoSize false and AutoSizeMode to GrowAndShrink. Also set the position of your btnLogout to be something about 957, -1. Frther, you also need to allow each control in that panel and give it the ability to stretch according to the size of its parent. Or simpler, use a fixed size form. All of the complications you are facing here are much easily irradicated in WPF with the simplicity of editing through Xaml.

A panel is not the right control for what you are building that menu up with. You might find better ease of luck using one of the layout panels instead. Moreover, your design build would be much easier to accomplish in WPF, with better controls for this type of flow control which you are currently appear to be trying to create.
 
I can't do a lot with your designer code as I don't have some of the images etc you are using and it's throwing your design out of whack.

Set your PanReports panel to use AutoSize false and AutoSizeMode to GrowAndShrink. Also set the position of your btnLogout to be something about 957, -1. Frther, you also need to allow each control in that panel and give it the ability to stretch according to the size of its parent. Or simpler, use a fixed size form. All of the complications you are facing here are much easily irradicated in WPF with the simplicity of editing through Xaml.

A panel is not the right control for what you are building that menu up with. You might find better ease of luck using one of the layout panels instead. Moreover, your design build would be much easier to accomplish in WPF, with better controls for this type of flow control which you are currently appear to be trying to create.
If you say wpf I will try that instead - I will go into a couple youtube tutorials (I have difficulty reading a lot).

Thank you so much for your kind help and understanding.

Best regards

SimsenVejle
 
You are very welcome. Sorry I can't help you further. Making the changes proposed above should resolve your white space issue but you will also notice the size of the other controls in that panel will also change.

Just a heads up, but what you are used to in Winforms, will not be what you will expect in WPF, as the UI is built up using Xaml, and a lot of the Winforms habits you have, you will need to lose, as you will find what works on Winforms won't work on WPF.

WPF is also geared for using MVVM, although their is nothing stopping you from using MVP or a MVC pattern as some people do, since there are a lot of devs who moved to WPF who still have trouble adapting to the MVVM approach.

If you get stuck, we are here to help. :)

Good luck with the app. :)
 
Back
Top Bottom