コード例 #1
0
 public smartSwitch(string romName, string theName, string theCode, Form z1, bool state = false)
 {
     ff             = z1;
     roomName       = romName;
     name           = theName;
     code           = theCode;
     theMovablePart = new MetroFramework.Controls.MetroButton();
     z                    = new Panel();
     z.Size               = new Size(325, 45);
     thePressablePart     = new MaterialSkin.Controls.MaterialFlatButton();
     theMovablePart.Theme = MetroThemeStyle.Dark;
     theMovablePart.Text  = "OFF";
     theMovablePart.UseCustomBackColor = true;
     theMovablePart.UseCustomForeColor = true;
     theMovablePart.AutoSize           = false;
     theMovablePart.Size     = new Size(37, 36);
     theMovablePart.FontSize = MetroButtonSize.Medium;
     isOn     = state;
     isMoving = false;
     theMovablePart.ForeColor  = Color.White;
     theMovablePart.BackColor  = Color.FromArgb(210, 46, 46);
     thePressablePart.Text     = theName;
     thePressablePart.AutoSize = false;
     thePressablePart.Size     = new Size(115, 36);
     thePressablePart.Click   += toggle;
     theMovablePart.Click     += toggle;
 }
コード例 #2
0
        //Método Seleciona Campo:
        public void SelecionarCampo(//Parametros
            MaterialSkin.Controls.MaterialSingleLineTextField txtProduto,
            MaterialSkin.Controls.MaterialSingleLineTextField txtCategoria,
            MaterialSkin.Controls.MaterialSingleLineTextField txtQuantidade,
            MaterialSkin.Controls.MaterialSingleLineTextField txtID,
            MaterialSkin.Controls.MaterialFlatButton btnLimpar,
            MaterialSkin.Controls.MaterialFlatButton btnAtualizar,
            MaterialSkin.Controls.MaterialFlatButton btnDeletar,
            MaterialSkin.Controls.MaterialFlatButton btnInserir,
            MetroFramework.Controls.MetroGrid dataGridViewProdutos,
            MetroFramework.Controls.MetroGrid dataGridViewConsultas)
        {
            //Ao clicar em um registro, os dados do mesmo serão passados para as TXT em modo ReadOnly:
            string DataGrid_Id         = dataGridViewProdutos.SelectedRows[0].Cells[0].Value + string.Empty;
            string DataGrid_Produto    = dataGridViewProdutos.SelectedRows[0].Cells[1].Value + string.Empty;
            string DataGrid_Categoria  = dataGridViewProdutos.SelectedRows[0].Cells[2].Value + string.Empty;
            string DataGrid_Quantidade = dataGridViewProdutos.SelectedRows[0].Cells[3].Value + string.Empty;

            //Modo ReadyOnly:
            txtProduto.Enabled    = false;
            txtCategoria.Enabled  = false;
            txtQuantidade.Enabled = false;
            btnLimpar.Enabled     = false;
            btnAtualizar.Enabled  = false;
            btnDeletar.Enabled    = false;
            btnInserir.Enabled    = false;

            //Atribuições:
            txtID.Text         = DataGrid_Id;
            txtProduto.Text    = DataGrid_Produto;
            txtCategoria.Text  = DataGrid_Categoria;
            txtQuantidade.Text = DataGrid_Quantidade;
        }
コード例 #3
0
 string roomName; // room name- name-code
 public smartSensor(string theRoom, string name, string cde)
 {
     code         = cde;
     roomName     = theRoom;
     theData      = new MaterialSkin.Controls.MaterialFlatButton();
     theData.Text = name;
 }
コード例 #4
0
        //Método Animação:
        public void AtivaAnimacao(//Parametros
            MaterialSkin.Controls.MaterialFlatButton btnSalvar,
            MaterialSkin.Controls.MaterialFlatButton btnCancelar,
            MaterialSkin.Controls.MaterialFlatButton btnPadrao,
            MaterialSkin.Controls.MaterialRadioButton rdbPadrao,
            MaterialSkin.Controls.MaterialRadioButton rdbEscuro,
            MaterialSkin.Controls.MaterialRadioButton rdbClaro,
            MetroFramework.Controls.MetroPanel metroPanelSalvar,
            System.Windows.Forms.Timer timer1)
        {
            try
            {
                //Desativa enquanto salva:
                btnSalvar.Enabled   = false;
                btnCancelar.Enabled = false;
                btnPadrao.Enabled   = false;

                rdbPadrao.Enabled = false;
                rdbEscuro.Enabled = false;
                rdbClaro.Enabled  = false;

                //Incrementa:
                timerCounter++;
                metroPanelSalvar.Visible = true;
                if (timerCounter >= 100)
                {
                    timer1.Stop();

                    //Seta os padrões novamente:
                    metroPanelSalvar.Visible = false;
                    timer1.Enabled           = false;
                    timerCounter             = 0;

                    //Ativa após salvar:
                    btnSalvar.Enabled   = true;
                    btnCancelar.Enabled = true;
                    btnPadrao.Enabled   = true;

                    rdbPadrao.Enabled = true;
                    rdbEscuro.Enabled = true;
                    rdbClaro.Enabled  = true;
                }
            }
            catch (Exception)
            {
                return;
            }
        }
コード例 #5
0
        //Método SelecionarParaEditar:
        public void SelecionarEditar(//Parametros
            MaterialSkin.Controls.MaterialSingleLineTextField txtProduto,
            MaterialSkin.Controls.MaterialSingleLineTextField txtCategoria,
            MaterialSkin.Controls.MaterialSingleLineTextField txtQuantidade,
            MaterialSkin.Controls.MaterialSingleLineTextField txtID,
            MaterialSkin.Controls.MaterialFlatButton btnLimpar,
            MaterialSkin.Controls.MaterialFlatButton btnAtualizar,
            MaterialSkin.Controls.MaterialFlatButton btnDeletar,
            MaterialSkin.Controls.MaterialFlatButton btnInserir,
            MetroFramework.Controls.MetroGrid dataGridViewProdutos,
            MetroFramework.Controls.MetroGrid dataGridViewConsultas)
        {
            SelecionarCampo(txtProduto, txtCategoria, txtQuantidade, txtID, btnLimpar, btnAtualizar, btnDeletar, btnInserir, dataGridViewProdutos, dataGridViewConsultas);

            //Desativa o Modo ReadyOnly:
            txtProduto.Enabled    = true;
            txtCategoria.Enabled  = true;
            txtQuantidade.Enabled = true;
            btnLimpar.Enabled     = true;
            btnAtualizar.Enabled  = true;
            btnDeletar.Enabled    = true;
            btnInserir.Enabled    = true;
        }
