0% found this document useful (0 votes)
48 views8 pages

Dash Dash

This document contains code for a C# Windows Forms application. It defines the user interface elements like panels, labels and pictures for a dashboard screen. These elements are initialized and properties like location, size, font are set. Event handlers are also added for click and mouse events.

Uploaded by

Sonam Pandey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views8 pages

Dash Dash

This document contains code for a C# Windows Forms application. It defines the user interface elements like panels, labels and pictures for a dashboard screen. These elements are initialized and properties like location, size, font are set. Event handlers are also added for click and mouse events.

Uploaded by

Sonam Pandey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

using VistaRoboticsCS2.

UserControls;

namespace VistaRoboticsCS2.Forms
{
partial class Dashboard
{
/// <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(Dashboard));
panel1 = new Panel();
panel4 = new Panel();
lbl_current_patient = new Label();
pictureBox7 = new PictureBox();
pictureBox6 = new PictureBox();
panelIcon = new Panel();
panel_logout = new Panel();
lbl_LogOut = new Label();
pictureBox1 = new PictureBox();
panel8 = new Panel();
lbl_settings = new Label();
pictureBox3 = new PictureBox();
panel9 = new Panel();
lbl_patient_list = new Label();
pictureBox2 = new PictureBox();
panel7 = new Panel();
lbl_dashboard = new Label();
pictureBox4 = new PictureBox();
panel2 = new Panel();
settingsControl1 = new SettingsControl();
patientDetailsControl1 = new
PatientDetailsControl(patientListsControl1);
surgicalPlanningControl1 = new
SurgicalPlanningControl(patientListsControl1);
patientListsControl1 = new PatientListsControl(patientDetailsControl1,
surgicalPlanningControl1);
dashboardControl1 = new DashboardControl(patientDetailsControl1,
patientListsControl1);
panel1.SuspendLayout();
panel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox7).BeginInit();
((System.ComponentModel.ISupportInitialize)pictureBox6).BeginInit();
panelIcon.SuspendLayout();
panel_logout.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
panel8.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox3).BeginInit();
panel9.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox2).BeginInit();
panel7.SuspendLayout();
((System.ComponentModel.ISupportInitialize)pictureBox4).BeginInit();
panel2.SuspendLayout();
SuspendLayout();
//
// panel1
//
panel1.BackColor = Color.FromArgb(242, 242, 242);
panel1.Controls.Add(panel4);
panel1.Controls.Add(pictureBox6);
panel1.Dock = DockStyle.Top;
panel1.Location = new Point(0, 0);
panel1.Margin = new Padding(2);
panel1.Name = "panel1";
panel1.Size = new Size(1924, 75);
panel1.TabIndex = 18;
//
// panel4
//
panel4.BackColor = Color.Transparent;
panel4.Controls.Add(lbl_current_patient);
panel4.Controls.Add(pictureBox7);
panel4.Location = new Point(1690, 12);
panel4.Margin = new Padding(2);
panel4.Name = "panel4";
panel4.Size = new Size(212, 52);
panel4.TabIndex = 11;
//
// lbl_current_patient
//
lbl_current_patient.AutoSize = true;
lbl_current_patient.BackColor = Color.Transparent;
lbl_current_patient.Font = new Font("Segoe UI", 10F, FontStyle.Regular,
GraphicsUnit.Point);
lbl_current_patient.ForeColor = Color.Black;
lbl_current_patient.Location = new Point(18, 12);
lbl_current_patient.Margin = new Padding(2, 0, 2, 0);
lbl_current_patient.Name = "lbl_current_patient";
lbl_current_patient.Size = new Size(130, 28);
lbl_current_patient.TabIndex = 4;
lbl_current_patient.Text = "Komal Konde";
//
// pictureBox7
//
pictureBox7.BackColor = Color.Transparent;
pictureBox7.Image = (Image)resources.GetObject("pictureBox7.Image");
pictureBox7.Location = new Point(166, 8);
pictureBox7.Margin = new Padding(2);
pictureBox7.Name = "pictureBox7";
pictureBox7.Size = new Size(34, 35);
pictureBox7.SizeMode = PictureBoxSizeMode.Zoom;
pictureBox7.TabIndex = 3;
pictureBox7.TabStop = false;
//
// pictureBox6
//
pictureBox6.BackColor = Color.Transparent;
pictureBox6.Image = Properties.Resources.vistaLogo;
pictureBox6.InitialImage = Properties.Resources.vistaLogo;
pictureBox6.Location = new Point(8, 8);
pictureBox6.Margin = new Padding(2);
pictureBox6.Name = "pictureBox6";
pictureBox6.Size = new Size(191, 60);
pictureBox6.SizeMode = PictureBoxSizeMode.Zoom;
pictureBox6.TabIndex = 4;
pictureBox6.TabStop = false;
//
// panelIcon
//
panelIcon.BackColor = Color.FromArgb(242, 242, 242);
panelIcon.Controls.Add(panel_logout);
panelIcon.Controls.Add(panel8);
panelIcon.Controls.Add(panel9);
panelIcon.Controls.Add(panel7);
panelIcon.Location = new Point(18, 95);
panelIcon.Name = "panelIcon";
panelIcon.Size = new Size(87, 870);
panelIcon.TabIndex = 19;
//
// panel_logout
//
panel_logout.BackColor = Color.LightGray;
panel_logout.Controls.Add(lbl_LogOut);
panel_logout.Controls.Add(pictureBox1);
panel_logout.Location = new Point(4, 790);
panel_logout.Name = "panel_logout";
panel_logout.Size = new Size(79, 68);
panel_logout.TabIndex = 9;
panel_logout.Click += panel_logout_Click;
panel_logout.MouseEnter += panel_logout_MouseEnter;
panel_logout.MouseLeave += panel_logout_MouseLeave;
//
// lbl_LogOut
//
lbl_LogOut.AutoSize = true;
lbl_LogOut.BackColor = Color.Transparent;
lbl_LogOut.Font = new Font("Segoe UI", 7F, FontStyle.Regular,
GraphicsUnit.Point);
lbl_LogOut.ForeColor = Color.Black;
lbl_LogOut.Location = new Point(10, 43);
lbl_LogOut.Name = "lbl_LogOut";
lbl_LogOut.Size = new Size(60, 19);
lbl_LogOut.TabIndex = 6;
lbl_LogOut.Text = "Log Out";
lbl_LogOut.Click += lbl_LogOut_Click;
lbl_LogOut.MouseEnter += lbl_LogOut_MouseEnter;
lbl_LogOut.MouseLeave += lbl_LogOut_MouseLeave;
//
// pictureBox1
//
pictureBox1.BackColor = Color.Transparent;
pictureBox1.ErrorImage = Properties.Resources.logout;
pictureBox1.Image = Properties.Resources.logout;
pictureBox1.InitialImage = Properties.Resources.logout;
pictureBox1.Location = new Point(16, 12);
pictureBox1.Name = "pictureBox1";
pictureBox1.Size = new Size(46, 28);
pictureBox1.SizeMode = PictureBoxSizeMode.Zoom;
pictureBox1.TabIndex = 1;
pictureBox1.TabStop = false;
pictureBox1.Click += pictureBox1_Click;
pictureBox1.MouseEnter += pictureBox1_MouseEnter;
pictureBox1.MouseLeave += pictureBox1_MouseLeave;
//
// panel8
//
panel8.BackColor = Color.Transparent;
panel8.Controls.Add(lbl_settings);
panel8.Controls.Add(pictureBox3);
panel8.Location = new Point(4, 183);
panel8.Name = "panel8";
panel8.Size = new Size(79, 68);
panel8.TabIndex = 8;
panel8.Click += panel8_Click;
panel8.MouseEnter += panel8_MouseEnter;
panel8.MouseLeave += panel8_MouseLeave;
//
// lbl_settings
//
lbl_settings.AutoSize = true;
lbl_settings.BackColor = Color.Transparent;
lbl_settings.Font = new Font("Segoe UI", 7F, FontStyle.Regular,
GraphicsUnit.Point);
lbl_settings.ForeColor = Color.Black;
lbl_settings.Location = new Point(10, 43);
lbl_settings.Name = "lbl_settings";
lbl_settings.Size = new Size(58, 19);
lbl_settings.TabIndex = 6;
lbl_settings.Text = "Settings";
lbl_settings.Click += lbl_settings_Click;
lbl_settings.MouseEnter += lbl_settings_MouseEnter;
lbl_settings.MouseLeave += lbl_settings_MouseLeave;
//
// pictureBox3
//
pictureBox3.BackColor = Color.Transparent;
pictureBox3.ErrorImage = Properties.Resources.setting;
pictureBox3.Image = Properties.Resources.setting;
pictureBox3.InitialImage = Properties.Resources.white_setting;
pictureBox3.Location = new Point(16, 12);
pictureBox3.Name = "pictureBox3";
pictureBox3.Size = new Size(46, 33);
pictureBox3.SizeMode = PictureBoxSizeMode.Zoom;
pictureBox3.TabIndex = 1;
pictureBox3.TabStop = false;
pictureBox3.Click += pictureBox3_Click;
pictureBox3.MouseEnter += pictureBox3_MouseEnter;
pictureBox3.MouseLeave += pictureBox3_MouseLeave;
//
// panel9
//
panel9.BackColor = Color.Transparent;
panel9.Controls.Add(lbl_patient_list);
panel9.Controls.Add(pictureBox2);
panel9.Location = new Point(4, 99);
panel9.Name = "panel9";
panel9.Size = new Size(79, 77);
panel9.TabIndex = 7;
panel9.Click += panel9_Click;
panel9.MouseEnter += panel9_MouseEnter;
panel9.MouseLeave += panel9_MouseLeave;
//
// lbl_patient_list
//
lbl_patient_list.AutoSize = true;
lbl_patient_list.BackColor = Color.Transparent;
lbl_patient_list.Font = new Font("Segoe UI", 7F, FontStyle.Regular,
GraphicsUnit.Point);
lbl_patient_list.ForeColor = Color.Black;
lbl_patient_list.Location = new Point(10, 47);
lbl_patient_list.Name = "lbl_patient_list";
lbl_patient_list.Size = new Size(52, 19);
lbl_patient_list.TabIndex = 6;
lbl_patient_list.Text = "Patient";
lbl_patient_list.Click += lbl_patient_list_Click;
lbl_patient_list.MouseEnter += lbl_patient_list_MouseEnter;
lbl_patient_list.MouseLeave += lbl_patient_list_MouseLeave;
//
// pictureBox2
//
pictureBox2.BackColor = Color.Transparent;
pictureBox2.ErrorImage = Properties.Resources.patient;
pictureBox2.Image = Properties.Resources.patient;
pictureBox2.InitialImage = Properties.Resources.white_patient;
pictureBox2.Location = new Point(16, 12);
pictureBox2.Name = "pictureBox2";
pictureBox2.Size = new Size(46, 33);
pictureBox2.SizeMode = PictureBoxSizeMode.Zoom;
pictureBox2.TabIndex = 1;
pictureBox2.TabStop = false;
pictureBox2.Click += pictureBox2_Click;
pictureBox2.MouseEnter += pictureBox2_MouseEnter;
pictureBox2.MouseLeave += pictureBox2_MouseLeave;
//
// panel7
//
panel7.BackColor = Color.Transparent;
panel7.Controls.Add(lbl_dashboard);
panel7.Controls.Add(pictureBox4);
panel7.Location = new Point(4, 15);
panel7.Name = "panel7";
panel7.Size = new Size(79, 77);
panel7.TabIndex = 7;
panel7.Click += panel7_Click;
panel7.MouseEnter += panel7_MouseEnter;
panel7.MouseLeave += panel7_MouseLeave;
//
// lbl_dashboard
//
lbl_dashboard.AutoSize = true;
lbl_dashboard.BackColor = Color.Transparent;
lbl_dashboard.Font = new Font("Segoe UI", 7F, FontStyle.Regular,
GraphicsUnit.Point);
lbl_dashboard.ForeColor = Color.Black;
lbl_dashboard.Location = new Point(1, 47);
lbl_dashboard.Name = "lbl_dashboard";
lbl_dashboard.Size = new Size(76, 19);
lbl_dashboard.TabIndex = 6;
lbl_dashboard.Text = "Dashboard";
lbl_dashboard.Click += lbl_dashboard_Click;
lbl_dashboard.MouseEnter += lbl_dashboard_MouseEnter;
lbl_dashboard.MouseLeave += lbl_dashboard_MouseLeave;
//
// pictureBox4
//
pictureBox4.BackColor = Color.Transparent;
pictureBox4.ErrorImage = Properties.Resources.dashboard;
pictureBox4.Image = Properties.Resources.dashboard;
pictureBox4.InitialImage = Properties.Resources.white_dashboard;
pictureBox4.Location = new Point(16, 12);
pictureBox4.Name = "pictureBox4";
pictureBox4.Size = new Size(46, 33);
pictureBox4.SizeMode = PictureBoxSizeMode.Zoom;
pictureBox4.TabIndex = 1;
pictureBox4.TabStop = false;
pictureBox4.Click += pictureBox4_Click;
pictureBox4.MouseEnter += pictureBox4_MouseEnter;
pictureBox4.MouseLeave += pictureBox4_MouseLeave;
//
// panel2
//
panel2.BackColor = Color.White;
panel2.Controls.Add(settingsControl1);
panel2.Controls.Add(patientDetailsControl1);
panel2.Controls.Add(dashboardControl1);
panel2.Controls.Add(patientListsControl1);
panel2.Controls.Add(surgicalPlanningControl1);
panel2.Location = new Point(114, 95);
panel2.Name = "panel2";
panel2.Size = new Size(1797, 930);
panel2.TabIndex = 20;
//
// settingsControl1
//
settingsControl1.BackColor = Color.White;
settingsControl1.Location = new Point(0, 0);
settingsControl1.Name = "settingsControl1";
settingsControl1.Size = new Size(1797, 930);
settingsControl1.TabIndex = 0;
settingsControl1.Visible = false;
settingsControl1.Dock= DockStyle.Fill;
//patientDetailsControl1
//
patientDetailsControl1.BackColor = Color.White;
patientDetailsControl1.Location = new Point(0, 0);
patientDetailsControl1.Dock = DockStyle.Fill;
patientDetailsControl1.Name = "patientDetailsControl1";
patientDetailsControl1.Size = new Size(1789, 874);
patientDetailsControl1.TabIndex = 12;
patientDetailsControl1.Visible = false;
//
//surgicalPlanningControl1
//
surgicalPlanningControl1.BackColor = Color.White;
surgicalPlanningControl1.Location = new Point(0, 0);
surgicalPlanningControl1.Dock = DockStyle.Fill;
surgicalPlanningControl1.Name = "surgicalPlanningControl1";
surgicalPlanningControl1.Size = new Size(1789, 874);
surgicalPlanningControl1.TabIndex = 12;
surgicalPlanningControl1.Visible = false;

