diff --git a/OpsFlow/UI/Forms/Management/ProfileControl.Designer.cs b/OpsFlow/UI/Forms/Management/ProfileControl.Designer.cs new file mode 100644 index 0000000..cdda7c9 --- /dev/null +++ b/OpsFlow/UI/Forms/Management/ProfileControl.Designer.cs @@ -0,0 +1,266 @@ +namespace OpsFlow.UI.Forms.Management; + +partial class ProfileControl +{ + /// + ///Gerekli tasarımcı değişkeni. + /// + private System.ComponentModel.IContainer components = null; + + /// + ///Kullanılan tüm kaynakları temizleyin. + /// + ///yönetilen kaynaklar dispose edilmeliyse doğru; aksi halde yanlış. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Bileşen Tasarımcısı üretimi kod + + /// + /// Tasarımcı desteği için gerekli metot - bu metodun + ///içeriğini kod düzenleyici ile değiştirmeyin. + /// + private void InitializeComponent() + { + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges12 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges13 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges14 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges15 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges16 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges17 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges18 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges19 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges20 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges21 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges22 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + PictureBox = new Guna.UI2.WinForms.Guna2CirclePictureBox(); + btnAddPhoto = new Guna.UI2.WinForms.Guna2Button(); + txtName = new Guna.UI2.WinForms.Guna2TextBox(); + txtSurname = new Guna.UI2.WinForms.Guna2TextBox(); + label3 = new Label(); + label1 = new Label(); + txtEmail = new Guna.UI2.WinForms.Guna2TextBox(); + label2 = new Label(); + txtPhone = new Guna.UI2.WinForms.Guna2TextBox(); + label4 = new Label(); + ((System.ComponentModel.ISupportInitialize)PictureBox).BeginInit(); + SuspendLayout(); + // + // PictureBox + // + PictureBox.FillColor = Color.Black; + PictureBox.ImageRotate = 0F; + PictureBox.Location = new Point(322, 26); + PictureBox.Name = "PictureBox"; + PictureBox.ShadowDecoration.CustomizableEdges = customizableEdges12; + PictureBox.ShadowDecoration.Mode = Guna.UI2.WinForms.Enums.ShadowMode.Circle; + PictureBox.Size = new Size(256, 256); + PictureBox.TabIndex = 1; + PictureBox.TabStop = false; + // + // btnAddPhoto + // + btnAddPhoto.BorderColor = Color.FromArgb(45, 55, 72); + btnAddPhoto.BorderRadius = 10; + btnAddPhoto.BorderThickness = 2; + btnAddPhoto.CustomizableEdges = customizableEdges13; + btnAddPhoto.DisabledState.BorderColor = Color.DarkGray; + btnAddPhoto.DisabledState.CustomBorderColor = Color.DarkGray; + btnAddPhoto.DisabledState.FillColor = Color.FromArgb(169, 169, 169); + btnAddPhoto.DisabledState.ForeColor = Color.FromArgb(141, 141, 141); + btnAddPhoto.FillColor = Color.FromArgb(142, 68, 173); + btnAddPhoto.Font = new Font("Poppins", 10.2F, FontStyle.Regular, GraphicsUnit.Point, 162); + btnAddPhoto.ForeColor = Color.White; + btnAddPhoto.Location = new Point(360, 299); + btnAddPhoto.Name = "btnAddPhoto"; + btnAddPhoto.ShadowDecoration.CustomizableEdges = customizableEdges14; + btnAddPhoto.Size = new Size(180, 43); + btnAddPhoto.TabIndex = 27; + btnAddPhoto.Text = "Fotoğrafı Değiştir"; + // + // txtName + // + txtName.BorderColor = Color.WhiteSmoke; + txtName.BorderRadius = 10; + txtName.BorderThickness = 2; + txtName.CustomizableEdges = customizableEdges15; + txtName.DefaultText = ""; + txtName.DisabledState.BorderColor = Color.FromArgb(208, 208, 208); + txtName.DisabledState.FillColor = Color.FromArgb(226, 226, 226); + txtName.DisabledState.ForeColor = Color.FromArgb(138, 138, 138); + txtName.DisabledState.PlaceholderForeColor = Color.FromArgb(138, 138, 138); + txtName.FillColor = Color.FromArgb(26, 31, 46); + txtName.FocusedState.BorderColor = Color.FromArgb(94, 148, 255); + txtName.Font = new Font("Poppins", 9F, FontStyle.Regular, GraphicsUnit.Point, 162); + txtName.ForeColor = Color.White; + txtName.HoverState.BorderColor = Color.FromArgb(94, 148, 255); + txtName.Location = new Point(230, 385); + txtName.Margin = new Padding(3, 5, 3, 5); + txtName.Name = "txtName"; + txtName.PlaceholderText = ""; + txtName.SelectedText = ""; + txtName.ShadowDecoration.CustomizableEdges = customizableEdges16; + txtName.Size = new Size(189, 41); + txtName.TabIndex = 28; + txtName.TextChanged += txtName_TextChanged; + // + // txtSurname + // + txtSurname.BorderColor = Color.WhiteSmoke; + txtSurname.BorderRadius = 10; + txtSurname.BorderThickness = 2; + txtSurname.CustomizableEdges = customizableEdges17; + txtSurname.DefaultText = ""; + txtSurname.DisabledState.BorderColor = Color.FromArgb(208, 208, 208); + txtSurname.DisabledState.FillColor = Color.FromArgb(226, 226, 226); + txtSurname.DisabledState.ForeColor = Color.FromArgb(138, 138, 138); + txtSurname.DisabledState.PlaceholderForeColor = Color.FromArgb(138, 138, 138); + txtSurname.FillColor = Color.FromArgb(26, 31, 46); + txtSurname.FocusedState.BorderColor = Color.FromArgb(94, 148, 255); + txtSurname.Font = new Font("Poppins", 9F, FontStyle.Regular, GraphicsUnit.Point, 162); + txtSurname.ForeColor = Color.White; + txtSurname.HoverState.BorderColor = Color.FromArgb(94, 148, 255); + txtSurname.Location = new Point(482, 385); + txtSurname.Margin = new Padding(3, 5, 3, 5); + txtSurname.Name = "txtSurname"; + txtSurname.PlaceholderText = ""; + txtSurname.SelectedText = ""; + txtSurname.ShadowDecoration.CustomizableEdges = customizableEdges18; + txtSurname.Size = new Size(189, 41); + txtSurname.TabIndex = 29; + // + // label3 + // + label3.AutoSize = true; + label3.Font = new Font("Poppins Medium", 9F, FontStyle.Bold, GraphicsUnit.Point, 162); + label3.ForeColor = Color.White; + label3.Location = new Point(241, 358); + label3.Name = "label3"; + label3.Size = new Size(34, 26); + label3.TabIndex = 30; + label3.Text = "Ad"; + // + // label1 + // + label1.AutoSize = true; + label1.Font = new Font("Poppins Medium", 9F, FontStyle.Bold, GraphicsUnit.Point, 162); + label1.ForeColor = Color.White; + label1.Location = new Point(491, 358); + label1.Name = "label1"; + label1.Size = new Size(65, 26); + label1.TabIndex = 31; + label1.Text = "Soyad"; + // + // txtEmail + // + txtEmail.BorderColor = Color.WhiteSmoke; + txtEmail.BorderRadius = 10; + txtEmail.BorderThickness = 2; + txtEmail.CustomizableEdges = customizableEdges19; + txtEmail.DefaultText = ""; + txtEmail.DisabledState.BorderColor = Color.FromArgb(208, 208, 208); + txtEmail.DisabledState.FillColor = Color.FromArgb(226, 226, 226); + txtEmail.DisabledState.ForeColor = Color.FromArgb(138, 138, 138); + txtEmail.DisabledState.PlaceholderForeColor = Color.FromArgb(138, 138, 138); + txtEmail.FillColor = Color.FromArgb(26, 31, 46); + txtEmail.FocusedState.BorderColor = Color.FromArgb(94, 148, 255); + txtEmail.Font = new Font("Poppins", 9F, FontStyle.Regular, GraphicsUnit.Point, 162); + txtEmail.ForeColor = Color.White; + txtEmail.HoverState.BorderColor = Color.FromArgb(94, 148, 255); + txtEmail.Location = new Point(269, 464); + txtEmail.Margin = new Padding(3, 5, 3, 5); + txtEmail.Name = "txtEmail"; + txtEmail.PlaceholderText = ""; + txtEmail.SelectedText = ""; + txtEmail.ShadowDecoration.CustomizableEdges = customizableEdges20; + txtEmail.Size = new Size(346, 41); + txtEmail.TabIndex = 32; + // + // label2 + // + label2.AutoSize = true; + label2.Font = new Font("Poppins Medium", 9F, FontStyle.Bold, GraphicsUnit.Point, 162); + label2.ForeColor = Color.White; + label2.Location = new Point(280, 436); + label2.Name = "label2"; + label2.Size = new Size(80, 26); + label2.TabIndex = 33; + label2.Text = "E-posta"; + // + // txtPhone + // + txtPhone.BorderColor = Color.WhiteSmoke; + txtPhone.BorderRadius = 10; + txtPhone.BorderThickness = 2; + txtPhone.CustomizableEdges = customizableEdges21; + txtPhone.DefaultText = ""; + txtPhone.DisabledState.BorderColor = Color.FromArgb(208, 208, 208); + txtPhone.DisabledState.FillColor = Color.FromArgb(226, 226, 226); + txtPhone.DisabledState.ForeColor = Color.FromArgb(138, 138, 138); + txtPhone.DisabledState.PlaceholderForeColor = Color.FromArgb(138, 138, 138); + txtPhone.FillColor = Color.FromArgb(26, 31, 46); + txtPhone.FocusedState.BorderColor = Color.FromArgb(94, 148, 255); + txtPhone.Font = new Font("Poppins", 9F, FontStyle.Regular, GraphicsUnit.Point, 162); + txtPhone.ForeColor = Color.White; + txtPhone.HoverState.BorderColor = Color.FromArgb(94, 148, 255); + txtPhone.Location = new Point(269, 546); + txtPhone.Margin = new Padding(3, 5, 3, 5); + txtPhone.Name = "txtPhone"; + txtPhone.PlaceholderText = ""; + txtPhone.SelectedText = ""; + txtPhone.ShadowDecoration.CustomizableEdges = customizableEdges22; + txtPhone.Size = new Size(346, 41); + txtPhone.TabIndex = 34; + // + // label4 + // + label4.AutoSize = true; + label4.Font = new Font("Poppins Medium", 9F, FontStyle.Bold, GraphicsUnit.Point, 162); + label4.ForeColor = Color.White; + label4.Location = new Point(280, 515); + label4.Name = "label4"; + label4.Size = new Size(102, 26); + label4.TabIndex = 35; + label4.Text = "Telefon No"; + // + // ProfileControl + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + BackColor = Color.FromArgb(16, 18, 24); + Controls.Add(label4); + Controls.Add(txtPhone); + Controls.Add(label2); + Controls.Add(txtEmail); + Controls.Add(label1); + Controls.Add(label3); + Controls.Add(txtSurname); + Controls.Add(txtName); + Controls.Add(btnAddPhoto); + Controls.Add(PictureBox); + Name = "ProfileControl"; + Size = new Size(900, 700); + ((System.ComponentModel.ISupportInitialize)PictureBox).EndInit(); + ResumeLayout(false); + PerformLayout(); + } + + #endregion + + private Guna.UI2.WinForms.Guna2CirclePictureBox PictureBox; + private Guna.UI2.WinForms.Guna2Button btnAddPhoto; + private Guna.UI2.WinForms.Guna2TextBox txtName; + private Guna.UI2.WinForms.Guna2TextBox txtSurname; + private Label label3; + private Label label1; + private Guna.UI2.WinForms.Guna2TextBox txtEmail; + private Label label2; + private Guna.UI2.WinForms.Guna2TextBox txtPhone; + private Label label4; +} diff --git a/OpsFlow/UI/Forms/Management/ProfileControl.cs b/OpsFlow/UI/Forms/Management/ProfileControl.cs new file mode 100644 index 0000000..e94e5da --- /dev/null +++ b/OpsFlow/UI/Forms/Management/ProfileControl.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +namespace OpsFlow.UI.Forms.Management; + +public partial class ProfileControl : UserControl +{ + public ProfileControl() + { + InitializeComponent(); + } + + private void txtName_TextChanged(object sender, EventArgs e) + { + + } +} diff --git a/OpsFlow/UI/Forms/Management/ProfileControl.resx b/OpsFlow/UI/Forms/Management/ProfileControl.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/OpsFlow/UI/Forms/Management/ProfileControl.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/OpsFlow/UI/Forms/Management/SettingsForm.Designer.cs b/OpsFlow/UI/Forms/Management/SettingsForm.Designer.cs new file mode 100644 index 0000000..195693f --- /dev/null +++ b/OpsFlow/UI/Forms/Management/SettingsForm.Designer.cs @@ -0,0 +1,189 @@ +namespace OpsFlow.UI.Forms.Management; + +partial class SettingsForm +{ + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges25 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges26 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges23 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges24 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges21 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges22 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges19 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges20 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges17 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges18 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges15 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges16 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges27 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + Guna.UI2.WinForms.Suite.CustomizableEdges customizableEdges28 = new Guna.UI2.WinForms.Suite.CustomizableEdges(); + pnlSettingsMenu = new Guna.UI2.WinForms.Guna2Panel(); + btnGeneral = new Guna.UI2.WinForms.Guna2Button(); + btnProfile = new Guna.UI2.WinForms.Guna2Button(); + btnNotifications = new Guna.UI2.WinForms.Guna2Button(); + btnFax = new Guna.UI2.WinForms.Guna2Button(); + btnSecurity = new Guna.UI2.WinForms.Guna2Button(); + pnlSettingsContent = new Guna.UI2.WinForms.Guna2Panel(); + pnlSettingsMenu.SuspendLayout(); + SuspendLayout(); + // + // pnlSettingsMenu + // + pnlSettingsMenu.Controls.Add(btnSecurity); + pnlSettingsMenu.Controls.Add(btnFax); + pnlSettingsMenu.Controls.Add(btnNotifications); + pnlSettingsMenu.Controls.Add(btnProfile); + pnlSettingsMenu.Controls.Add(btnGeneral); + pnlSettingsMenu.CustomizableEdges = customizableEdges25; + pnlSettingsMenu.Dock = DockStyle.Left; + pnlSettingsMenu.Location = new Point(0, 0); + pnlSettingsMenu.Name = "pnlSettingsMenu"; + pnlSettingsMenu.ShadowDecoration.CustomizableEdges = customizableEdges26; + pnlSettingsMenu.Size = new Size(250, 791); + pnlSettingsMenu.TabIndex = 0; + // + // btnGeneral + // + btnGeneral.CustomizableEdges = customizableEdges23; + btnGeneral.DisabledState.BorderColor = Color.DarkGray; + btnGeneral.DisabledState.CustomBorderColor = Color.DarkGray; + btnGeneral.DisabledState.FillColor = Color.FromArgb(169, 169, 169); + btnGeneral.DisabledState.ForeColor = Color.FromArgb(141, 141, 141); + btnGeneral.FillColor = Color.Transparent; + btnGeneral.Font = new Font("Poppins", 12F, FontStyle.Bold, GraphicsUnit.Point, 162); + btnGeneral.ForeColor = Color.White; + btnGeneral.Location = new Point(1, 0); + btnGeneral.Name = "btnGeneral"; + btnGeneral.ShadowDecoration.CustomizableEdges = customizableEdges24; + btnGeneral.Size = new Size(247, 56); + btnGeneral.TabIndex = 0; + btnGeneral.Text = "Genel"; + // + // btnProfile + // + btnProfile.CustomizableEdges = customizableEdges21; + btnProfile.DisabledState.BorderColor = Color.DarkGray; + btnProfile.DisabledState.CustomBorderColor = Color.DarkGray; + btnProfile.DisabledState.FillColor = Color.FromArgb(169, 169, 169); + btnProfile.DisabledState.ForeColor = Color.FromArgb(141, 141, 141); + btnProfile.FillColor = Color.Transparent; + btnProfile.Font = new Font("Poppins Medium", 12F, FontStyle.Bold, GraphicsUnit.Point, 162); + btnProfile.ForeColor = Color.White; + btnProfile.Location = new Point(1, 61); + btnProfile.Name = "btnProfile"; + btnProfile.ShadowDecoration.CustomizableEdges = customizableEdges22; + btnProfile.Size = new Size(247, 56); + btnProfile.TabIndex = 1; + btnProfile.Text = "Profil"; + // + // btnNotifications + // + btnNotifications.CustomizableEdges = customizableEdges19; + btnNotifications.DisabledState.BorderColor = Color.DarkGray; + btnNotifications.DisabledState.CustomBorderColor = Color.DarkGray; + btnNotifications.DisabledState.FillColor = Color.FromArgb(169, 169, 169); + btnNotifications.DisabledState.ForeColor = Color.FromArgb(141, 141, 141); + btnNotifications.FillColor = Color.Transparent; + btnNotifications.Font = new Font("Poppins Medium", 12F, FontStyle.Bold, GraphicsUnit.Point, 162); + btnNotifications.ForeColor = Color.White; + btnNotifications.Location = new Point(1, 122); + btnNotifications.Name = "btnNotifications"; + btnNotifications.ShadowDecoration.CustomizableEdges = customizableEdges20; + btnNotifications.Size = new Size(247, 56); + btnNotifications.TabIndex = 2; + btnNotifications.Text = "Bildirimler"; + // + // btnFax + // + btnFax.CustomizableEdges = customizableEdges17; + btnFax.DisabledState.BorderColor = Color.DarkGray; + btnFax.DisabledState.CustomBorderColor = Color.DarkGray; + btnFax.DisabledState.FillColor = Color.FromArgb(169, 169, 169); + btnFax.DisabledState.ForeColor = Color.FromArgb(141, 141, 141); + btnFax.FillColor = Color.Transparent; + btnFax.Font = new Font("Poppins Medium", 12F, FontStyle.Bold, GraphicsUnit.Point, 162); + btnFax.ForeColor = Color.White; + btnFax.Location = new Point(1, 184); + btnFax.Name = "btnFax"; + btnFax.ShadowDecoration.CustomizableEdges = customizableEdges18; + btnFax.Size = new Size(247, 56); + btnFax.TabIndex = 3; + btnFax.Text = "Fatura"; + // + // btnSecurity + // + btnSecurity.CustomizableEdges = customizableEdges15; + btnSecurity.DisabledState.BorderColor = Color.DarkGray; + btnSecurity.DisabledState.CustomBorderColor = Color.DarkGray; + btnSecurity.DisabledState.FillColor = Color.FromArgb(169, 169, 169); + btnSecurity.DisabledState.ForeColor = Color.FromArgb(141, 141, 141); + btnSecurity.FillColor = Color.Transparent; + btnSecurity.Font = new Font("Poppins Medium", 12F, FontStyle.Bold, GraphicsUnit.Point, 162); + btnSecurity.ForeColor = Color.White; + btnSecurity.Location = new Point(1, 245); + btnSecurity.Name = "btnSecurity"; + btnSecurity.ShadowDecoration.CustomizableEdges = customizableEdges16; + btnSecurity.Size = new Size(247, 56); + btnSecurity.TabIndex = 4; + btnSecurity.Text = "Güvenlik"; + // + // pnlSettingsContent + // + pnlSettingsContent.CustomizableEdges = customizableEdges27; + pnlSettingsContent.Dock = DockStyle.Fill; + pnlSettingsContent.Location = new Point(250, 0); + pnlSettingsContent.Name = "pnlSettingsContent"; + pnlSettingsContent.ShadowDecoration.CustomizableEdges = customizableEdges28; + pnlSettingsContent.Size = new Size(750, 791); + pnlSettingsContent.TabIndex = 1; + // + // SettingsForm + // + AutoScaleDimensions = new SizeF(8F, 20F); + AutoScaleMode = AutoScaleMode.Font; + BackColor = Color.FromArgb(16, 18, 24); + ClientSize = new Size(1000, 791); + Controls.Add(pnlSettingsContent); + Controls.Add(pnlSettingsMenu); + FormBorderStyle = FormBorderStyle.None; + Name = "SettingsForm"; + Text = "SettingsForm"; + pnlSettingsMenu.ResumeLayout(false); + ResumeLayout(false); + } + + #endregion + + private Guna.UI2.WinForms.Guna2Panel pnlSettingsMenu; + private Guna.UI2.WinForms.Guna2Button btnSecurity; + private Guna.UI2.WinForms.Guna2Button btnFax; + private Guna.UI2.WinForms.Guna2Button btnNotifications; + private Guna.UI2.WinForms.Guna2Button btnProfile; + private Guna.UI2.WinForms.Guna2Button btnGeneral; + private Guna.UI2.WinForms.Guna2Panel pnlSettingsContent; +} \ No newline at end of file diff --git a/OpsFlow/UI/Forms/Management/SettingsForm.cs b/OpsFlow/UI/Forms/Management/SettingsForm.cs new file mode 100644 index 0000000..eb532db --- /dev/null +++ b/OpsFlow/UI/Forms/Management/SettingsForm.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Text; +using System.Windows.Forms; + +using Guna.UI2.WinForms; + +namespace OpsFlow.UI.Forms.Management; + +public partial class SettingsForm : Form +{ + public SettingsForm() + { + InitializeComponent(); + } + private void SettingsForm_Load(object sender, EventArgs e) + { + ShowPage(new ProfileControl()); + HighlightButton(btnProfile); + } + private void ShowPage(UserControl page) + { + pnlSettingsContent.Controls.Clear(); + page.Dock = DockStyle.Fill; + pnlSettingsContent.Controls.Add(page); + } + private void HighlightButton(Guna2Button activeBtn) + { + btnGeneral.FillColor = Color.Transparent; + btnProfile.FillColor = Color.Transparent; + btnNotifications.FillColor = Color.Transparent; + activeBtn.FillColor = Color.FromArgb(40, 44, 55); + } + + private void btnProfile_Click(object sender, EventArgs e) + { + ShowPage(new ProfileControl()); + HighlightButton((Guna2Button)sender); + } + + private void btnGeneral_Click(object sender, EventArgs e) + { + HighlightButton((Guna2Button)sender); + } +} \ No newline at end of file diff --git a/OpsFlow/UI/Forms/Management/SettingsForm.resx b/OpsFlow/UI/Forms/Management/SettingsForm.resx new file mode 100644 index 0000000..8b2ff64 --- /dev/null +++ b/OpsFlow/UI/Forms/Management/SettingsForm.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file