コード例 #6
0
 /// <summary>
 /// Método necessário para suporte ao Designer - não modifique
 /// o conteúdo deste método com o editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     MaterialSkin.Controls.MaterialFlatButton       NovaVendaBtn;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmBaseFinanceiro));
     this.BaseFinanceiroMenuPnl       = new System.Windows.Forms.Panel();
     this.BaseFinanceiroPnl           = new System.Windows.Forms.FlowLayoutPanel();
     this.ProdutoPctBx                = new System.Windows.Forms.PictureBox();
     this.BaseFinanceiroMenuFecharPnl = new System.Windows.Forms.Panel();
     this.EstoquePnl    = new System.Windows.Forms.FlowLayoutPanel();
     this.FinanceiroLbl = new System.Windows.Forms.Label();
     this.Fecharbtn     = new System.Windows.Forms.Button();
     this.BaseFinPnl    = new System.Windows.Forms.FlowLayoutPanel();
     NovaVendaBtn       = new MaterialSkin.Controls.MaterialFlatButton();
     this.BaseFinanceiroMenuPnl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ProdutoPctBx)).BeginInit();
     this.BaseFinanceiroMenuFecharPnl.SuspendLayout();
     this.SuspendLayout();
     //
     // NovaVendaBtn
     //
     NovaVendaBtn.AutoSize     = true;
     NovaVendaBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     NovaVendaBtn.BackColor    = System.Drawing.Color.Ivory;
     NovaVendaBtn.Depth        = 0;
     NovaVendaBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     NovaVendaBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     NovaVendaBtn.ForeColor  = System.Drawing.Color.White;
     NovaVendaBtn.Location   = new System.Drawing.Point(62, 26);
     NovaVendaBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     NovaVendaBtn.MouseState = MaterialSkin.MouseState.HOVER;
     NovaVendaBtn.Name       = "NovaVendaBtn";
     NovaVendaBtn.Primary    = false;
     NovaVendaBtn.Size       = new System.Drawing.Size(97, 36);
     NovaVendaBtn.TabIndex   = 36;
     NovaVendaBtn.Text       = "Nova Venda";
     NovaVendaBtn.UseVisualStyleBackColor = false;
     NovaVendaBtn.Click += new System.EventHandler(this.NovaVendaBtn_Click);
     //
     // BaseFinanceiroMenuPnl
     //
     this.BaseFinanceiroMenuPnl.BackColor = System.Drawing.Color.YellowGreen;
     this.BaseFinanceiroMenuPnl.Controls.Add(this.BaseFinanceiroPnl);
     this.BaseFinanceiroMenuPnl.Controls.Add(NovaVendaBtn);
     this.BaseFinanceiroMenuPnl.Controls.Add(this.ProdutoPctBx);
     this.BaseFinanceiroMenuPnl.Location = new System.Drawing.Point(0, 48);
     this.BaseFinanceiroMenuPnl.Name     = "BaseFinanceiroMenuPnl";
     this.BaseFinanceiroMenuPnl.Size     = new System.Drawing.Size(200, 555);
     this.BaseFinanceiroMenuPnl.TabIndex = 32;
     //
     // BaseFinanceiroPnl
     //
     this.BaseFinanceiroPnl.Location = new System.Drawing.Point(202, 6);
     this.BaseFinanceiroPnl.Name     = "BaseFinanceiroPnl";
     this.BaseFinanceiroPnl.Size     = new System.Drawing.Size(597, 500);
     this.BaseFinanceiroPnl.TabIndex = 33;
     //
     // ProdutoPctBx
     //
     this.ProdutoPctBx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("ProdutoPctBx.BackgroundImage")));
     this.ProdutoPctBx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.ProdutoPctBx.Location = new System.Drawing.Point(10, 20);
     this.ProdutoPctBx.Name     = "ProdutoPctBx";
     this.ProdutoPctBx.Size     = new System.Drawing.Size(47, 49);
     this.ProdutoPctBx.TabIndex = 35;
     this.ProdutoPctBx.TabStop  = false;
     //
     // BaseFinanceiroMenuFecharPnl
     //
     this.BaseFinanceiroMenuFecharPnl.BackColor = System.Drawing.Color.YellowGreen;
     this.BaseFinanceiroMenuFecharPnl.Controls.Add(this.EstoquePnl);
     this.BaseFinanceiroMenuFecharPnl.Controls.Add(this.FinanceiroLbl);
     this.BaseFinanceiroMenuFecharPnl.Controls.Add(this.Fecharbtn);
     this.BaseFinanceiroMenuFecharPnl.Dock     = System.Windows.Forms.DockStyle.Top;
     this.BaseFinanceiroMenuFecharPnl.Location = new System.Drawing.Point(0, 0);
     this.BaseFinanceiroMenuFecharPnl.Name     = "BaseFinanceiroMenuFecharPnl";
     this.BaseFinanceiroMenuFecharPnl.Size     = new System.Drawing.Size(800, 48);
     this.BaseFinanceiroMenuFecharPnl.TabIndex = 31;
     //
     // EstoquePnl
     //
     this.EstoquePnl.Location = new System.Drawing.Point(202, 48);
     this.EstoquePnl.Name     = "EstoquePnl";
     this.EstoquePnl.Size     = new System.Drawing.Size(597, 500);
     this.EstoquePnl.TabIndex = 28;
     //
     // FinanceiroLbl
     //
     this.FinanceiroLbl.AutoSize  = true;
     this.FinanceiroLbl.Font      = new System.Drawing.Font("Verdana", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.FinanceiroLbl.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.FinanceiroLbl.Location  = new System.Drawing.Point(5, 7);
     this.FinanceiroLbl.Name      = "FinanceiroLbl";
     this.FinanceiroLbl.Size      = new System.Drawing.Size(163, 25);
     this.FinanceiroLbl.TabIndex  = 30;
     this.FinanceiroLbl.Text      = "FINANCEIRO";
     //
     // Fecharbtn
     //
     this.Fecharbtn.Anchor                            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.Fecharbtn.BackColor                         = System.Drawing.Color.YellowGreen;
     this.Fecharbtn.BackgroundImage                   = ((System.Drawing.Image)(resources.GetObject("Fecharbtn.BackgroundImage")));
     this.Fecharbtn.BackgroundImageLayout             = System.Windows.Forms.ImageLayout.Zoom;
     this.Fecharbtn.FlatAppearance.BorderColor        = System.Drawing.Color.White;
     this.Fecharbtn.FlatAppearance.BorderSize         = 0;
     this.Fecharbtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.Fecharbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red;
     this.Fecharbtn.FlatStyle                         = System.Windows.Forms.FlatStyle.Flat;
     this.Fecharbtn.Location                          = new System.Drawing.Point(768, 11);
     this.Fecharbtn.Name     = "Fecharbtn";
     this.Fecharbtn.Size     = new System.Drawing.Size(25, 25);
     this.Fecharbtn.TabIndex = 0;
     this.Fecharbtn.UseVisualStyleBackColor = false;
     this.Fecharbtn.Click += new System.EventHandler(this.Fecharbtn_Click);
     //
     // BaseFinPnl
     //
     this.BaseFinPnl.Location = new System.Drawing.Point(202, 48);
     this.BaseFinPnl.Name     = "BaseFinPnl";
     this.BaseFinPnl.Size     = new System.Drawing.Size(597, 500);
     this.BaseFinPnl.TabIndex = 33;
     //
     // FrmBaseFinanceiro
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(800, 600);
     this.Controls.Add(this.BaseFinPnl);
     this.Controls.Add(this.BaseFinanceiroMenuPnl);
     this.Controls.Add(this.BaseFinanceiroMenuFecharPnl);
     this.Name = "FrmBaseFinanceiro";
     this.BaseFinanceiroMenuPnl.ResumeLayout(false);
     this.BaseFinanceiroMenuPnl.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ProdutoPctBx)).EndInit();
     this.BaseFinanceiroMenuFecharPnl.ResumeLayout(false);
     this.BaseFinanceiroMenuFecharPnl.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #7
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.materialFlatButton1 = new MaterialSkin.Controls.MaterialFlatButton();
     this.materialRaisedButton2 = new MaterialSkin.Controls.MaterialRaisedButton();
     this.label1 = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // materialFlatButton1
     //
     this.materialFlatButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.materialFlatButton1.AutoSize = true;
     this.materialFlatButton1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.materialFlatButton1.Depth = 0;
     this.materialFlatButton1.Icon = null;
     this.materialFlatButton1.Location = new System.Drawing.Point(729, 391);
     this.materialFlatButton1.Margin = new System.Windows.Forms.Padding(4, 6, 4, 6);
     this.materialFlatButton1.MouseState = MaterialSkin.MouseState.HOVER;
     this.materialFlatButton1.Name = "materialFlatButton1";
     this.materialFlatButton1.Primary = false;
     this.materialFlatButton1.Size = new System.Drawing.Size(91, 36);
     this.materialFlatButton1.TabIndex = 25;
     this.materialFlatButton1.Text = "Cancelar";
     this.materialFlatButton1.UseVisualStyleBackColor = true;
     this.materialFlatButton1.Click += new System.EventHandler(this.materialFlatButton1_Click);
     //
     // materialRaisedButton2
     //
     this.materialRaisedButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.materialRaisedButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.materialRaisedButton2.Depth = 0;
     this.materialRaisedButton2.Icon = null;
     this.materialRaisedButton2.Location = new System.Drawing.Point(829, 394);
     this.materialRaisedButton2.MouseState = MaterialSkin.MouseState.HOVER;
     this.materialRaisedButton2.Name = "materialRaisedButton2";
     this.materialRaisedButton2.Primary = true;
     this.materialRaisedButton2.Size = new System.Drawing.Size(105, 30);
     this.materialRaisedButton2.TabIndex = 24;
     this.materialRaisedButton2.Text = "Guardar";
     this.materialRaisedButton2.UseVisualStyleBackColor = true;
     this.materialRaisedButton2.Click += new System.EventHandler(this.materialRaisedButton2_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Roboto", 18F);
     this.label1.Location = new System.Drawing.Point(27, 14);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(73, 29);
     this.label1.TabIndex = 23;
     this.label1.Text = "Traza";
     //
     // EditTrazaForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.SystemColors.Window;
     this.ClientSize = new System.Drawing.Size(960, 441);
     this.Controls.Add(this.materialFlatButton1);
     this.Controls.Add(this.materialRaisedButton2);
     this.Controls.Add(this.label1);
     this.Name = "EditTrazaForm";
     this.Text = "EditTrazaForm";
     this.Load += new System.EventHandler(this.EditTrazaForm_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #8
0
        //Método Atualizar:
        public void Atualizar(//Parametros
            MaterialSkin.Controls.MaterialSingleLineTextField txtProduto,
            MaterialSkin.Controls.MaterialSingleLineTextField txtCategoria,
            MaterialSkin.Controls.MaterialSingleLineTextField txtQuantidade,
            MaterialSkin.Controls.MaterialSingleLineTextField txtID,
            MaterialSkin.Controls.MaterialFlatButton btnLimpar,
            MaterialSkin.Controls.MaterialFlatButton btnAtualizar,
            MaterialSkin.Controls.MaterialFlatButton btnDeletar,
            MaterialSkin.Controls.MaterialFlatButton btnInserir,
            MetroFramework.Controls.MetroGrid dataGridViewProdutos,
            MetroFramework.Controls.MetroGrid dataGridViewConsultas)
        {
            //Verifica se campos estão preenchidos:
            if (txtProduto.Text == "" || txtCategoria.Text == "" || txtQuantidade.Text == "")
            {
                MessageBox.Show("Preencha os campos corretamente.", "LM-Manager", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
            else
            {
                if (MessageBox.Show("Deseja atualizar este registro?", "LM-Manager", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
                {   //Dialog Yes:
                    IDregistro = LM.Forms.frmAdm.IDregistro;
                    if (IDregistro > 0)
                    {
                        //Define a variável como sendo a variável de conexão da classe Cliente DAL:
                        string           var  = DAL.conexao;
                        SQLiteConnection conn = new SQLiteConnection(var);
                        if (conn.State == ConnectionState.Closed)
                        {
                            conn.Open();
                        }

                        //Instancia o Model Pessoas:
                        LM.Code.DTO model = new LM.Code.DTO
                        {
                            Produto    = txtProduto.Text,
                            Categoria  = txtCategoria.Text,
                            Quantidade = txtQuantidade.Text
                        };

                        SQLiteCommand cmd = new SQLiteCommand("UPDATE PRODUTOS SET PRODUTO = :PRODUTO, CATEGORIA = :CATEGORIA, QUANTIDADE = :QUANTIDADE WHERE ID = @ID", conn);
                        cmd.Parameters.AddWithValue("ID", IDregistro);
                        cmd.Parameters.AddWithValue("PRODUTO", model.Produto);
                        cmd.Parameters.AddWithValue("CATEGORIA", model.Categoria);
                        cmd.Parameters.AddWithValue("QUANTIDADE", model.Quantidade);

                        try
                        {
                            cmd.ExecuteNonQuery();
                            MessageBox.Show("Registro atualizado com sucesso", "LM-Manager", MessageBoxButtons.OK, MessageBoxIcon.Information);

                            //Após Inserir, limpa o campo:
                            txtProduto.Text    = string.Empty;
                            txtCategoria.Text  = string.Empty;
                            txtQuantidade.Text = string.Empty;

                            txtProduto.Focus();

                            //Exibe as ultimas alterações:
                            Carregar(dataGridViewProdutos, dataGridViewConsultas);
                        }
                        catch (Exception ex)
                        {
                            //Exibe erro:
                            MessageBox.Show("Erro ao atualizar registro: " + ex.Message, "LM-Manager", MessageBoxButtons.OK, MessageBoxIcon.Information);
                        }
                    }
                }
                else //Dialog No:
                {
                    //Ao cliar em um registro, os dados do mesmo serão passados para as TXT em modo de Edição:
                    string DataGrid_ID         = dataGridViewProdutos.SelectedRows[0].Cells[0].Value + string.Empty;
                    string DataGrid_Produto    = dataGridViewProdutos.SelectedRows[0].Cells[1].Value + string.Empty;
                    string DataGrid_Categoria  = dataGridViewProdutos.SelectedRows[0].Cells[2].Value + string.Empty;
                    string DataGrid_Quantidade = dataGridViewProdutos.SelectedRows[0].Cells[3].Value + string.Empty;

                    txtProduto.Text    = DataGrid_Produto;
                    txtCategoria.Text  = DataGrid_Categoria;
                    txtQuantidade.Text = DataGrid_Quantidade;
                }
            }
        }
コード例 #9
0
 /// <summary>
 /// Método necessário para suporte ao Designer - não modifique
 /// o conteúdo deste método com o editor de código.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     MaterialSkin.Controls.MaterialFlatButton       RetornoViagemBtn;
     MaterialSkin.Controls.MaterialFlatButton       SaidaViagemBtn;
     MaterialSkin.Controls.MaterialFlatButton       materialFlatButton2;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmBaseViagem));
     this.BaseVendaMenuFecharPnl = new System.Windows.Forms.Panel();
     this.ViagemLbl         = new System.Windows.Forms.Label();
     this.BaseViagemPnl     = new System.Windows.Forms.FlowLayoutPanel();
     this.Fecharbtn         = new System.Windows.Forms.Button();
     this.BaseViagemMenuPnl = new System.Windows.Forms.Panel();
     this.pictureBox1       = new System.Windows.Forms.PictureBox();
     this.MotoristaPctBx    = new System.Windows.Forms.PictureBox();
     this.usuarioPctbx      = new System.Windows.Forms.PictureBox();
     this.BaseIniViagemPnl  = new System.Windows.Forms.FlowLayoutPanel();
     this.toolTip1          = new System.Windows.Forms.ToolTip(this.components);
     RetornoViagemBtn       = new MaterialSkin.Controls.MaterialFlatButton();
     SaidaViagemBtn         = new MaterialSkin.Controls.MaterialFlatButton();
     materialFlatButton2    = new MaterialSkin.Controls.MaterialFlatButton();
     this.BaseVendaMenuFecharPnl.SuspendLayout();
     this.BaseViagemMenuPnl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.MotoristaPctBx)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.usuarioPctbx)).BeginInit();
     this.SuspendLayout();
     //
     // RetornoViagemBtn
     //
     RetornoViagemBtn.AutoSize     = true;
     RetornoViagemBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     RetornoViagemBtn.BackColor    = System.Drawing.Color.Ivory;
     RetornoViagemBtn.Depth        = 0;
     RetornoViagemBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     RetornoViagemBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     RetornoViagemBtn.ForeColor  = System.Drawing.Color.White;
     RetornoViagemBtn.Location   = new System.Drawing.Point(57, 83);
     RetornoViagemBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     RetornoViagemBtn.MouseState = MaterialSkin.MouseState.HOVER;
     RetornoViagemBtn.Name       = "RetornoViagemBtn";
     RetornoViagemBtn.Primary    = false;
     RetornoViagemBtn.Size       = new System.Drawing.Size(74, 36);
     RetornoViagemBtn.TabIndex   = 27;
     RetornoViagemBtn.Text       = "Retorno";
     RetornoViagemBtn.UseVisualStyleBackColor = false;
     RetornoViagemBtn.Click += new System.EventHandler(this.RetornoViagemBtn_Click);
     //
     // SaidaViagemBtn
     //
     SaidaViagemBtn.AutoSize     = true;
     SaidaViagemBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     SaidaViagemBtn.BackColor    = System.Drawing.Color.Ivory;
     SaidaViagemBtn.Depth        = 0;
     SaidaViagemBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     SaidaViagemBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     SaidaViagemBtn.ForeColor  = System.Drawing.Color.White;
     SaidaViagemBtn.Location   = new System.Drawing.Point(59, 28);
     SaidaViagemBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     SaidaViagemBtn.MouseState = MaterialSkin.MouseState.HOVER;
     SaidaViagemBtn.Name       = "SaidaViagemBtn";
     SaidaViagemBtn.Primary    = false;
     SaidaViagemBtn.Size       = new System.Drawing.Size(51, 36);
     SaidaViagemBtn.TabIndex   = 26;
     SaidaViagemBtn.Text       = "Saída";
     SaidaViagemBtn.UseVisualStyleBackColor = false;
     SaidaViagemBtn.Click += new System.EventHandler(this.SaidaViagemBtn_Click);
     //
     // materialFlatButton2
     //
     materialFlatButton2.AutoSize     = true;
     materialFlatButton2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     materialFlatButton2.BackColor    = System.Drawing.Color.Ivory;
     materialFlatButton2.Depth        = 0;
     materialFlatButton2.FlatAppearance.BorderColor = System.Drawing.Color.White;
     materialFlatButton2.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     materialFlatButton2.ForeColor  = System.Drawing.Color.White;
     materialFlatButton2.Location   = new System.Drawing.Point(59, 131);
     materialFlatButton2.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     materialFlatButton2.MouseState = MaterialSkin.MouseState.HOVER;
     materialFlatButton2.Name       = "materialFlatButton2";
     materialFlatButton2.Primary    = false;
     materialFlatButton2.Size       = new System.Drawing.Size(85, 36);
     materialFlatButton2.TabIndex   = 30;
     materialFlatButton2.Text       = "Relatório";
     materialFlatButton2.UseVisualStyleBackColor = false;
     materialFlatButton2.Click += new System.EventHandler(this.materialFlatButton2_Click);
     //
     // BaseVendaMenuFecharPnl
     //
     this.BaseVendaMenuFecharPnl.BackColor = System.Drawing.Color.YellowGreen;
     this.BaseVendaMenuFecharPnl.Controls.Add(this.ViagemLbl);
     this.BaseVendaMenuFecharPnl.Controls.Add(this.BaseViagemPnl);
     this.BaseVendaMenuFecharPnl.Controls.Add(this.Fecharbtn);
     this.BaseVendaMenuFecharPnl.Dock     = System.Windows.Forms.DockStyle.Top;
     this.BaseVendaMenuFecharPnl.Location = new System.Drawing.Point(0, 0);
     this.BaseVendaMenuFecharPnl.Name     = "BaseVendaMenuFecharPnl";
     this.BaseVendaMenuFecharPnl.Size     = new System.Drawing.Size(800, 48);
     this.BaseVendaMenuFecharPnl.TabIndex = 24;
     //
     // ViagemLbl
     //
     this.ViagemLbl.AutoSize  = true;
     this.ViagemLbl.Font      = new System.Drawing.Font("Verdana", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.ViagemLbl.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.ViagemLbl.Location  = new System.Drawing.Point(3, 7);
     this.ViagemLbl.Name      = "ViagemLbl";
     this.ViagemLbl.Size      = new System.Drawing.Size(106, 25);
     this.ViagemLbl.TabIndex  = 29;
     this.ViagemLbl.Text      = "VIAGEM";
     //
     // BaseViagemPnl
     //
     this.BaseViagemPnl.Location = new System.Drawing.Point(200, 48);
     this.BaseViagemPnl.Name     = "BaseViagemPnl";
     this.BaseViagemPnl.Size     = new System.Drawing.Size(597, 500);
     this.BaseViagemPnl.TabIndex = 28;
     //
     // Fecharbtn
     //
     this.Fecharbtn.Anchor                            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.Fecharbtn.BackColor                         = System.Drawing.Color.YellowGreen;
     this.Fecharbtn.BackgroundImage                   = ((System.Drawing.Image)(resources.GetObject("Fecharbtn.BackgroundImage")));
     this.Fecharbtn.BackgroundImageLayout             = System.Windows.Forms.ImageLayout.Zoom;
     this.Fecharbtn.FlatAppearance.BorderColor        = System.Drawing.Color.White;
     this.Fecharbtn.FlatAppearance.BorderSize         = 0;
     this.Fecharbtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.Fecharbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red;
     this.Fecharbtn.FlatStyle                         = System.Windows.Forms.FlatStyle.Flat;
     this.Fecharbtn.Location                          = new System.Drawing.Point(764, 11);
     this.Fecharbtn.Name     = "Fecharbtn";
     this.Fecharbtn.Size     = new System.Drawing.Size(25, 25);
     this.Fecharbtn.TabIndex = 0;
     this.toolTip1.SetToolTip(this.Fecharbtn, "Fechar");
     this.Fecharbtn.UseVisualStyleBackColor = false;
     this.Fecharbtn.Click += new System.EventHandler(this.Fecharbtn_Click);
     //
     // BaseViagemMenuPnl
     //
     this.BaseViagemMenuPnl.BackColor = System.Drawing.Color.YellowGreen;
     this.BaseViagemMenuPnl.Controls.Add(this.pictureBox1);
     this.BaseViagemMenuPnl.Controls.Add(materialFlatButton2);
     this.BaseViagemMenuPnl.Controls.Add(RetornoViagemBtn);
     this.BaseViagemMenuPnl.Controls.Add(this.MotoristaPctBx);
     this.BaseViagemMenuPnl.Controls.Add(SaidaViagemBtn);
     this.BaseViagemMenuPnl.Controls.Add(this.usuarioPctbx);
     this.BaseViagemMenuPnl.Location = new System.Drawing.Point(0, 48);
     this.BaseViagemMenuPnl.Name     = "BaseViagemMenuPnl";
     this.BaseViagemMenuPnl.Size     = new System.Drawing.Size(200, 557);
     this.BaseViagemMenuPnl.TabIndex = 26;
     //
     // pictureBox1
     //
     this.pictureBox1.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
     this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.pictureBox1.Location = new System.Drawing.Point(5, 125);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(47, 49);
     this.pictureBox1.TabIndex = 31;
     this.pictureBox1.TabStop  = false;
     //
     // MotoristaPctBx
     //
     this.MotoristaPctBx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("MotoristaPctBx.BackgroundImage")));
     this.MotoristaPctBx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.MotoristaPctBx.Location = new System.Drawing.Point(5, 70);
     this.MotoristaPctBx.Name     = "MotoristaPctBx";
     this.MotoristaPctBx.Size     = new System.Drawing.Size(47, 49);
     this.MotoristaPctBx.TabIndex = 28;
     this.MotoristaPctBx.TabStop  = false;
     //
     // usuarioPctbx
     //
     this.usuarioPctbx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("usuarioPctbx.BackgroundImage")));
     this.usuarioPctbx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.usuarioPctbx.Location = new System.Drawing.Point(5, 15);
     this.usuarioPctbx.Name     = "usuarioPctbx";
     this.usuarioPctbx.Size     = new System.Drawing.Size(47, 49);
     this.usuarioPctbx.TabIndex = 26;
     this.usuarioPctbx.TabStop  = false;
     //
     // BaseIniViagemPnl
     //
     this.BaseIniViagemPnl.Location = new System.Drawing.Point(200, 48);
     this.BaseIniViagemPnl.Name     = "BaseIniViagemPnl";
     this.BaseIniViagemPnl.Size     = new System.Drawing.Size(597, 500);
     this.BaseIniViagemPnl.TabIndex = 28;
     this.BaseIniViagemPnl.Paint   += new System.Windows.Forms.PaintEventHandler(this.BaseIniViagemPnl_Paint);
     //
     // FrmBaseViagem
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.ClientSize          = new System.Drawing.Size(800, 600);
     this.Controls.Add(this.BaseIniViagemPnl);
     this.Controls.Add(this.BaseViagemMenuPnl);
     this.Controls.Add(this.BaseVendaMenuFecharPnl);
     this.Name = "FrmBaseViagem";
     this.BaseVendaMenuFecharPnl.ResumeLayout(false);
     this.BaseVendaMenuFecharPnl.PerformLayout();
     this.BaseViagemMenuPnl.ResumeLayout(false);
     this.BaseViagemMenuPnl.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.MotoristaPctBx)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.usuarioPctbx)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #10
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     MaterialSkin.Controls.MaterialFlatButton       UsuarioBtn;
     MaterialSkin.Controls.MaterialFlatButton       MotoristaBtn;
     MaterialSkin.Controls.MaterialFlatButton       ClienteBtn;
     MaterialSkin.Controls.MaterialFlatButton       VeiculoBtn;
     MaterialSkin.Controls.MaterialFlatButton       CidadeBtn;
     MaterialSkin.Controls.MaterialFlatButton       ProdutoBtn;
     MaterialSkin.Controls.MaterialFlatButton       ServicoBtn;
     MaterialSkin.Controls.MaterialFlatButton       SeguroBtn;
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BaseCadastro));
     this.BaseCadastroMenuFecharPnl = new System.Windows.Forms.Panel();
     this.CadaastroLbl        = new System.Windows.Forms.Label();
     this.Fecharbtn           = new System.Windows.Forms.Button();
     this.pictureBox1         = new System.Windows.Forms.PictureBox();
     this.BaseCadastroMenuPnl = new System.Windows.Forms.Panel();
     this.SeguroPctBx         = new System.Windows.Forms.PictureBox();
     this.ServicoPctBx        = new System.Windows.Forms.PictureBox();
     this.ProdutoPctBx        = new System.Windows.Forms.PictureBox();
     this.CidadePctBx         = new System.Windows.Forms.PictureBox();
     this.pictureBox2         = new System.Windows.Forms.PictureBox();
     this.ClientePctBx        = new System.Windows.Forms.PictureBox();
     this.MotoristaPctBx      = new System.Windows.Forms.PictureBox();
     this.usuarioPctbx        = new System.Windows.Forms.PictureBox();
     this.BaseCadastroPnl     = new System.Windows.Forms.FlowLayoutPanel();
     this.toolTip1            = new System.Windows.Forms.ToolTip(this.components);
     UsuarioBtn   = new MaterialSkin.Controls.MaterialFlatButton();
     MotoristaBtn = new MaterialSkin.Controls.MaterialFlatButton();
     ClienteBtn   = new MaterialSkin.Controls.MaterialFlatButton();
     VeiculoBtn   = new MaterialSkin.Controls.MaterialFlatButton();
     CidadeBtn    = new MaterialSkin.Controls.MaterialFlatButton();
     ProdutoBtn   = new MaterialSkin.Controls.MaterialFlatButton();
     ServicoBtn   = new MaterialSkin.Controls.MaterialFlatButton();
     SeguroBtn    = new MaterialSkin.Controls.MaterialFlatButton();
     this.BaseCadastroMenuFecharPnl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.BaseCadastroMenuPnl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.SeguroPctBx)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ServicoPctBx)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ProdutoPctBx)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.CidadePctBx)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ClientePctBx)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.MotoristaPctBx)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.usuarioPctbx)).BeginInit();
     this.SuspendLayout();
     //
     // UsuarioBtn
     //
     UsuarioBtn.AutoSize     = true;
     UsuarioBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     UsuarioBtn.BackColor    = System.Drawing.Color.Ivory;
     UsuarioBtn.Depth        = 0;
     UsuarioBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     UsuarioBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     UsuarioBtn.ForeColor  = System.Drawing.Color.White;
     UsuarioBtn.Location   = new System.Drawing.Point(57, 28);
     UsuarioBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     UsuarioBtn.MouseState = MaterialSkin.MouseState.HOVER;
     UsuarioBtn.Name       = "UsuarioBtn";
     UsuarioBtn.Primary    = false;
     UsuarioBtn.Size       = new System.Drawing.Size(77, 36);
     UsuarioBtn.TabIndex   = 26;
     UsuarioBtn.Text       = "Usuários";
     UsuarioBtn.UseVisualStyleBackColor = false;
     UsuarioBtn.Click += new System.EventHandler(this.UsuarioBtn_Click);
     //
     // MotoristaBtn
     //
     MotoristaBtn.AutoSize     = true;
     MotoristaBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     MotoristaBtn.BackColor    = System.Drawing.Color.Ivory;
     MotoristaBtn.Depth        = 0;
     MotoristaBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     MotoristaBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     MotoristaBtn.ForeColor  = System.Drawing.Color.White;
     MotoristaBtn.Location   = new System.Drawing.Point(57, 83);
     MotoristaBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     MotoristaBtn.MouseState = MaterialSkin.MouseState.HOVER;
     MotoristaBtn.Name       = "MotoristaBtn";
     MotoristaBtn.Primary    = false;
     MotoristaBtn.Size       = new System.Drawing.Size(98, 36);
     MotoristaBtn.TabIndex   = 27;
     MotoristaBtn.Text       = "Motoristas";
     MotoristaBtn.UseVisualStyleBackColor = false;
     MotoristaBtn.Click += new System.EventHandler(this.MotoristaBtn_Click);
     //
     // ClienteBtn
     //
     ClienteBtn.AutoSize     = true;
     ClienteBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     ClienteBtn.BackColor    = System.Drawing.Color.Ivory;
     ClienteBtn.Depth        = 0;
     ClienteBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     ClienteBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     ClienteBtn.ForeColor  = System.Drawing.Color.White;
     ClienteBtn.Location   = new System.Drawing.Point(57, 138);
     ClienteBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     ClienteBtn.MouseState = MaterialSkin.MouseState.HOVER;
     ClienteBtn.Name       = "ClienteBtn";
     ClienteBtn.Primary    = false;
     ClienteBtn.Size       = new System.Drawing.Size(74, 36);
     ClienteBtn.TabIndex   = 29;
     ClienteBtn.Text       = "Clientes";
     ClienteBtn.UseVisualStyleBackColor = false;
     ClienteBtn.Click += new System.EventHandler(this.ClienteBtn_Click);
     //
     // VeiculoBtn
     //
     VeiculoBtn.AutoSize     = true;
     VeiculoBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     VeiculoBtn.BackColor    = System.Drawing.Color.Ivory;
     VeiculoBtn.Depth        = 0;
     VeiculoBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     VeiculoBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     VeiculoBtn.ForeColor  = System.Drawing.Color.White;
     VeiculoBtn.Location   = new System.Drawing.Point(57, 193);
     VeiculoBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     VeiculoBtn.MouseState = MaterialSkin.MouseState.HOVER;
     VeiculoBtn.Name       = "VeiculoBtn";
     VeiculoBtn.Primary    = false;
     VeiculoBtn.Size       = new System.Drawing.Size(76, 36);
     VeiculoBtn.TabIndex   = 31;
     VeiculoBtn.Text       = "Veículos";
     VeiculoBtn.UseVisualStyleBackColor = false;
     VeiculoBtn.Click += new System.EventHandler(this.VeiculoBtn_Click);
     //
     // CidadeBtn
     //
     CidadeBtn.AutoSize     = true;
     CidadeBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     CidadeBtn.BackColor    = System.Drawing.Color.Ivory;
     CidadeBtn.Depth        = 0;
     CidadeBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     CidadeBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     CidadeBtn.ForeColor  = System.Drawing.Color.White;
     CidadeBtn.Location   = new System.Drawing.Point(57, 248);
     CidadeBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     CidadeBtn.MouseState = MaterialSkin.MouseState.HOVER;
     CidadeBtn.Name       = "CidadeBtn";
     CidadeBtn.Primary    = false;
     CidadeBtn.Size       = new System.Drawing.Size(68, 36);
     CidadeBtn.TabIndex   = 33;
     CidadeBtn.Text       = "Cidades";
     CidadeBtn.UseVisualStyleBackColor = false;
     CidadeBtn.Click += new System.EventHandler(this.materialFlatButton1_Click);
     //
     // ProdutoBtn
     //
     ProdutoBtn.AutoSize     = true;
     ProdutoBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     ProdutoBtn.BackColor    = System.Drawing.Color.Ivory;
     ProdutoBtn.Depth        = 0;
     ProdutoBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     ProdutoBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     ProdutoBtn.ForeColor  = System.Drawing.Color.White;
     ProdutoBtn.Location   = new System.Drawing.Point(57, 296);
     ProdutoBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     ProdutoBtn.MouseState = MaterialSkin.MouseState.HOVER;
     ProdutoBtn.Name       = "ProdutoBtn";
     ProdutoBtn.Primary    = false;
     ProdutoBtn.Size       = new System.Drawing.Size(75, 36);
     ProdutoBtn.TabIndex   = 36;
     ProdutoBtn.Text       = "Produto";
     ProdutoBtn.UseVisualStyleBackColor = false;
     ProdutoBtn.Click += new System.EventHandler(this.ProdutoBtn_Click);
     //
     // ServicoBtn
     //
     ServicoBtn.AutoSize     = true;
     ServicoBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     ServicoBtn.BackColor    = System.Drawing.Color.Ivory;
     ServicoBtn.Depth        = 0;
     ServicoBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     ServicoBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     ServicoBtn.ForeColor  = System.Drawing.Color.White;
     ServicoBtn.Location   = new System.Drawing.Point(57, 352);
     ServicoBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     ServicoBtn.MouseState = MaterialSkin.MouseState.HOVER;
     ServicoBtn.Name       = "ServicoBtn";
     ServicoBtn.Primary    = false;
     ServicoBtn.Size       = new System.Drawing.Size(68, 36);
     ServicoBtn.TabIndex   = 38;
     ServicoBtn.Text       = "Serviço";
     ServicoBtn.UseVisualStyleBackColor = false;
     ServicoBtn.Click += new System.EventHandler(this.ServicoBtn_Click);
     //
     // SeguroBtn
     //
     SeguroBtn.AutoSize     = true;
     SeguroBtn.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     SeguroBtn.BackColor    = System.Drawing.Color.Ivory;
     SeguroBtn.Depth        = 0;
     SeguroBtn.FlatAppearance.BorderColor = System.Drawing.Color.White;
     SeguroBtn.Font       = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     SeguroBtn.ForeColor  = System.Drawing.Color.White;
     SeguroBtn.Location   = new System.Drawing.Point(57, 406);
     SeguroBtn.Margin     = new System.Windows.Forms.Padding(4, 6, 4, 6);
     SeguroBtn.MouseState = MaterialSkin.MouseState.HOVER;
     SeguroBtn.Name       = "SeguroBtn";
     SeguroBtn.Primary    = false;
     SeguroBtn.Size       = new System.Drawing.Size(64, 36);
     SeguroBtn.TabIndex   = 40;
     SeguroBtn.Text       = "Seguro";
     SeguroBtn.UseVisualStyleBackColor = false;
     SeguroBtn.Click += new System.EventHandler(this.SeguroBtn_Click);
     //
     // BaseCadastroMenuFecharPnl
     //
     this.BaseCadastroMenuFecharPnl.BackColor = System.Drawing.Color.YellowGreen;
     this.BaseCadastroMenuFecharPnl.Controls.Add(this.CadaastroLbl);
     this.BaseCadastroMenuFecharPnl.Controls.Add(this.Fecharbtn);
     this.BaseCadastroMenuFecharPnl.Dock     = System.Windows.Forms.DockStyle.Top;
     this.BaseCadastroMenuFecharPnl.Location = new System.Drawing.Point(0, 0);
     this.BaseCadastroMenuFecharPnl.Name     = "BaseCadastroMenuFecharPnl";
     this.BaseCadastroMenuFecharPnl.Size     = new System.Drawing.Size(800, 48);
     this.BaseCadastroMenuFecharPnl.TabIndex = 23;
     this.BaseCadastroMenuFecharPnl.Paint   += new System.Windows.Forms.PaintEventHandler(this.BaseCadastroMenuFecharPnl_Paint);
     //
     // CadaastroLbl
     //
     this.CadaastroLbl.AutoSize  = true;
     this.CadaastroLbl.Font      = new System.Drawing.Font("Verdana", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.CadaastroLbl.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
     this.CadaastroLbl.Location  = new System.Drawing.Point(5, 7);
     this.CadaastroLbl.Name      = "CadaastroLbl";
     this.CadaastroLbl.Size      = new System.Drawing.Size(139, 25);
     this.CadaastroLbl.TabIndex  = 30;
     this.CadaastroLbl.Text      = "CADASTRO";
     //
     // Fecharbtn
     //
     this.Fecharbtn.Anchor                            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.Fecharbtn.BackColor                         = System.Drawing.Color.YellowGreen;
     this.Fecharbtn.BackgroundImage                   = ((System.Drawing.Image)(resources.GetObject("Fecharbtn.BackgroundImage")));
     this.Fecharbtn.BackgroundImageLayout             = System.Windows.Forms.ImageLayout.Zoom;
     this.Fecharbtn.FlatAppearance.BorderColor        = System.Drawing.Color.White;
     this.Fecharbtn.FlatAppearance.BorderSize         = 0;
     this.Fecharbtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.Fecharbtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Red;
     this.Fecharbtn.FlatStyle                         = System.Windows.Forms.FlatStyle.Flat;
     this.Fecharbtn.Location                          = new System.Drawing.Point(768, 11);
     this.Fecharbtn.Name     = "Fecharbtn";
     this.Fecharbtn.Size     = new System.Drawing.Size(25, 25);
     this.Fecharbtn.TabIndex = 0;
     this.toolTip1.SetToolTip(this.Fecharbtn, "Fechar");
     this.Fecharbtn.UseVisualStyleBackColor = false;
     this.Fecharbtn.Click += new System.EventHandler(this.Fecharbtn_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("pictureBox1.BackgroundImage")));
     this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.pictureBox1.Location = new System.Drawing.Point(698, 548);
     this.pictureBox1.Name     = "pictureBox1";
     this.pictureBox1.Size     = new System.Drawing.Size(100, 50);
     this.pictureBox1.TabIndex = 24;
     this.pictureBox1.TabStop  = false;
     //
     // BaseCadastroMenuPnl
     //
     this.BaseCadastroMenuPnl.BackColor = System.Drawing.Color.YellowGreen;
     this.BaseCadastroMenuPnl.Controls.Add(SeguroBtn);
     this.BaseCadastroMenuPnl.Controls.Add(this.SeguroPctBx);
     this.BaseCadastroMenuPnl.Controls.Add(ServicoBtn);
     this.BaseCadastroMenuPnl.Controls.Add(this.ServicoPctBx);
     this.BaseCadastroMenuPnl.Controls.Add(ProdutoBtn);
     this.BaseCadastroMenuPnl.Controls.Add(this.ProdutoPctBx);
     this.BaseCadastroMenuPnl.Controls.Add(CidadeBtn);
     this.BaseCadastroMenuPnl.Controls.Add(this.CidadePctBx);
     this.BaseCadastroMenuPnl.Controls.Add(VeiculoBtn);
     this.BaseCadastroMenuPnl.Controls.Add(this.pictureBox2);
     this.BaseCadastroMenuPnl.Controls.Add(ClienteBtn);
     this.BaseCadastroMenuPnl.Controls.Add(this.ClientePctBx);
     this.BaseCadastroMenuPnl.Controls.Add(MotoristaBtn);
     this.BaseCadastroMenuPnl.Controls.Add(this.MotoristaPctBx);
     this.BaseCadastroMenuPnl.Controls.Add(UsuarioBtn);
     this.BaseCadastroMenuPnl.Controls.Add(this.usuarioPctbx);
     this.BaseCadastroMenuPnl.Location = new System.Drawing.Point(0, 48);
     this.BaseCadastroMenuPnl.Name     = "BaseCadastroMenuPnl";
     this.BaseCadastroMenuPnl.Size     = new System.Drawing.Size(200, 561);
     this.BaseCadastroMenuPnl.TabIndex = 25;
     this.BaseCadastroMenuPnl.Paint   += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint);
     //
     // SeguroPctBx
     //
     this.SeguroPctBx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("SeguroPctBx.BackgroundImage")));
     this.SeguroPctBx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.SeguroPctBx.Location = new System.Drawing.Point(5, 400);
     this.SeguroPctBx.Name     = "SeguroPctBx";
     this.SeguroPctBx.Size     = new System.Drawing.Size(47, 49);
     this.SeguroPctBx.TabIndex = 39;
     this.SeguroPctBx.TabStop  = false;
     //
     // ServicoPctBx
     //
     this.ServicoPctBx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("ServicoPctBx.BackgroundImage")));
     this.ServicoPctBx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.ServicoPctBx.Location = new System.Drawing.Point(5, 345);
     this.ServicoPctBx.Name     = "ServicoPctBx";
     this.ServicoPctBx.Size     = new System.Drawing.Size(47, 49);
     this.ServicoPctBx.TabIndex = 37;
     this.ServicoPctBx.TabStop  = false;
     //
     // ProdutoPctBx
     //
     this.ProdutoPctBx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("ProdutoPctBx.BackgroundImage")));
     this.ProdutoPctBx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.ProdutoPctBx.Location = new System.Drawing.Point(5, 290);
     this.ProdutoPctBx.Name     = "ProdutoPctBx";
     this.ProdutoPctBx.Size     = new System.Drawing.Size(47, 49);
     this.ProdutoPctBx.TabIndex = 35;
     this.ProdutoPctBx.TabStop  = false;
     //
     // CidadePctBx
     //
     this.CidadePctBx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("CidadePctBx.BackgroundImage")));
     this.CidadePctBx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.CidadePctBx.Location = new System.Drawing.Point(5, 235);
     this.CidadePctBx.Name     = "CidadePctBx";
     this.CidadePctBx.Size     = new System.Drawing.Size(47, 49);
     this.CidadePctBx.TabIndex = 34;
     this.CidadePctBx.TabStop  = false;
     //
     // pictureBox2
     //
     this.pictureBox2.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("pictureBox2.BackgroundImage")));
     this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.pictureBox2.Location = new System.Drawing.Point(5, 180);
     this.pictureBox2.Name     = "pictureBox2";
     this.pictureBox2.Size     = new System.Drawing.Size(47, 49);
     this.pictureBox2.TabIndex = 32;
     this.pictureBox2.TabStop  = false;
     //
     // ClientePctBx
     //
     this.ClientePctBx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("ClientePctBx.BackgroundImage")));
     this.ClientePctBx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.ClientePctBx.Location = new System.Drawing.Point(5, 125);
     this.ClientePctBx.Name     = "ClientePctBx";
     this.ClientePctBx.Size     = new System.Drawing.Size(47, 49);
     this.ClientePctBx.TabIndex = 30;
     this.ClientePctBx.TabStop  = false;
     //
     // MotoristaPctBx
     //
     this.MotoristaPctBx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("MotoristaPctBx.BackgroundImage")));
     this.MotoristaPctBx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.MotoristaPctBx.Location = new System.Drawing.Point(5, 70);
     this.MotoristaPctBx.Name     = "MotoristaPctBx";
     this.MotoristaPctBx.Size     = new System.Drawing.Size(47, 49);
     this.MotoristaPctBx.TabIndex = 28;
     this.MotoristaPctBx.TabStop  = false;
     //
     // usuarioPctbx
     //
     this.usuarioPctbx.BackgroundImage       = ((System.Drawing.Image)(resources.GetObject("usuarioPctbx.BackgroundImage")));
     this.usuarioPctbx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.usuarioPctbx.Location = new System.Drawing.Point(5, 15);
     this.usuarioPctbx.Name     = "usuarioPctbx";
     this.usuarioPctbx.Size     = new System.Drawing.Size(47, 49);
     this.usuarioPctbx.TabIndex = 26;
     this.usuarioPctbx.TabStop  = false;
     //
     // BaseCadastroPnl
     //
     this.BaseCadastroPnl.Location = new System.Drawing.Point(201, 48);
     this.BaseCadastroPnl.Name     = "BaseCadastroPnl";
     this.BaseCadastroPnl.Size     = new System.Drawing.Size(597, 500);
     this.BaseCadastroPnl.TabIndex = 27;
     this.BaseCadastroPnl.Paint   += new System.Windows.Forms.PaintEventHandler(this.BaseCadastroPnl_Paint);
     //
     // BaseCadastro
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.Snow;
     this.ClientSize          = new System.Drawing.Size(800, 600);
     this.Controls.Add(this.BaseCadastroPnl);
     this.Controls.Add(this.BaseCadastroMenuPnl);
     this.Controls.Add(this.BaseCadastroMenuFecharPnl);
     this.Controls.Add(this.pictureBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "BaseCadastro";
     this.ShowIcon        = false;
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "BaseCadastro";
     this.BaseCadastroMenuFecharPnl.ResumeLayout(false);
     this.BaseCadastroMenuFecharPnl.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.BaseCadastroMenuPnl.ResumeLayout(false);
     this.BaseCadastroMenuPnl.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.SeguroPctBx)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ServicoPctBx)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ProdutoPctBx)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.CidadePctBx)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ClientePctBx)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.MotoristaPctBx)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.usuarioPctbx)).EndInit();
     this.ResumeLayout(false);
 }