//patientListsControl1
//
patientListsControl1.BackColor = Color.White;
patientListsControl1.Location = new Point(0, 0);
patientListsControl1.Dock = DockStyle.Fill;
patientListsControl1.Name = "patientListsControl1";
//patientListsControl1.BackColor = Color.Yellow;
patientListsControl1.Size = new Size(1789, 874);//1797, 870
patientListsControl1.TabIndex = 12;
patientListsControl1.Visible = false;
//dashboardControl1
//
dashboardControl1.BackColor = Color.White;
dashboardControl1.Location = new Point(0, 0);
dashboardControl1.Name = "dashboardControl1";
dashboardControl1.Size = new Size(1789, 930);
dashboardControl1.TabIndex = 12;
dashboardControl1.Visible = true;
dashboardControl1.Dock = DockStyle.Fill;

//
// Dashboard
//
AutoScaleDimensions = new SizeF(10F, 25F);
AutoScaleMode = AutoScaleMode.Font;
BackColor = Color.White;
ClientSize = new Size(1924, 1050);
Controls.Add(panel2);
Controls.Add(panelIcon);
Controls.Add(panel1);
Icon = (Icon)resources.GetObject("$this.Icon");
Margin = new Padding(2);
Name = "Dashboard";
StartPosition = FormStartPosition.CenterScreen;
WindowState = FormWindowState.Maximized;
Activated += Dashboard_Activated;
Load += Dashboard_Load;
Resize += Dashboard_Resize;
panel1.ResumeLayout(false);
panel4.ResumeLayout(false);
panel4.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox7).EndInit();
((System.ComponentModel.ISupportInitialize)pictureBox6).EndInit();
panelIcon.ResumeLayout(false);
panel_logout.ResumeLayout(false);
panel_logout.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
panel8.ResumeLayout(false);
panel8.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox3).EndInit();
panel9.ResumeLayout(false);
panel9.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox2).EndInit();
panel7.ResumeLayout(false);
panel7.PerformLayout();
((System.ComponentModel.ISupportInitialize)pictureBox4).EndInit();
panel2.ResumeLayout(false);
ResumeLayout(false);
}

#endregion
private Panel panel1;
private Panel panel4;
private Label lbl_current_patient;
private PictureBox pictureBox7;
private PictureBox pictureBox6;
private Panel panelIcon;
private Panel panel_logout;
private Label lbl_LogOut;
private PictureBox pictureBox1;
private Panel panel8;
private Label lbl_settings;
private PictureBox pictureBox3;
private Panel panel9;
private Label lbl_patient_list;
private PictureBox pictureBox2;
private Panel panel7;
private Label lbl_dashboard;
private PictureBox pictureBox4;
private Panel panel2;
private UserControls.DashboardControl dashboardControl1;
private UserControls.PatientListsControl patientListsControl1;
private UserControls.PatientDetailsControl patientDetailsControl1;
private UserControls.SurgicalPlanningControl surgicalPlanningControl1;
private SettingsControl settingsControl1;
}
}

You might also like