예제 #1
0
파일: Form1.cs 프로젝트: deveper/Kutuphane
 void clearLst(Control.ControlCollection ctrln)
 {
     foreach (Control item in ctrln)
     {
         if (item is MetroTextBox)
         {
             MetroTextBox txt = (MetroTextBox)item;
             txt.Clear();
         }
         else if (item is NumericUpDown)
         {
             NumericUpDown nmb = (NumericUpDown)item;
             nmb.Value = 0;
         }
         else if (item is MetroDateTime)
         {
             MetroDateTime dt = (MetroDateTime)item;
             dt.Value = DateTime.Now;
         }
         else if (item is MetroComboBox)
         {
             MetroComboBox mc = (MetroComboBox)item;
             mc.SelectedItem = default;
         }
         else if (item is GroupBox)
         {
             GroupBox gb = (GroupBox)item;
             clearLst(gb.Controls);
         }
     }
 }
예제 #2
0
 public WorkInOperationPrinter(MetroGrid dgv, MetroTextBox printerIDTB, MetroComboBox statusCB, MetroDateTime date)
 {
     Dgv         = dgv;
     PrinterIDTB = printerIDTB;
     StatusCB    = statusCB;
     Date        = date;
 }
예제 #3
0
파일: CardFile.cs 프로젝트: rtolik/StomV2
 private void CheckDateRange(MetroDateTime left, MetroDateTime right)
 {
     if (left.Value > right.Value)
     {
         MetroMessageBox.Show(this, "Дата початку пошуку має бути меншою ніж дата кінця пошуку!");
         left.Value = DateTo.Value.AddMonths(Constants.MinusMonths);
     }
 }
예제 #4
0
        // Validar edad.
        public void ValidarEdad(MetroDateTime dtPicker)
        {
            int diferencia = DateTime.Now.Year - dtPicker.Value.Year;

            if (diferencia < 18)
            {
                this.FalloValidacion = true;
                MsgBox.Show(this.myForm, StringResources.MensajeValidacion_MenorDeEdad, StringResources.TituloMensajes_Atencion, MessageBoxButtons.OK, MessageBoxIcon.Error);
                dtPicker.Focus();
                return;
            }
            this.FalloValidacion = false;
        }
