// Llenar Vehiculo public void Llenar_Vehiculo_Edit(long?Numero_Poliza, long?Tipo_Poliza_ID, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Placa_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Modelo_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Fascolda_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Servicio_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Clase_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Marca_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Valor_txb, Bunifu.Framework.UI.BunifuDatepicker Fecha_Soat) { DB_Entities_OMB db = new DB_Entities_OMB(); Vehiculo Tabla_veh = new Vehiculo(); if (Tipo_Poliza_ID == 1) { var Placa = from veh in db.Pol_veh_entity_framework where veh.PolizaPol_Numero_Poliza == Numero_Poliza select veh.VehiculoVeh_Placa; if (Placa.First() != null) { Tabla_veh = db.Vehiculo.Find(Placa.First()); if (Tabla_veh.Veh_Placa == Placa.First()) { Placa_txb.Text = Tabla_veh.Veh_Placa; Placa_txb.Enabled = false; Modelo_txb.Text = Tabla_veh.Veh_Modelo; Fascolda_txb.Text = Tabla_veh.Veh_Fasecolda.ToString(); Servicio_txb.Text = Tabla_veh.Veh_Servicio; Clase_txb.Text = Tabla_veh.Veh_Clase; Marca_txb.Text = Tabla_veh.Veh_Marca; Valor_txb.Text = Tabla_veh.Veh_Valor_Auto.ToString(); Fecha_Soat.Value = Tabla_veh.Veh_Vigencia_Soat; } else { MessageBox.Show("No hay datos en los registros"); } } } }
private void ErrorProvider(Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox a, String str) { if (String.IsNullOrEmpty(a.Text)) { errorProvider1.SetError(a, str); } }
private void makeDefaultInputView(Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox input) { input.BorderColorActive = Color.DodgerBlue; input.BorderColorHover = Color.LightBlue; //input.BorderColorIdle = Color.White; input.Cursor = Cursors.IBeam; input.ReadOnly = false; }
private void makeReadonlyInputView(Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox input) { input.BorderColorActive = Color.FromArgb(34, 33, 74); input.BorderColorHover = Color.FromArgb(34, 33, 74); //input.BorderColorIdle = Color.FromArgb(34, 33, 74); input.Cursor = Cursors.Default; input.ReadOnly = true; }
private void changeInputView(Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox input) { if (editFlag) { makeDefaultInputView(input); } else { makeReadonlyInputView(input); } }
public void Añadir_Editar_Ben(long?Cedula, Bunifu.Framework.UI.BunifuDropdown Tipo_doc, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_cedula, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_nombres, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_apellidos, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_direccion, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_telefono, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_email, Bunifu.Framework.UI.BunifuDatepicker Fecha_nacimiento) { using (DB_Entities_OMB db = new DB_Entities_OMB()) { // SI LA CEDULA ES NULA NOS INICIALIZARA LA CLASE TOMADOR if (Cedula == null) { ben = new Beneficiario(); ben.Ben_Documento = Convert.ToInt64(Txb_cedula.Text); ben.Ben_Tipo_Doc = Tipo_doc.selectedValue.ToString(); ben.Ben_Nombres = Txb_nombres.Text; ben.Ben_Apellidos = Txb_apellidos.Text; ben.Ben_Direccion = Txb_direccion.Text; ben.Ben_Telefono = Convert.ToInt64(Txb_telefono.Text); ben.Ben_Email = Txb_email.Text; ben.Ben_Fecha_Nacimiento = Fecha_nacimiento.Value; ben.Fecha_Creacion = DateTime.Now; } // SI LA CEDULA ES NULA AGREGARA LOS REGISTROS if (Cedula == null) { db.Beneficiario.Add(ben); MessageBox.Show("Registros agregados"); } else { // SI LA CEDULA NO ES NULA NOS EDITARA LOS REGISTROS ben = new Beneficiario(); ben.Ben_Documento = Convert.ToInt64(Txb_cedula.Text); ben.Ben_Tipo_Doc = Tipo_doc.selectedValue.ToString(); ben.Ben_Nombres = Txb_nombres.Text; ben.Ben_Apellidos = Txb_apellidos.Text; ben.Ben_Direccion = Txb_direccion.Text; ben.Ben_Telefono = Convert.ToInt64(Txb_telefono.Text); ben.Ben_Email = Txb_email.Text; ben.Ben_Fecha_Nacimiento = Fecha_nacimiento.Value; ben.Fecha_Creacion = DateTime.Now; // Si la cedula es distinto a nulo hara la edicion del registro if (Cedula != null) { db.Beneficiario.Add(ben); db.Entry(ben).State = System.Data.Entity.EntityState.Modified; MessageBox.Show("Edición de registros completada"); } } db.SaveChanges(); } }
int demgiatri(string sql,string dem, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox text) { conn.Open(); SqlCommand cmd2 = new SqlCommand(sql, conn); cmd2.CommandType = CommandType.Text; SqlDataAdapter da2 = new SqlDataAdapter(cmd2); DataTable dt2 = new DataTable(); da2.Fill(dt2); object GIA; GIA = dt2.Compute(dem, ""); text.Text = text.Text +": "+ GIA.ToString(); conn.Close(); return 0; }
public void Numeros(Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox cajaTexto, KeyPressEventArgs e) { if (Char.IsDigit(e.KeyChar)) { e.Handled = false; } else if (Char.IsControl(e.KeyChar)) { e.Handled = false; } else { e.Handled = true; } }
public void reset_txb_users(Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_nombres, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_tel, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_email, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox txb_pass, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox txb_resp, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_conf_p, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_conf_e, PictureBox OK_e, PictureBox OK_p, PictureBox Error_e, PictureBox Error_p) { Txb_nombres.Text = ""; Txb_tel.Text = ""; txb_resp.Text = ""; txb_pass.Text = ""; Txb_email.Text = ""; Txb_conf_p.Text = ""; Txb_conf_e.Text = ""; OK_e.Visible = false; OK_p.Visible = false; Error_e.Visible = false; Error_p.Visible = false; }
public static void autocompleteTextbox(Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox a, String sql) { SqlConnection cnn = TaoKetNoi(); cnn.Open(); SqlCommand cmd = new SqlCommand(sql, cnn); SqlDataReader dr = cmd.ExecuteReader(); AutoCompleteStringCollection myConnection = new AutoCompleteStringCollection(); while (dr.Read()) { myConnection.Add(dr.GetString(0)); } a.AutoCompleteCustomSource = myConnection; cnn.Close(); }
// AÑADIR USUARIO public void Añadir_Editar_Usuario(int?ID_user, Bunifu.Framework.UI.BunifuDropdown Pregunta_drp, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_nombres, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_tel, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_email, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox txb_pass, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox txb_resp) { using (DB_Entities_OMB db = new DB_Entities_OMB()) { // SI LA CEDULA ES NULA NOS INICIALIZARA LA CLASE TOMADOR if (ID_user == null) { user = new Users_v3(); user.Nombres = Txb_nombres.Text; user.Telefono = Txb_tel.Text; user.Email = Txb_email.Text; user.Contraseña = txb_pass.Text; user.Pregunta_seguridad = Pregunta_drp.selectedValue.ToString(); user.Respuesta_seguridad = txb_resp.Text; user.ID_Rol = 1; user.Fecha_de_creacion = DateTime.Now; } // SI LA CEDULA ES NULA AGREGARA LOS REGISTROS if (ID_user == null) { db.Users_v3.Add(user); MessageBox.Show("Usuario agregado"); } else { // SI LA CEDULA NO ES NULA NOS EDITARA LOS REGISTROS user = new Users_v3(); user.ID_Usuario = Convert.ToInt32(ID_user); user.Nombres = Txb_nombres.Text; user.Telefono = Txb_tel.Text; user.Email = Txb_email.Text; user.Contraseña = txb_pass.Text; user.Pregunta_seguridad = Pregunta_drp.selectedValue.ToString(); user.Respuesta_seguridad = txb_resp.Text; user.ID_Rol = 1; user.Fecha_de_creacion = DateTime.Now; if (ID_user != null) { // METODO MAS SENCILLO PARA USAR EL UPDATE db.Users_v3.AddOrUpdate(user); MessageBox.Show("Edición de registros completada"); } } db.SaveChanges(); } }
// Llenar Formularios para editar beneficiario public void Llenar_Beneficiario_Edit(long?Cedula, Bunifu.Framework.UI.BunifuDropdown Tipo_doc, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_cedula, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_nombres, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_apellidos, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_direccion, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_telefono, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_email, Bunifu.Framework.UI.BunifuDatepicker Fecha_nacimiento) { DB_Entities_OMB db = new DB_Entities_OMB(); Beneficiario ben_tabla = new Beneficiario(); //LOGICA ANTERIOR /*var Tipo_documento = from tom in db.Tomador where tom.Tom_Documento == Cedula select tom.Tom_Tip_Doc; * var Nombres = from tom in db.Tomador where tom.Tom_Documento == Cedula select tom.Tom_Nombres; * var Apellidos = from tom in db.Tomador where tom.Tom_Documento == Cedula select tom.Tom_Apellidos; * var Direccion = from tom in db.Tomador where tom.Tom_Documento == Cedula select tom.Tom_Direccion; * var Telefono = from tom in db.Tomador where tom.Tom_Documento == Cedula select tom.Tom_Telefono; * var Email = from tom in db.Tomador where tom.Tom_Documento == Cedula select tom.Tom_Email; * var Fecha_Nacimiento = from tom in db.Tomador where tom.Tom_Documento == Cedula select tom.Tom_Fecha_Nacimiento; */ ben_tabla = db.Beneficiario.Find(Cedula); if (ben_tabla.Ben_Documento.ToString() == Cedula.ToString()) { Tipo_doc.SelectedItem(ben_tabla.Ben_Tipo_Doc); Txb_cedula.Text = ben_tabla.Ben_Documento.ToString(); Txb_cedula.Enabled = false; Txb_nombres.Text = ben_tabla.Ben_Nombres.ToString(); Txb_apellidos.Text = ben_tabla.Ben_Apellidos.ToString(); Txb_direccion.Text = ben_tabla.Ben_Direccion.ToString(); Txb_telefono.Text = ben_tabla.Ben_Telefono.ToString(); Txb_email.Text = ben_tabla.Ben_Email.ToString(); Fecha_nacimiento.Value = ben_tabla.Ben_Fecha_Nacimiento; // LOGICA ANTERIOR /*Tipo_doc.SelectedItem(Tipo_documento.First()); * Txb_cedula.Text = Cedula.ToString(); * Txb_nombres.Text = Nombres.First(); * Txb_apellidos.Text = Apellidos.First(); * Txb_direccion.Text = Direccion.First(); * Txb_telefono.Text = Telefono.First().ToString(); * Txb_email.Text = Email.First(); * Fecha_nacimiento.Value = Fecha_Nacimiento.First();*/ } else { MessageBox.Show("No hay datos en los registros"); } }
public void Llenar_editar_usuario(int?ID_user, Bunifu.Framework.UI.BunifuDropdown Pregunta_drp, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_nombres, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_tel, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_email, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox txb_pass, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox txb_resp, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_conf_p, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_conf_e) { DB_Entities_OMB db = new DB_Entities_OMB(); Users_v3 Usuarios = new Users_v3(); Usuarios = db.Users_v3.Find(ID_user); if (Usuarios.ID_Usuario == ID_user) { Txb_nombres.Text = Usuarios.Nombres; Txb_tel.Text = Usuarios.Telefono; Txb_email.Text = Usuarios.Email; txb_pass.Text = Usuarios.Contraseña; Pregunta_drp.SelectedItem(Usuarios.Pregunta_seguridad); txb_resp.Text = Usuarios.Respuesta_seguridad; Txb_conf_e.Text = Txb_email.Text; Txb_conf_p.Text = txb_pass.Text; } else { MessageBox.Show("No se encontraron registros"); } }
public void Añadir_Editar_Pol(long?Numero_poliza, Bunifu.Framework.UI.BunifuDropdown Aseguradora, Bunifu.Framework.UI.BunifuDropdown Tipo_de_poliza, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_num_pol, Bunifu.Framework.UI.BunifuDatepicker Fecha_inicio, Bunifu.Framework.UI.BunifuDatepicker Fecha_Final, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Valor_prima, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Documento_tom, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Documento_ben) { using (DB_Entities_OMB db = new DB_Entities_OMB()) { // SI LA CEDULA ES NULA NOS INICIALIZARA LA CLASE TOMADOR if (Numero_poliza == null) { Pol = new Poliza(); Pol.Pol_Numero_Poliza = long.Parse(Txb_num_pol.Text); Pol.Tipo_Poliza_ID = Tipo_de_poliza.selectedIndex + 1; Pol.Aseguradora_ID = Aseguradora.selectedIndex + 1; Pol.Tomador_Documento = long.Parse(Documento_tom.Text); Pol.Beneficiario_Documento = long.Parse(Documento_ben.Text); Pol.Pol_Vigencia_Inicial = Fecha_inicio.Value; Pol.Pol_Vigencia_Final = Fecha_Final.Value; Pol.Pol_Valor_Prima = Decimal.Parse(Valor_prima.Text); Pol.Pol_Estado = "ACTIVO"; } // SI LA CEDULA ES NULA AGREGARA LOS REGISTROS if (Numero_poliza == null) { db.Poliza.Add(Pol); MessageBox.Show("Registros agregados"); } else { // SI LA CEDULA NO ES NULA NOS EDITARA LOS REGISTROS Pol = new Poliza(); Pol.Pol_Numero_Poliza = long.Parse(Txb_num_pol.Text); Pol.Tipo_Poliza_ID = Tipo_de_poliza.selectedIndex + 1; Pol.Aseguradora_ID = Aseguradora.selectedIndex + 1; Pol.Tomador_Documento = long.Parse(Documento_tom.Text); Pol.Beneficiario_Documento = long.Parse(Documento_ben.Text); Pol.Pol_Vigencia_Inicial = Fecha_inicio.Value; Pol.Pol_Vigencia_Final = Fecha_Final.Value; Pol.Pol_Valor_Prima = Decimal.Parse(Valor_prima.Text); Pol.Pol_Estado = "ACTIVO"; // Si la cedula es distinto a nulo hara la edicion del registro if (Numero_poliza != null) { db.Poliza.Add(Pol); db.Entry(Pol).State = System.Data.Entity.EntityState.Modified; MessageBox.Show("Edición de registros completada"); } } db.SaveChanges(); } }
/// <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(); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox txbQTY; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormPayment)); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties stateProperties1 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties stateProperties2 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties stateProperties3 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties stateProperties4 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); this.pnHeader = new System.Windows.Forms.Panel(); this.close = new Bunifu.Framework.UI.BunifuImageButton(); this.label2 = new System.Windows.Forms.Label(); this.icTimer = new FontAwesome.Sharp.IconPictureBox(); this.icCalender = new FontAwesome.Sharp.IconPictureBox(); this.lbDate = new System.Windows.Forms.Label(); this.icTable = new FontAwesome.Sharp.IconPictureBox(); this.lbTableID = new System.Windows.Forms.Label(); this.lbName = new System.Windows.Forms.Label(); this.pnLeft = new System.Windows.Forms.Panel(); this.bunifuDataGridView1 = new Bunifu.UI.WinForms.BunifuDataGridView(); this.no = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.qty = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.price = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.amount = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.pnRight = new System.Windows.Forms.Panel(); this.btnCacel = new Bunifu.Framework.UI.BunifuFlatButton(); this.btnPay = new Bunifu.Framework.UI.BunifuFlatButton(); this.pnLine = new System.Windows.Forms.Panel(); this.lbTotal = new System.Windows.Forms.Label(); this.lbTextTotal = new System.Windows.Forms.Label(); this.lbSale = new System.Windows.Forms.Label(); this.lbSubtotal = new System.Windows.Forms.Label(); this.lbTextSale = new System.Windows.Forms.Label(); this.lbTextSutotal = new System.Windows.Forms.Label(); this.elipseForm = new Bunifu.Framework.UI.BunifuElipse(this.components); this.elipsePnRight = new Bunifu.Framework.UI.BunifuElipse(this.components); this.elipsePnLeft = new Bunifu.Framework.UI.BunifuElipse(this.components); txbQTY = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox(); this.pnHeader.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.close)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.icTimer)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.icCalender)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.icTable)).BeginInit(); this.pnLeft.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bunifuDataGridView1)).BeginInit(); this.pnRight.SuspendLayout(); this.SuspendLayout(); // // txbQTY // txbQTY.AcceptsReturn = false; txbQTY.AcceptsTab = false; txbQTY.AnimationSpeed = 200; txbQTY.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; txbQTY.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; txbQTY.AutoValidate = System.Windows.Forms.AutoValidate.Disable; txbQTY.BackColor = System.Drawing.Color.White; txbQTY.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("txbQTY.BackgroundImage"))); txbQTY.BorderColorActive = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); txbQTY.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); txbQTY.BorderColorHover = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); txbQTY.BorderColorIdle = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); txbQTY.BorderRadius = 20; txbQTY.BorderThickness = 1; txbQTY.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; txbQTY.Cursor = System.Windows.Forms.Cursors.Default; txbQTY.DefaultFont = new System.Drawing.Font("Segoe UI Semibold", 9.75F); txbQTY.DefaultText = "0"; txbQTY.Enabled = false; txbQTY.FillColor = System.Drawing.Color.White; txbQTY.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); txbQTY.HideSelection = true; txbQTY.IconLeft = null; txbQTY.IconLeftCursor = System.Windows.Forms.Cursors.Default; txbQTY.IconPadding = 10; txbQTY.IconRight = null; txbQTY.IconRightCursor = System.Windows.Forms.Cursors.Default; txbQTY.Lines = new string[] { "0" }; txbQTY.Location = new System.Drawing.Point(81, 6); txbQTY.MaximumSize = new System.Drawing.Size(39, 26); txbQTY.MaxLength = 32767; txbQTY.MinimumSize = new System.Drawing.Size(39, 26); txbQTY.Modified = false; txbQTY.Multiline = false; txbQTY.Name = "txbQTY"; stateProperties1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); stateProperties1.FillColor = System.Drawing.Color.Empty; stateProperties1.ForeColor = System.Drawing.Color.Empty; stateProperties1.PlaceholderForeColor = System.Drawing.Color.Empty; txbQTY.OnActiveState = stateProperties1; stateProperties2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); stateProperties2.FillColor = System.Drawing.Color.White; stateProperties2.ForeColor = System.Drawing.Color.Empty; stateProperties2.PlaceholderForeColor = System.Drawing.Color.Silver; txbQTY.OnDisabledState = stateProperties2; stateProperties3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); stateProperties3.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); stateProperties3.ForeColor = System.Drawing.Color.White; stateProperties3.PlaceholderForeColor = System.Drawing.Color.Empty; txbQTY.OnHoverState = stateProperties3; stateProperties4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); stateProperties4.FillColor = System.Drawing.Color.White; stateProperties4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); stateProperties4.PlaceholderForeColor = System.Drawing.Color.Empty; txbQTY.OnIdleState = stateProperties4; txbQTY.PasswordChar = '\0'; txbQTY.PlaceholderForeColor = System.Drawing.Color.Silver; txbQTY.PlaceholderText = ""; txbQTY.ReadOnly = true; txbQTY.ScrollBars = System.Windows.Forms.ScrollBars.None; txbQTY.SelectedText = ""; txbQTY.SelectionLength = 0; txbQTY.SelectionStart = 0; txbQTY.ShortcutsEnabled = true; txbQTY.Size = new System.Drawing.Size(39, 26); txbQTY.Style = Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox._Style.Bunifu; txbQTY.TabIndex = 15; txbQTY.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; txbQTY.TextMarginBottom = 0; txbQTY.TextMarginLeft = 5; txbQTY.TextMarginTop = 0; txbQTY.TextPlaceholder = ""; txbQTY.UseSystemPasswordChar = false; txbQTY.WordWrap = true; // // pnHeader // this.pnHeader.BackColor = System.Drawing.Color.White; this.pnHeader.Controls.Add(this.close); this.pnHeader.Controls.Add(this.label2); this.pnHeader.Controls.Add(this.icTimer); this.pnHeader.Controls.Add(this.icCalender); this.pnHeader.Controls.Add(this.lbDate); this.pnHeader.Controls.Add(this.icTable); this.pnHeader.Controls.Add(this.lbTableID); this.pnHeader.Controls.Add(this.lbName); this.pnHeader.Dock = System.Windows.Forms.DockStyle.Top; this.pnHeader.Location = new System.Drawing.Point(0, 0); this.pnHeader.Name = "pnHeader"; this.pnHeader.Size = new System.Drawing.Size(950, 86); this.pnHeader.TabIndex = 0; // // close // this.close.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.close.Cursor = System.Windows.Forms.Cursors.Hand; this.close.Image = ((System.Drawing.Image)(resources.GetObject("close.Image"))); this.close.ImageActive = null; this.close.Location = new System.Drawing.Point(900, 12); this.close.Name = "close"; this.close.Size = new System.Drawing.Size(38, 24); this.close.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.close.TabIndex = 10; this.close.TabStop = false; this.close.Zoom = 10; this.close.Click += new System.EventHandler(this.close_Click); // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Roboto Medium", 17F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(113))))); this.label2.Location = new System.Drawing.Point(221, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(91, 28); this.label2.TabIndex = 6; this.label2.Text = "BILL ID"; // // icTimer // this.icTimer.BackColor = System.Drawing.Color.White; this.icTimer.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); this.icTimer.IconChar = FontAwesome.Sharp.IconChar.Clock; this.icTimer.IconColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); this.icTimer.IconFont = FontAwesome.Sharp.IconFont.Auto; this.icTimer.IconSize = 25; this.icTimer.Location = new System.Drawing.Point(913, 53); this.icTimer.Name = "icTimer"; this.icTimer.Size = new System.Drawing.Size(25, 25); this.icTimer.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.icTimer.TabIndex = 5; this.icTimer.TabStop = false; // // icCalender // this.icCalender.BackColor = System.Drawing.Color.White; this.icCalender.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); this.icCalender.IconChar = FontAwesome.Sharp.IconChar.CalendarDay; this.icCalender.IconColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); this.icCalender.IconFont = FontAwesome.Sharp.IconFont.Auto; this.icCalender.IconSize = 25; this.icCalender.Location = new System.Drawing.Point(884, 53); this.icCalender.Name = "icCalender"; this.icCalender.Size = new System.Drawing.Size(25, 25); this.icCalender.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.icCalender.TabIndex = 4; this.icCalender.TabStop = false; // // lbDate // this.lbDate.Font = new System.Drawing.Font("Roboto Medium", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbDate.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); this.lbDate.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.lbDate.Location = new System.Drawing.Point(733, 57); this.lbDate.Name = "lbDate"; this.lbDate.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.lbDate.Size = new System.Drawing.Size(145, 21); this.lbDate.TabIndex = 3; this.lbDate.Text = "Date"; // // icTable // this.icTable.BackColor = System.Drawing.Color.White; this.icTable.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.icTable.IconChar = FontAwesome.Sharp.IconChar.Table; this.icTable.IconColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.icTable.IconFont = FontAwesome.Sharp.IconFont.Auto; this.icTable.IconSize = 23; this.icTable.Location = new System.Drawing.Point(27, 54); this.icTable.Name = "icTable"; this.icTable.Size = new System.Drawing.Size(23, 23); this.icTable.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; this.icTable.TabIndex = 2; this.icTable.TabStop = false; // // lbTableID // this.lbTableID.AutoSize = true; this.lbTableID.Font = new System.Drawing.Font("Roboto Medium", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbTableID.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.lbTableID.Location = new System.Drawing.Point(56, 57); this.lbTableID.Name = "lbTableID"; this.lbTableID.Size = new System.Drawing.Size(68, 17); this.lbTableID.TabIndex = 1; this.lbTableID.Text = "Table ID"; // // lbName // this.lbName.AutoSize = true; this.lbName.Font = new System.Drawing.Font("Roboto Medium", 17F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbName.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(113))))); this.lbName.Location = new System.Drawing.Point(20, 13); this.lbName.Name = "lbName"; this.lbName.Size = new System.Drawing.Size(208, 28); this.lbName.TabIndex = 0; this.lbName.Text = "BILL OF LADING -"; // // pnLeft // this.pnLeft.BackColor = System.Drawing.Color.White; this.pnLeft.Controls.Add(this.bunifuDataGridView1); this.pnLeft.Location = new System.Drawing.Point(4, 89); this.pnLeft.Margin = new System.Windows.Forms.Padding(0); this.pnLeft.Name = "pnLeft"; this.pnLeft.Size = new System.Drawing.Size(560, 530); this.pnLeft.TabIndex = 1; // // bunifuDataGridView1 // this.bunifuDataGridView1.AllowCustomTheming = false; this.bunifuDataGridView1.AllowUserToDeleteRows = false; dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(251)))), ((int)(((byte)(255))))); dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black; this.bunifuDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.bunifuDataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.bunifuDataGridView1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.bunifuDataGridView1.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; this.bunifuDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.None; dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; dataGridViewCellStyle2.BackColor = System.Drawing.Color.DodgerBlue; dataGridViewCellStyle2.Font = new System.Drawing.Font("Segoe UI Semibold", 11.75F, System.Drawing.FontStyle.Bold); dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White; dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.White; dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; this.bunifuDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; this.bunifuDataGridView1.ColumnHeadersHeight = 40; this.bunifuDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.no, this.name, this.qty, this.price, this.amount }); this.bunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(248)))), ((int)(((byte)(251)))), ((int)(((byte)(255))))); this.bunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold); this.bunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.ForeColor = System.Drawing.Color.Black; this.bunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(232)))), ((int)(((byte)(255))))); this.bunifuDataGridView1.CurrentTheme.AlternatingRowsStyle.SelectionForeColor = System.Drawing.Color.Black; this.bunifuDataGridView1.CurrentTheme.BackColor = System.Drawing.Color.White; this.bunifuDataGridView1.CurrentTheme.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); this.bunifuDataGridView1.CurrentTheme.HeaderStyle.BackColor = System.Drawing.Color.DodgerBlue; this.bunifuDataGridView1.CurrentTheme.HeaderStyle.Font = new System.Drawing.Font("Segoe UI Semibold", 11.75F, System.Drawing.FontStyle.Bold); this.bunifuDataGridView1.CurrentTheme.HeaderStyle.ForeColor = System.Drawing.Color.White; this.bunifuDataGridView1.CurrentTheme.Name = null; this.bunifuDataGridView1.CurrentTheme.RowsStyle.BackColor = System.Drawing.Color.White; this.bunifuDataGridView1.CurrentTheme.RowsStyle.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold); this.bunifuDataGridView1.CurrentTheme.RowsStyle.ForeColor = System.Drawing.Color.Black; this.bunifuDataGridView1.CurrentTheme.RowsStyle.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(232)))), ((int)(((byte)(255))))); this.bunifuDataGridView1.CurrentTheme.RowsStyle.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle6.BackColor = System.Drawing.Color.White; dataGridViewCellStyle6.Font = new System.Drawing.Font("Segoe UI Semibold", 9.75F, System.Drawing.FontStyle.Bold); dataGridViewCellStyle6.ForeColor = System.Drawing.Color.Black; dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(210)))), ((int)(((byte)(232)))), ((int)(((byte)(255))))); dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.Black; dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False; this.bunifuDataGridView1.DefaultCellStyle = dataGridViewCellStyle6; this.bunifuDataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.bunifuDataGridView1.EnableHeadersVisualStyles = false; this.bunifuDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(238)))), ((int)(((byte)(255))))); this.bunifuDataGridView1.HeaderBackColor = System.Drawing.Color.DodgerBlue; this.bunifuDataGridView1.HeaderForeColor = System.Drawing.Color.White; this.bunifuDataGridView1.Location = new System.Drawing.Point(0, 0); this.bunifuDataGridView1.Name = "bunifuDataGridView1"; this.bunifuDataGridView1.RowHeadersVisible = false; this.bunifuDataGridView1.RowTemplate.Height = 40; this.bunifuDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.bunifuDataGridView1.Size = new System.Drawing.Size(560, 530); this.bunifuDataGridView1.TabIndex = 0; this.bunifuDataGridView1.Theme = Bunifu.UI.WinForms.BunifuDataGridView.PresetThemes.Light; // // no // this.no.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.ColumnHeader; this.no.HeaderText = "No"; this.no.Name = "no"; this.no.Width = 55; // // name // this.name.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.name.HeaderText = "Item name"; this.name.Name = "name"; this.name.Width = 180; // // qty // this.qty.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.qty.DefaultCellStyle = dataGridViewCellStyle3; this.qty.HeaderText = "QTY"; this.qty.Name = "qty"; this.qty.Width = 90; // // price // this.price.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.price.DefaultCellStyle = dataGridViewCellStyle4; this.price.FillWeight = 180F; this.price.HeaderText = "Price"; this.price.Name = "price"; this.price.Width = 150; // // amount // this.amount.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; this.amount.DefaultCellStyle = dataGridViewCellStyle5; this.amount.HeaderText = "Amount"; this.amount.Name = "amount"; // // pnRight // this.pnRight.BackColor = System.Drawing.Color.White; this.pnRight.Controls.Add(this.btnCacel); this.pnRight.Controls.Add(this.btnPay); this.pnRight.Controls.Add(this.pnLine); this.pnRight.Controls.Add(this.lbTotal); this.pnRight.Controls.Add(this.lbTextTotal); this.pnRight.Controls.Add(this.lbSale); this.pnRight.Controls.Add(txbQTY); this.pnRight.Controls.Add(this.lbSubtotal); this.pnRight.Controls.Add(this.lbTextSale); this.pnRight.Controls.Add(this.lbTextSutotal); this.pnRight.Location = new System.Drawing.Point(568, 89); this.pnRight.Margin = new System.Windows.Forms.Padding(5); this.pnRight.Name = "pnRight"; this.pnRight.Padding = new System.Windows.Forms.Padding(54, 62, 0, 0); this.pnRight.Size = new System.Drawing.Size(376, 533); this.pnRight.TabIndex = 2; // // btnCacel // this.btnCacel.Active = true; this.btnCacel.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(113))))); this.btnCacel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(113))))); this.btnCacel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.btnCacel.BorderRadius = 0; this.btnCacel.ButtonText = "CANCEL"; this.btnCacel.Cursor = System.Windows.Forms.Cursors.Hand; this.btnCacel.DisabledColor = System.Drawing.Color.Transparent; this.btnCacel.Font = new System.Drawing.Font("Roboto", 8.25F, System.Drawing.FontStyle.Bold); this.btnCacel.Iconcolor = System.Drawing.Color.Transparent; this.btnCacel.Iconimage = ((System.Drawing.Image)(resources.GetObject("btnCacel.Iconimage"))); this.btnCacel.Iconimage_right = null; this.btnCacel.Iconimage_right_Selected = null; this.btnCacel.Iconimage_Selected = null; this.btnCacel.IconMarginLeft = 30; this.btnCacel.IconMarginRight = 0; this.btnCacel.IconRightVisible = true; this.btnCacel.IconRightZoom = 0D; this.btnCacel.IconVisible = true; this.btnCacel.IconZoom = 45D; this.btnCacel.IsTab = false; this.btnCacel.Location = new System.Drawing.Point(0, 472); this.btnCacel.Margin = new System.Windows.Forms.Padding(0); this.btnCacel.Name = "btnCacel"; this.btnCacel.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(113))))); this.btnCacel.OnHovercolor = System.Drawing.Color.White; this.btnCacel.OnHoverTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.btnCacel.selected = true; this.btnCacel.Size = new System.Drawing.Size(195, 64); this.btnCacel.TabIndex = 10; this.btnCacel.Text = "CANCEL"; this.btnCacel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnCacel.Textcolor = System.Drawing.Color.White; this.btnCacel.TextFont = new System.Drawing.Font("Roboto Medium", 16F, System.Drawing.FontStyle.Bold); // // btnPay // this.btnPay.Active = true; this.btnPay.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.btnPay.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.btnPay.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.btnPay.BorderRadius = 0; this.btnPay.ButtonText = "PAY"; this.btnPay.Cursor = System.Windows.Forms.Cursors.Hand; this.btnPay.DisabledColor = System.Drawing.Color.Transparent; this.btnPay.Font = new System.Drawing.Font("Roboto", 8.25F, System.Drawing.FontStyle.Bold); this.btnPay.Iconcolor = System.Drawing.Color.Transparent; this.btnPay.Iconimage = ((System.Drawing.Image)(resources.GetObject("btnPay.Iconimage"))); this.btnPay.Iconimage_right = null; this.btnPay.Iconimage_right_Selected = null; this.btnPay.Iconimage_Selected = null; this.btnPay.IconMarginLeft = 50; this.btnPay.IconMarginRight = 0; this.btnPay.IconRightVisible = true; this.btnPay.IconRightZoom = 0D; this.btnPay.IconVisible = true; this.btnPay.IconZoom = 60D; this.btnPay.IsTab = false; this.btnPay.Location = new System.Drawing.Point(195, 472); this.btnPay.Name = "btnPay"; this.btnPay.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.btnPay.OnHovercolor = System.Drawing.Color.White; this.btnPay.OnHoverTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.btnPay.selected = true; this.btnPay.Size = new System.Drawing.Size(195, 64); this.btnPay.TabIndex = 20; this.btnPay.Text = "PAY"; this.btnPay.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnPay.Textcolor = System.Drawing.Color.White; this.btnPay.TextFont = new System.Drawing.Font("Roboto Medium", 18F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); // // pnLine // this.pnLine.BackColor = System.Drawing.SystemColors.ControlDark; this.pnLine.Location = new System.Drawing.Point(198, 65); this.pnLine.Name = "pnLine"; this.pnLine.Size = new System.Drawing.Size(151, 1); this.pnLine.TabIndex = 19; // // lbTotal // this.lbTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lbTotal.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lbTotal.Font = new System.Drawing.Font("Roboto", 12F, System.Drawing.FontStyle.Bold); this.lbTotal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(113))))); this.lbTotal.Location = new System.Drawing.Point(279, 74); this.lbTotal.Name = "lbTotal"; this.lbTotal.Size = new System.Drawing.Size(85, 19); this.lbTotal.TabIndex = 18; this.lbTotal.Text = "0"; this.lbTotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lbTextTotal // this.lbTextTotal.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lbTextTotal.AutoSize = true; this.lbTextTotal.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lbTextTotal.Font = new System.Drawing.Font("Roboto", 12F, System.Drawing.FontStyle.Bold); this.lbTextTotal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(54)))), ((int)(((byte)(54)))), ((int)(((byte)(113))))); this.lbTextTotal.Location = new System.Drawing.Point(12, 73); this.lbTextTotal.Name = "lbTextTotal"; this.lbTextTotal.Size = new System.Drawing.Size(44, 19); this.lbTextTotal.TabIndex = 17; this.lbTextTotal.Text = "Total"; this.lbTextTotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lbSale // this.lbSale.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lbSale.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lbSale.Font = new System.Drawing.Font("Roboto", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbSale.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); this.lbSale.Location = new System.Drawing.Point(279, 38); this.lbSale.Name = "lbSale"; this.lbSale.Size = new System.Drawing.Size(85, 19); this.lbSale.TabIndex = 16; this.lbSale.Text = "0"; this.lbSale.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lbSubtotal // this.lbSubtotal.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lbSubtotal.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lbSubtotal.Font = new System.Drawing.Font("Roboto", 10.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbSubtotal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.lbSubtotal.Location = new System.Drawing.Point(279, 12); this.lbSubtotal.Name = "lbSubtotal"; this.lbSubtotal.Size = new System.Drawing.Size(85, 19); this.lbSubtotal.TabIndex = 14; this.lbSubtotal.Text = "0"; this.lbSubtotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lbTextSale // this.lbTextSale.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lbTextSale.AutoSize = true; this.lbTextSale.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lbTextSale.Font = new System.Drawing.Font("Roboto", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbTextSale.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(146)))), ((int)(((byte)(123))))); this.lbTextSale.Location = new System.Drawing.Point(12, 38); this.lbTextSale.Name = "lbTextSale"; this.lbTextSale.Size = new System.Drawing.Size(60, 18); this.lbTextSale.TabIndex = 10; this.lbTextSale.Text = "Sale off"; this.lbTextSale.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lbTextSutotal // this.lbTextSutotal.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lbTextSutotal.AutoSize = true; this.lbTextSutotal.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.lbTextSutotal.Font = new System.Drawing.Font("Roboto", 10.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbTextSutotal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(83)))), ((int)(((byte)(124))))); this.lbTextSutotal.Location = new System.Drawing.Point(12, 12); this.lbTextSutotal.Name = "lbTextSutotal"; this.lbTextSutotal.Size = new System.Drawing.Size(63, 18); this.lbTextSutotal.TabIndex = 9; this.lbTextSutotal.Text = "Subtotal"; this.lbTextSutotal.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // elipseForm // this.elipseForm.ElipseRadius = 15; this.elipseForm.TargetControl = this; // // elipsePnRight // this.elipsePnRight.ElipseRadius = 30; this.elipsePnRight.TargetControl = this.pnRight; // // elipsePnLeft // this.elipsePnLeft.ElipseRadius = 30; this.elipsePnLeft.TargetControl = this.pnLeft; // // FormPayment // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(950, 625); this.Controls.Add(this.pnRight); this.Controls.Add(this.pnHeader); this.Controls.Add(this.pnLeft); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.MaximumSize = new System.Drawing.Size(950, 625); this.MinimumSize = new System.Drawing.Size(950, 625); this.Name = "FormPayment"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "FormPayment"; this.pnHeader.ResumeLayout(false); this.pnHeader.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.close)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.icTimer)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.icCalender)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.icTable)).EndInit(); this.pnLeft.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.bunifuDataGridView1)).EndInit(); this.pnRight.ResumeLayout(false); this.pnRight.PerformLayout(); this.ResumeLayout(false); }
public void Añadir_Editar_Veh(long?Numero_poliza, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Txb_num_pol, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Placa_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Modelo_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Fasecolda_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Servicio_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Clase_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Marca_txb, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Valor_auto_txb, Bunifu.Framework.UI.BunifuDatepicker Fecha_soat) { // INSERTANDO O EDITANDO LA ENTIDAD VEHICULO using (DB_Entities_OMB db = new DB_Entities_OMB()) { // SI EL NUMERO DE POLIZA ES NULA NOS INICIALIZARA LA CLASE TOMADOR if (Numero_poliza == null) { Veh = new Vehiculo(); Veh.Veh_Placa = Placa_txb.Text; Veh.Veh_Modelo = Modelo_txb.Text; Veh.Veh_Fasecolda = Int32.Parse(Fasecolda_txb.Text); Veh.Veh_Servicio = Servicio_txb.Text; Veh.Veh_Clase = Clase_txb.Text; Veh.Veh_Marca = Marca_txb.Text; Veh.Veh_Valor_Auto = Decimal.Parse(Valor_auto_txb.Text); Veh.Veh_Vigencia_Soat = Fecha_soat.Value; Veh.Veh_Soat_Estado = "ACTIVO"; } // SI LA POLIZA ES NULA AGREGARA LOS REGISTROS if (Numero_poliza == null) { db.Vehiculo.Add(Veh); MessageBox.Show("Registros agregados"); } else { // SI LA POLIZA NO ES NULA NOS EDITARA LOS REGISTROS Veh = new Vehiculo(); Veh.Veh_Placa = Placa_txb.Text; Veh.Veh_Modelo = Modelo_txb.Text; Veh.Veh_Fasecolda = int.Parse(Fasecolda_txb.Text); Veh.Veh_Servicio = Servicio_txb.Text; Veh.Veh_Clase = Clase_txb.Text; Veh.Veh_Marca = Marca_txb.Text; Veh.Veh_Valor_Auto = Decimal.Parse(Valor_auto_txb.Text); Veh.Veh_Vigencia_Soat = Fecha_soat.Value; // Si la poliza es distinto a nulo hara la edicion del registro if (Numero_poliza != null) { db.Vehiculo.Add(Veh); db.Entry(Veh).State = System.Data.Entity.EntityState.Modified; MessageBox.Show("Edición de registros completada"); } } db.SaveChanges(); } // INSERTANDO LA RELACION A LA TABLA POLIZAS VEHICULOS using (DB_Entities_OMB db = new DB_Entities_OMB()) { // SI EL NUMERO DE POLIZA ES NULA NOS INICIALIZARA LA CLASE TOMADOR if (Numero_poliza == null) { long Poliza_n = long.Parse(Txb_num_pol.Text); Pol_veh_entity_framework Poliza_veh = new Pol_veh_entity_framework(); Poliza Poliza_rela = db.Poliza.FirstOrDefault(pol => pol.Pol_Numero_Poliza == Poliza_n); Vehiculo vehi_rela = db.Vehiculo.FirstOrDefault(veh => veh.Veh_Placa == Placa_txb.Text); Poliza_veh.Poliza = Poliza_rela; Poliza_veh.Vehiculo = vehi_rela; db.Pol_veh_entity_framework.Add(Poliza_veh); MessageBox.Show("Registros de la relacion agregados"); } db.SaveChanges(); } }
// Llenar Poliza public void Llenar_Poliza_Edit(long?Numero_Poliza, Bunifu.Framework.UI.BunifuDropdown Aseguradora_drop, Bunifu.Framework.UI.BunifuDropdown Tipo_poliza_drop, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Numero_Poliza_txb, Bunifu.Framework.UI.BunifuDatepicker Fecha_inicial, Bunifu.Framework.UI.BunifuDatepicker Fecha_final, Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox Valor_txb) { DB_Entities_OMB db = new DB_Entities_OMB(); Poliza Pol_tabla = new Poliza(); Pol_tabla = db.Poliza.Find(Numero_Poliza); if (Pol_tabla.Pol_Numero_Poliza == Numero_Poliza) { Aseguradora_drop.selectedIndex = Pol_tabla.Aseguradora_ID - 1; Aseguradora_drop.Enabled = false; Tipo_poliza_drop.selectedIndex = Pol_tabla.Tipo_Poliza_ID - 1; Tipo_poliza_drop.Enabled = false; Numero_Poliza_txb.Text = Pol_tabla.Pol_Numero_Poliza.ToString(); Numero_Poliza_txb.Enabled = false; Fecha_inicial.Value = Pol_tabla.Pol_Vigencia_Inicial; Fecha_final.Value = Pol_tabla.Pol_Vigencia_Final; Valor_txb.Text = Pol_tabla.Pol_Valor_Prima.ToString(); } else { MessageBox.Show("No hay datos en los registros"); } }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Proprety)); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties stateProperties1 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties stateProperties2 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties stateProperties3 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties stateProperties4 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox.StateProperties(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.textBox1 = new Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox(); this.Proreties = new System.Windows.Forms.GroupBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.Proreties.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.SuspendLayout(); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, "folder.png"); this.imageList1.Images.SetKeyName(1, "file.png"); // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(138, 135); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(45, 16); this.label8.TabIndex = 6; this.label8.Text = "label8"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.ForeColor = System.Drawing.SystemColors.InfoText; this.label7.Location = new System.Drawing.Point(28, 133); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(64, 18); this.label7.TabIndex = 5; this.label7.Text = "Date : "; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.SystemColors.InfoText; this.label1.Location = new System.Drawing.Point(28, 28); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 18); this.label1.TabIndex = 0; this.label1.Text = "Type : "; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.ForeColor = System.Drawing.SystemColors.InfoText; this.label2.Location = new System.Drawing.Point(28, 62); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(64, 18); this.label2.TabIndex = 1; this.label2.Text = "Size : "; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("Consolas", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.ForeColor = System.Drawing.SystemColors.InfoText; this.label3.Location = new System.Drawing.Point(28, 94); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(56, 18); this.label3.TabIndex = 2; this.label3.Text = "label3"; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(138, 30); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(45, 16); this.label4.TabIndex = 3; this.label4.Text = "label4"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label5.Location = new System.Drawing.Point(138, 64); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(45, 16); this.label5.TabIndex = 4; this.label5.Text = "label5"; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(138, 96); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(45, 16); this.label6.TabIndex = 5; this.label6.Text = "label6"; // // textBox1 // this.textBox1.AcceptsReturn = false; this.textBox1.AcceptsTab = false; this.textBox1.AnimationSpeed = 200; this.textBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; this.textBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; this.textBox1.BackColor = System.Drawing.Color.Transparent; this.textBox1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("textBox1.BackgroundImage"))); this.textBox1.BorderColorActive = System.Drawing.Color.DodgerBlue; this.textBox1.BorderColorDisabled = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(161))))); this.textBox1.BorderColorHover = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); this.textBox1.BorderColorIdle = System.Drawing.Color.Silver; this.textBox1.BorderRadius = 1; this.textBox1.BorderThickness = 1; this.textBox1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal; this.textBox1.Cursor = System.Windows.Forms.Cursors.IBeam; this.textBox1.DefaultFont = new System.Drawing.Font("Segoe UI Semibold", 9.75F); this.textBox1.DefaultText = ""; this.textBox1.Enabled = false; this.textBox1.FillColor = System.Drawing.Color.White; this.textBox1.HideSelection = true; this.textBox1.IconLeft = null; this.textBox1.IconLeftCursor = System.Windows.Forms.Cursors.IBeam; this.textBox1.IconPadding = 10; this.textBox1.IconRight = null; this.textBox1.IconRightCursor = System.Windows.Forms.Cursors.IBeam; this.textBox1.Lines = new string[0]; this.textBox1.Location = new System.Drawing.Point(142, 63); this.textBox1.MaxLength = 32767; this.textBox1.MinimumSize = new System.Drawing.Size(1, 1); this.textBox1.Modified = false; this.textBox1.Multiline = false; this.textBox1.Name = "textBox1"; stateProperties1.BorderColor = System.Drawing.Color.DodgerBlue; stateProperties1.FillColor = System.Drawing.Color.Empty; stateProperties1.ForeColor = System.Drawing.Color.Empty; stateProperties1.PlaceholderForeColor = System.Drawing.Color.Empty; this.textBox1.OnActiveState = stateProperties1; stateProperties2.BorderColor = System.Drawing.Color.Empty; stateProperties2.FillColor = System.Drawing.Color.White; stateProperties2.ForeColor = System.Drawing.Color.Empty; stateProperties2.PlaceholderForeColor = System.Drawing.Color.Silver; this.textBox1.OnDisabledState = stateProperties2; stateProperties3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(105)))), ((int)(((byte)(181)))), ((int)(((byte)(255))))); stateProperties3.FillColor = System.Drawing.Color.Empty; stateProperties3.ForeColor = System.Drawing.Color.Empty; stateProperties3.PlaceholderForeColor = System.Drawing.Color.Empty; this.textBox1.OnHoverState = stateProperties3; stateProperties4.BorderColor = System.Drawing.Color.Silver; stateProperties4.FillColor = System.Drawing.Color.White; stateProperties4.ForeColor = System.Drawing.Color.Empty; stateProperties4.PlaceholderForeColor = System.Drawing.Color.Empty; this.textBox1.OnIdleState = stateProperties4; this.textBox1.PasswordChar = '\0'; this.textBox1.PlaceholderForeColor = System.Drawing.Color.Silver; this.textBox1.PlaceholderText = "Enter text"; this.textBox1.ReadOnly = false; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.None; this.textBox1.SelectedText = ""; this.textBox1.SelectionLength = 0; this.textBox1.SelectionStart = 0; this.textBox1.ShortcutsEnabled = true; this.textBox1.Size = new System.Drawing.Size(193, 30); this.textBox1.Style = Bunifu.UI.WinForms.BunifuTextbox.BunifuTextBox._Style.Bunifu; this.textBox1.TabIndex = 8; this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; this.textBox1.TextMarginBottom = 0; this.textBox1.TextMarginLeft = 5; this.textBox1.TextMarginTop = 0; this.textBox1.TextPlaceholder = "Enter text"; this.textBox1.UseSystemPasswordChar = false; this.textBox1.WordWrap = true; // // Proreties // this.Proreties.Controls.Add(this.label8); this.Proreties.Controls.Add(this.label6); this.Proreties.Controls.Add(this.label7); this.Proreties.Controls.Add(this.label5); this.Proreties.Controls.Add(this.label4); this.Proreties.Controls.Add(this.label3); this.Proreties.Controls.Add(this.label1); this.Proreties.Controls.Add(this.label2); this.Proreties.Font = new System.Drawing.Font("Sitka Heading", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Proreties.ForeColor = System.Drawing.SystemColors.MenuHighlight; this.Proreties.Location = new System.Drawing.Point(23, 169); this.Proreties.Name = "Proreties"; this.Proreties.Size = new System.Drawing.Size(312, 203); this.Proreties.TabIndex = 9; this.Proreties.TabStop = false; this.Proreties.Text = "Proreties"; // // pictureBox1 // this.pictureBox1.Location = new System.Drawing.Point(23, 29); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(113, 121); this.pictureBox1.TabIndex = 10; this.pictureBox1.TabStop = false; // // Proprety // this.BorderStyle = MetroFramework.Drawing.MetroBorderStyle.FixedSingle; this.ClientSize = new System.Drawing.Size(358, 430); this.Controls.Add(this.pictureBox1); this.Controls.Add(this.Proreties); this.Controls.Add(this.textBox1); this.Name = "Proprety"; this.ShadowType = MetroFramework.Forms.MetroForm.MetroFormShadowType.DropShadow; this.Style = MetroFramework.MetroColorStyle.Blue; this.Load += new System.EventHandler(this.Proprety_Load); this.Proreties.ResumeLayout(false); this.Proreties.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.ResumeLayout(false); }