예제 #5
0
        /// <summary>
        /// Carga los calendarios con respecto a la fecha de inactividad, inicio de periodo y fin de perido.
        /// </summary>
        /// <param name="pe_Calendario"></param>
        public void pv_CargaCalendario(ref MetroDateTime pe_Calendario)
        {
            try
            {
                var _configEmpresaModelMisc = new ConfigEmpresaModelMisc();
                _configEmpresaModelMisc.pb_ObtenerConfigEmpresa(ref _configEmpresaModelMisc);

                //Si la fecha de inactividad es menor a la fecha de inicio de periodo, no se puede seleccionar nada menor a la fecha de inicio
                pe_Calendario.MinDate = DateTime.Parse(DateTime.Parse(_configEmpresaModelMisc.FecInaPeriodo) <
                                                       DateTime.Parse(_configEmpresaModelMisc.FecIniPeriodo) ? _configEmpresaModelMisc.FecIniPeriodo : _configEmpresaModelMisc.FecInaPeriodo);

                pe_Calendario.MaxDate = DateTime.Parse(_configEmpresaModelMisc.FecFinPeriodo);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
예제 #6
0
 public void dayDateShowHide(MetroDateTime day, MetroLabel dayLabel,
                             MetroLabel fromLabel, MetroLabel toLabel, MetroComboBox fromHour,
                             MetroComboBox fromMinute, MetroComboBox toHour, MetroComboBox toMinute, int dayValue,
                             int?comboBoxValue)
 {
     if (comboBoxValue != null)
     {
         if (comboBoxValue > dayValue)
         {
             day.Show();
             dayLabel.Show();
             fromLabel.Show();
             toLabel.Show();
             fromHour.Show();
             fromMinute.Show();
             toHour.Show();
             toMinute.Show();
         }
         else
         {
             day.Hide();
             dayLabel.Hide();
             fromLabel.Hide();
             toLabel.Hide();
             fromHour.Hide();
             fromMinute.Hide();
             toHour.Hide();
             toMinute.Hide();
         }
     }
     else
     {
         day.Hide();
         dayLabel.Hide();
         fromLabel.Hide();
         toLabel.Hide();
         fromHour.Hide();
         fromMinute.Hide();
         toHour.Hide();
         toMinute.Hide();
     }
 }
 void ClearForm(Control cls)
 {
     foreach (Control control in cls.Controls)
     {
         if (control is MetroTextBox)
         {
             control.Text = "";
         }
         else if (control is TextBox)
         {
             control.Text = "";
         }
         else if (control is MetroDateTime)
         {
             MetroDateTime dt = (MetroDateTime)control;
             dt.Value = DateTime.Now;
         }
         else if (control is MetroComboBox)
         {
             MetroComboBox cmb = (MetroComboBox)control;
             cmb.SelectedIndex = -1;
         }
         else if (control is PictureBox)
         {
             PictureBox pcb = (PictureBox)control;
             foreach (Control item in metroPanel1.Controls)
             {
                 if (item is MetroRadioButton)
                 {
                     MetroRadioButton rd = (MetroRadioButton)item;
                     pcb.Image = Image.FromFile(Environment.CurrentDirectory + $@"\..\..\Images\{rd.Name.ToLower().Replace("rd", "")}.jpg");
                 }
             }
         }
         else if (control is GroupBox)
         {
             GroupBox grb = (GroupBox)control;
             ClearForm(grb);
         }
     }
 }
예제 #8
0
        //SecondSeries Update
        public static void UpdateSecondSeries(LiveCharts.WinForms.CartesianChart input, ComboBox c1, ComboBox c2, MetroDateTime startDate, MetroDateTime endDate)
        {
            //Second Data Series
            if (c2.SelectedItem == null)
            {
                return;
            }
            if (VisualizeComboBox.GetComboBoxKey(c2) == "")
            {
                if (input.Series.Count == 2)
                {
                    input.Series.Remove(input.Series[1]);
                }
                return;
            }

            string ticker2 = VisualizeComboBox.GetComboBoxKey(c2);

            var additionalIndex = ProvideIndexHistoricalData.Provide(
                ticker2,
                CreateDatePicker.GetDate(startDate),
                CreateDatePicker.GetDate(endDate),
                "d");

            ChartValues2 = new ChartValues <DataPoint>(additionalIndex.HistoricalData);

            if (input.Series.Count == 2)
            {
                input.Series.RemoveAt(1);
            }
            input.Series.Add(new LineSeries
            {
                Title           = VisualizeComboBox.GetComboBoxKey(c2),
                Values          = ChartValues2,
                PointGeometry   = null,
                Stroke          = new SolidColorBrush(System.Windows.Media.Color.FromRgb(124, 65, 153)),
                Fill            = new SolidColorBrush(System.Windows.Media.Color.FromArgb(35, 124, 65, 153)),
                StrokeThickness = 2.5
            });
        }
예제 #9
0
        //FirstSeries Update
        public static void UpdateFirstSeries(LiveCharts.WinForms.CartesianChart input, ComboBox combo1, ComboBox combo2, MetroDateTime startDate, MetroDateTime endDate)
        {
            //First Data Series
            if (combo1.SelectedItem == null)
            {
                return;
            }

            string ticker1 = VisualizeComboBox.GetComboBoxKey(combo1);

            var currentIndex = ProvideIndexHistoricalData.Provide(
                ticker1,
                CreateDatePicker.GetDate(startDate),
                CreateDatePicker.GetDate(endDate),
                "d");

            ChartValues1 = new ChartValues <DataPoint>(currentIndex.HistoricalData);

            //Indexer is not support. Thus, I need to remove the old Series
            input.Series.RemoveAt(0);

            input.Series.Insert(0, new LineSeries
            {
                Title           = VisualizeComboBox.GetComboBoxKey(combo1),
                Values          = ChartValues1,
                PointGeometry   = null,
                Stroke          = new SolidColorBrush(System.Windows.Media.Color.FromRgb(0, 174, 219)),
                Fill            = new SolidColorBrush(System.Windows.Media.Color.FromArgb(35, 0, 174, 219)),
                StrokeThickness = 2.5
            });
        }
예제 #10
0
 private string GetDateFromControl(MetroDateTime mdt)
 {
     return(mdt.Value.Year.ToString() + "-" + mdt.Value.Month.ToString() + "-" +
            mdt.Value.Day.ToString());
 }
예제 #11
0
        public static void DateChanged(LiveCharts.WinForms.CartesianChart input, ComboBox c1, ComboBox c2, MetroDateTime startDate, MetroDateTime endDate)
        {
            //Validate
            if (GetDate(endDate) < GetDate(startDate))
            {
                MessageBox.Show("The end date cannot be before the startDate", "Invalid input", MessageBoxButtons.OK, MessageBoxIcon.Error);
                return;
            }

            if (GetDate(endDate).Subtract(GetDate(startDate)).TotalDays > 365 * 2)
            {
                DialogResult result = MessageBox.Show("Please note that if you select a range longer than 2 years, the perfomance will degrate. Do you want to proceed?", "Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
                if (result == DialogResult.No)
                {
                    return;
                }
            }

            UpdateChartData.UpdateFirstSeries(input, c1, c2, startDate, endDate);
            UpdateChartData.UpdateSecondSeries(input, c1, c2, startDate, endDate);
        }
예제 #12
0
 public static void InitializeDatePickers(MetroDateTime startDate, MetroDateTime endDate)
 {
     startDate.Value = DateTime.Now;
     endDate.Value   = DateTime.Now.AddMonths(-6);
 }
예제 #13
0
 /// <summary>
 /// This method is required for Windows Forms designer support.
 /// Do not change the method contents inside the source code editor. The Forms designer might
 /// not be able to load this method if it was changed manually.
 /// </summary>
 private void InitializeComponent()
 {
     this.components        = new Container();
     this.tableLayoutPanel1 = new TableLayoutPanel();
     this.txtFullname       = new MaterialSingleLineTextField();
     this.materialLabel2    = new MaterialLabel();
     this.txtEmail          = new MaterialSingleLineTextField();
     this.materialLabel3    = new MaterialLabel();
     this.txtPassword       = new MaterialSingleLineTextField();
     this.materialLabel4    = new MaterialLabel();
     this.btnCancel         = new MaterialFlatButton();
     this.tableLayoutPanel2 = new TableLayoutPanel();
     this.materialLabel5    = new MaterialLabel();
     this.dtpDOB            = new MetroFramework.Controls.MetroDateTime();
     this.cbxGender         = new MetroFramework.Controls.MetroComboBox();
     this.materialLabel6    = new MaterialLabel();
     this.materialLabel1    = new MaterialLabel();
     this.txtConfirm        = new MaterialSingleLineTextField();
     this.btnRegister       = new MaterialRaisedButton();
     this.ErrorProvider     = new ErrorProvider(this.components);
     this.tableLayoutPanel1.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((ISupportInitialize)(this.ErrorProvider)).BeginInit();
     this.SuspendLayout();
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.BackColor   = System.Drawing.SystemColors.Control;
     this.tableLayoutPanel1.ColumnCount = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F));
     this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 75F));
     this.tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 35F));
     this.tableLayoutPanel1.Controls.Add(this.txtFullname, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.materialLabel2, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.txtEmail, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.materialLabel3, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.txtPassword, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.materialLabel4, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.btnCancel, 0, 6);
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 4);
     this.tableLayoutPanel1.Controls.Add(this.materialLabel1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.txtConfirm, 1, 3);
     this.tableLayoutPanel1.Controls.Add(this.btnRegister, 1, 5);
     this.tableLayoutPanel1.Dock     = DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(5, 5);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.Padding  = new Padding(5);
     this.tableLayoutPanel1.RowCount = 7;
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 15F));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 15F));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 15F));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 15F));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 15F));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 12.5F));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 12.5F));
     this.tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(565, 329);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // txtFullname
     //
     this.txtFullname.Depth                 = 0;
     this.txtFullname.Dock                  = DockStyle.Fill;
     this.txtFullname.Hint                  = "";
     this.txtFullname.Location              = new System.Drawing.Point(135, 25);
     this.txtFullname.Margin                = new Padding(0, 20, 0, 0);
     this.txtFullname.MouseState            = MaterialSkin.MouseState.HOVER;
     this.txtFullname.Name                  = "txtFullname";
     this.txtFullname.PasswordChar          = '\0';
     this.txtFullname.SelectedText          = "";
     this.txtFullname.SelectionLength       = 0;
     this.txtFullname.SelectionStart        = 0;
     this.txtFullname.Size                  = new System.Drawing.Size(390, 23);
     this.txtFullname.TabIndex              = 1;
     this.txtFullname.Text                  = "Dung Duong";
     this.txtFullname.UseSystemPasswordChar = false;
     this.txtFullname.Validating           += new CancelEventHandler(this.TxtFullnameValidating);
     //
     // materialLabel2
     //
     this.materialLabel2.Depth      = 0;
     this.materialLabel2.Dock       = DockStyle.Fill;
     this.materialLabel2.Font       = new System.Drawing.Font("Roboto", 11F);
     this.materialLabel2.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.materialLabel2.Location   = new System.Drawing.Point(8, 49);
     this.materialLabel2.MouseState = MaterialSkin.MouseState.HOVER;
     this.materialLabel2.Name       = "materialLabel2";
     this.materialLabel2.Size       = new System.Drawing.Size(124, 44);
     this.materialLabel2.TabIndex   = 2;
     this.materialLabel2.Text       = "Email:";
     this.materialLabel2.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtEmail
     //
     this.txtEmail.Depth                 = 0;
     this.txtEmail.Dock                  = DockStyle.Fill;
     this.txtEmail.Hint                  = "";
     this.txtEmail.Location              = new System.Drawing.Point(135, 69);
     this.txtEmail.Margin                = new Padding(0, 20, 0, 0);
     this.txtEmail.MouseState            = MaterialSkin.MouseState.HOVER;
     this.txtEmail.Name                  = "txtEmail";
     this.txtEmail.PasswordChar          = '\0';
     this.txtEmail.SelectedText          = "";
     this.txtEmail.SelectionLength       = 0;
     this.txtEmail.SelectionStart        = 0;
     this.txtEmail.Size                  = new System.Drawing.Size(390, 23);
     this.txtEmail.TabIndex              = 3;
     this.txtEmail.Text                  = "*****@*****.**";
     this.txtEmail.UseSystemPasswordChar = false;
     this.txtEmail.Validating           += new CancelEventHandler(this.TxtEmailValidating);
     //
     // materialLabel3
     //
     this.materialLabel3.Depth      = 0;
     this.materialLabel3.Dock       = DockStyle.Fill;
     this.materialLabel3.Font       = new System.Drawing.Font("Roboto", 11F);
     this.materialLabel3.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.materialLabel3.Location   = new System.Drawing.Point(8, 93);
     this.materialLabel3.MouseState = MaterialSkin.MouseState.HOVER;
     this.materialLabel3.Name       = "materialLabel3";
     this.materialLabel3.Size       = new System.Drawing.Size(124, 44);
     this.materialLabel3.TabIndex   = 4;
     this.materialLabel3.Text       = "Password:"******"";
     this.txtPassword.Location              = new System.Drawing.Point(135, 113);
     this.txtPassword.Margin                = new Padding(0, 20, 0, 0);
     this.txtPassword.MouseState            = MaterialSkin.MouseState.HOVER;
     this.txtPassword.Name                  = "txtPassword";
     this.txtPassword.PasswordChar          = '\0';
     this.txtPassword.SelectedText          = "";
     this.txtPassword.SelectionLength       = 0;
     this.txtPassword.SelectionStart        = 0;
     this.txtPassword.Size                  = new System.Drawing.Size(390, 23);
     this.txtPassword.TabIndex              = 5;
     this.txtPassword.Text                  = "123";
     this.txtPassword.UseSystemPasswordChar = true;
     this.txtPassword.Validating           += new CancelEventHandler(this.TxtPasswordValidating);
     //
     // materialLabel4
     //
     this.materialLabel4.Depth      = 0;
     this.materialLabel4.Dock       = DockStyle.Fill;
     this.materialLabel4.Font       = new System.Drawing.Font("Roboto", 11F);
     this.materialLabel4.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.materialLabel4.Location   = new System.Drawing.Point(8, 137);
     this.materialLabel4.MouseState = MaterialSkin.MouseState.HOVER;
     this.materialLabel4.Name       = "materialLabel4";
     this.materialLabel4.Size       = new System.Drawing.Size(124, 44);
     this.materialLabel4.TabIndex   = 6;
     this.materialLabel4.Text       = "Confirm Password:"******"btnCancel";
     this.btnCancel.Primary    = false;
     this.btnCancel.Size       = new System.Drawing.Size(455, 25);
     this.btnCancel.TabIndex   = 9;
     this.btnCancel.Text       = "Cancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new System.EventHandler(this.BtnCancelClick);
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.ColumnCount = 5;
     this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel2, 3);
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 20F));
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 22F));
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 38F));
     this.tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 34F));
     this.tableLayoutPanel2.Controls.Add(this.materialLabel5, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.dtpDOB, 3, 0);
     this.tableLayoutPanel2.Controls.Add(this.cbxGender, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.materialLabel6, 2, 0);
     this.tableLayoutPanel2.Dock     = DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(5, 186);
     this.tableLayoutPanel2.Margin   = new Padding(0, 5, 0, 5);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 1;
     this.tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(555, 34);
     this.tableLayoutPanel2.TabIndex = 10;
     //
     // materialLabel5
     //
     this.materialLabel5.Depth      = 0;
     this.materialLabel5.Dock       = DockStyle.Fill;
     this.materialLabel5.Font       = new System.Drawing.Font("Roboto", 11F);
     this.materialLabel5.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.materialLabel5.Location   = new System.Drawing.Point(3, 0);
     this.materialLabel5.MouseState = MaterialSkin.MouseState.HOVER;
     this.materialLabel5.Name       = "materialLabel5";
     this.materialLabel5.Size       = new System.Drawing.Size(98, 34);
     this.materialLabel5.TabIndex   = 0;
     this.materialLabel5.Text       = "Gender:";
     this.materialLabel5.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // dtpDOB
     //
     this.dtpDOB.Dock        = DockStyle.Fill;
     this.dtpDOB.Location    = new System.Drawing.Point(325, 3);
     this.dtpDOB.MinimumSize = new System.Drawing.Size(0, 29);
     this.dtpDOB.Name        = "dtpDOB";
     this.dtpDOB.Size        = new System.Drawing.Size(191, 29);
     this.dtpDOB.TabIndex    = 2;
     this.dtpDOB.Validating += new CancelEventHandler(this.DtpDOBValidating);
     //
     // cbxGender
     //
     this.cbxGender.Dock = DockStyle.Fill;
     this.cbxGender.FormattingEnabled = true;
     this.cbxGender.ItemHeight        = 23;
     this.cbxGender.Items.AddRange(new object[] {
         "Female",
         "Male"
     });
     this.cbxGender.Location      = new System.Drawing.Point(104, 5);
     this.cbxGender.Margin        = new Padding(0, 5, 0, 0);
     this.cbxGender.Name          = "cbxGender";
     this.cbxGender.Size          = new System.Drawing.Size(104, 29);
     this.cbxGender.TabIndex      = 3;
     this.cbxGender.UseSelectable = true;
     //
     // materialLabel6
     //
     this.materialLabel6.Depth      = 0;
     this.materialLabel6.Dock       = DockStyle.Fill;
     this.materialLabel6.Font       = new System.Drawing.Font("Roboto", 11F);
     this.materialLabel6.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.materialLabel6.Location   = new System.Drawing.Point(211, 0);
     this.materialLabel6.MouseState = MaterialSkin.MouseState.HOVER;
     this.materialLabel6.Name       = "materialLabel6";
     this.materialLabel6.Size       = new System.Drawing.Size(108, 34);
     this.materialLabel6.TabIndex   = 1;
     this.materialLabel6.Text       = "Day of Birth:";
     this.materialLabel6.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // materialLabel1
     //
     this.materialLabel1.Depth      = 0;
     this.materialLabel1.Dock       = DockStyle.Fill;
     this.materialLabel1.Font       = new System.Drawing.Font("Roboto", 11F);
     this.materialLabel1.ForeColor  = System.Drawing.Color.FromArgb(((int)(((byte)(222)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.materialLabel1.Location   = new System.Drawing.Point(8, 5);
     this.materialLabel1.MouseState = MaterialSkin.MouseState.HOVER;
     this.materialLabel1.Name       = "materialLabel1";
     this.materialLabel1.Size       = new System.Drawing.Size(124, 44);
     this.materialLabel1.TabIndex   = 0;
     this.materialLabel1.Text       = "Fullname:";
     this.materialLabel1.TextAlign  = System.Drawing.ContentAlignment.MiddleRight;
     //
     // txtConfirm
     //
     this.txtConfirm.Depth                 = 0;
     this.txtConfirm.Dock                  = DockStyle.Fill;
     this.txtConfirm.Hint                  = "";
     this.txtConfirm.Location              = new System.Drawing.Point(135, 157);
     this.txtConfirm.Margin                = new Padding(0, 20, 0, 0);
     this.txtConfirm.MouseState            = MaterialSkin.MouseState.HOVER;
     this.txtConfirm.Name                  = "txtConfirm";
     this.txtConfirm.PasswordChar          = '\0';
     this.txtConfirm.SelectedText          = "";
     this.txtConfirm.SelectionLength       = 0;
     this.txtConfirm.SelectionStart        = 0;
     this.txtConfirm.Size                  = new System.Drawing.Size(390, 23);
     this.txtConfirm.TabIndex              = 13;
     this.txtConfirm.UseSystemPasswordChar = true;
     this.txtConfirm.Validating           += new CancelEventHandler(this.TxtConfirmValidating);
     //
     // btnRegister
     //
     this.tableLayoutPanel1.SetColumnSpan(this.btnRegister, 3);
     this.btnRegister.Depth      = 0;
     this.btnRegister.Dock       = DockStyle.Fill;
     this.btnRegister.Location   = new System.Drawing.Point(55, 262);
     this.btnRegister.Margin     = new Padding(50, 0, 50, 0);
     this.btnRegister.MouseState = MaterialSkin.MouseState.HOVER;
     this.btnRegister.Name       = "btnRegister";
     this.btnRegister.Primary    = true;
     this.btnRegister.Size       = new System.Drawing.Size(455, 37);
     this.btnRegister.TabIndex   = 12;
     this.btnRegister.Text       = "Register";
     this.btnRegister.UseVisualStyleBackColor = true;
     this.btnRegister.Click += new System.EventHandler(this.BtnRegisterClick);
     //
     // ErrorPrivider
     //
     this.ErrorProvider.BlinkStyle       = ErrorBlinkStyle.NeverBlink;
     this.ErrorProvider.ContainerControl = this;
     this.ErrorProvider.Icon             = global::MusicList.resource.cancel_1;
     //
     // RegisterForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(128)))), ((int)(((byte)(255)))));
     this.ClientSize          = new System.Drawing.Size(575, 339);
     this.Controls.Add(this.tableLayoutPanel1);
     this.FormBorderStyle = FormBorderStyle.None;
     this.Name            = "RegisterForm";
     this.Padding         = new Padding(5);
     this.StartPosition   = FormStartPosition.CenterParent;
     this.Text            = "RegisterForm";
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.tableLayoutPanel2.ResumeLayout(false);
     ((ISupportInitialize)(this.ErrorProvider)).EndInit();
     this.ResumeLayout(false);
 }