Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace IntegraDoctor.forms.rotinas
- {
- partial class FormEditarImagens
- {
- /// <summary>
- /// Required designer variable.
- /// </summary>
- private System.ComponentModel.IContainer components = null;
- /// <summary>
- /// Clean up any resources being used.
- /// </summary>
- /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- #region Windows Form Designer generated code
- /// <summary>
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- /// </summary>
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormEditarImagens));
- this.panel1 = new System.Windows.Forms.Panel();
- this.panel2 = new System.Windows.Forms.Panel();
- this.panelMiniaturas = new System.Windows.Forms.Panel();
- this.panel4 = new System.Windows.Forms.Panel();
- this.panel3 = new System.Windows.Forms.Panel();
- this.textBoxNome = new System.Windows.Forms.TextBox();
- this.labelData = new System.Windows.Forms.Label();
- this.labelCodigoImagem = new System.Windows.Forms.Label();
- this.panelOptionsTool = new System.Windows.Forms.Panel();
- this.flowLayoutPanelOptions = new System.Windows.Forms.FlowLayoutPanel();
- this.label1 = new System.Windows.Forms.Label();
- this.numericUpDownTamanho = new System.Windows.Forms.NumericUpDown();
- this.groupBoxCliente = new System.Windows.Forms.GroupBox();
- this.icampoClienteNome = new System.Windows.Forms.TextBox();
- this.buttonEditarCliente = new System.Windows.Forms.Button();
- this.buttonInfoCliente = new System.Windows.Forms.Button();
- this.icampoCliente = new System.Windows.Forms.TextBox();
- this.panelTools = new System.Windows.Forms.Panel();
- this.panelColor = new System.Windows.Forms.Panel();
- this.buttonColorWhite = new System.Windows.Forms.Button();
- this.buttonColorBlack = new System.Windows.Forms.Button();
- this.buttonColorGreen = new System.Windows.Forms.Button();
- this.buttonColorYellow = new System.Windows.Forms.Button();
- this.buttonColorRed = new System.Windows.Forms.Button();
- this.buttonColorBlue = new System.Windows.Forms.Button();
- this.panelZoom = new System.Windows.Forms.Panel();
- this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
- this.pictureBoxView = new System.Windows.Forms.PictureBox();
- this.buttonTool5 = new System.Windows.Forms.Button();
- this.buttonTool4 = new System.Windows.Forms.Button();
- this.buttonTool3 = new System.Windows.Forms.Button();
- this.buttonTool2 = new System.Windows.Forms.Button();
- this.buttonTool1 = new System.Windows.Forms.Button();
- this.buttonTool0 = new System.Windows.Forms.Button();
- this.buttonZoomOut = new System.Windows.Forms.Button();
- this.buttonZoomIn = new System.Windows.Forms.Button();
- this.button1 = new System.Windows.Forms.Button();
- this.buttonConsultaCliente = new System.Windows.Forms.Button();
- this.panel1.SuspendLayout();
- this.panel2.SuspendLayout();
- this.panel3.SuspendLayout();
- this.panelOptionsTool.SuspendLayout();
- this.flowLayoutPanelOptions.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTamanho)).BeginInit();
- this.groupBoxCliente.SuspendLayout();
- this.panelTools.SuspendLayout();
- this.panelZoom.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBoxView)).BeginInit();
- this.SuspendLayout();
- //
- // panel1
- //
- this.panel1.Controls.Add(this.panel2);
- this.panel1.Controls.Add(this.panel3);
- this.panel1.Controls.Add(this.groupBoxCliente);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel1.Location = new System.Drawing.Point(0, 0);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(675, 157);
- this.panel1.TabIndex = 0;
- //
- // panel2
- //
- this.panel2.Controls.Add(this.panelMiniaturas);
- this.panel2.Controls.Add(this.panel4);
- this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panel2.Location = new System.Drawing.Point(0, 42);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(675, 81);
- this.panel2.TabIndex = 12;
- //
- // panelMiniaturas
- //
- this.panelMiniaturas.AutoScroll = true;
- this.panelMiniaturas.BackColor = System.Drawing.SystemColors.ControlLight;
- this.panelMiniaturas.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.panelMiniaturas.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panelMiniaturas.Location = new System.Drawing.Point(0, 0);
- this.panelMiniaturas.Name = "panelMiniaturas";
- this.panelMiniaturas.Size = new System.Drawing.Size(640, 81);
- this.panelMiniaturas.TabIndex = 2;
- //
- // panel4
- //
- this.panel4.Dock = System.Windows.Forms.DockStyle.Right;
- this.panel4.Location = new System.Drawing.Point(640, 0);
- this.panel4.Name = "panel4";
- this.panel4.Size = new System.Drawing.Size(35, 81);
- this.panel4.TabIndex = 0;
- //
- // panel3
- //
- this.panel3.Controls.Add(this.textBoxNome);
- this.panel3.Controls.Add(this.labelData);
- this.panel3.Controls.Add(this.labelCodigoImagem);
- this.panel3.Controls.Add(this.panelOptionsTool);
- this.panel3.Controls.Add(this.button1);
- this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
- this.panel3.Location = new System.Drawing.Point(0, 123);
- this.panel3.Name = "panel3";
- this.panel3.Padding = new System.Windows.Forms.Padding(3, 0, 0, 0);
- this.panel3.Size = new System.Drawing.Size(675, 34);
- this.panel3.TabIndex = 11;
- //
- // textBoxNome
- //
- this.textBoxNome.Dock = System.Windows.Forms.DockStyle.Fill;
- this.textBoxNome.Location = new System.Drawing.Point(178, 0);
- this.textBoxNome.MaxLength = 100;
- this.textBoxNome.Multiline = true;
- this.textBoxNome.Name = "textBoxNome";
- this.textBoxNome.Size = new System.Drawing.Size(370, 34);
- this.textBoxNome.TabIndex = 19;
- //
- // labelData
- //
- this.labelData.Dock = System.Windows.Forms.DockStyle.Left;
- this.labelData.Location = new System.Drawing.Point(79, 0);
- this.labelData.Name = "labelData";
- this.labelData.Size = new System.Drawing.Size(99, 34);
- this.labelData.TabIndex = 20;
- this.labelData.Tag = "l";
- this.labelData.Text = "label1";
- this.labelData.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // labelCodigoImagem
- //
- this.labelCodigoImagem.Dock = System.Windows.Forms.DockStyle.Left;
- this.labelCodigoImagem.Location = new System.Drawing.Point(37, 0);
- this.labelCodigoImagem.Name = "labelCodigoImagem";
- this.labelCodigoImagem.Size = new System.Drawing.Size(42, 34);
- this.labelCodigoImagem.TabIndex = 18;
- this.labelCodigoImagem.Tag = "l";
- this.labelCodigoImagem.Text = "label1";
- this.labelCodigoImagem.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // panelOptionsTool
- //
- this.panelOptionsTool.Controls.Add(this.flowLayoutPanelOptions);
- this.panelOptionsTool.Dock = System.Windows.Forms.DockStyle.Right;
- this.panelOptionsTool.Location = new System.Drawing.Point(548, 0);
- this.panelOptionsTool.Name = "panelOptionsTool";
- this.panelOptionsTool.Size = new System.Drawing.Size(127, 34);
- this.panelOptionsTool.TabIndex = 16;
- //
- // flowLayoutPanelOptions
- //
- this.flowLayoutPanelOptions.Controls.Add(this.label1);
- this.flowLayoutPanelOptions.Controls.Add(this.numericUpDownTamanho);
- this.flowLayoutPanelOptions.Dock = System.Windows.Forms.DockStyle.Fill;
- this.flowLayoutPanelOptions.Location = new System.Drawing.Point(0, 0);
- this.flowLayoutPanelOptions.Name = "flowLayoutPanelOptions";
- this.flowLayoutPanelOptions.Size = new System.Drawing.Size(127, 34);
- this.flowLayoutPanelOptions.TabIndex = 0;
- //
- // label1
- //
- this.label1.Location = new System.Drawing.Point(3, 0);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(43, 34);
- this.label1.TabIndex = 1;
- this.label1.Text = "Tam.:";
- this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
- //
- // numericUpDownTamanho
- //
- this.numericUpDownTamanho.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.numericUpDownTamanho.Location = new System.Drawing.Point(52, 3);
- this.numericUpDownTamanho.Minimum = new decimal(new int[] {
- 5,
- 0,
- 0,
- 0});
- this.numericUpDownTamanho.Name = "numericUpDownTamanho";
- this.numericUpDownTamanho.Size = new System.Drawing.Size(54, 26);
- this.numericUpDownTamanho.TabIndex = 2;
- this.numericUpDownTamanho.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
- this.toolTip1.SetToolTip(this.numericUpDownTamanho, "Tamanho do Pincel / Espessura das Linhas");
- this.numericUpDownTamanho.Value = new decimal(new int[] {
- 6,
- 0,
- 0,
- 0});
- //
- // groupBoxCliente
- //
- this.groupBoxCliente.BackColor = System.Drawing.SystemColors.ControlLight;
- this.groupBoxCliente.Controls.Add(this.icampoClienteNome);
- this.groupBoxCliente.Controls.Add(this.buttonEditarCliente);
- this.groupBoxCliente.Controls.Add(this.buttonInfoCliente);
- this.groupBoxCliente.Controls.Add(this.buttonConsultaCliente);
- this.groupBoxCliente.Controls.Add(this.icampoCliente);
- this.groupBoxCliente.Dock = System.Windows.Forms.DockStyle.Top;
- this.groupBoxCliente.Location = new System.Drawing.Point(0, 0);
- this.groupBoxCliente.Name = "groupBoxCliente";
- this.groupBoxCliente.Padding = new System.Windows.Forms.Padding(3, 3, 3, 5);
- this.groupBoxCliente.Size = new System.Drawing.Size(675, 42);
- this.groupBoxCliente.TabIndex = 9;
- this.groupBoxCliente.TabStop = false;
- this.groupBoxCliente.Text = "Cliente";
- //
- // icampoClienteNome
- //
- this.icampoClienteNome.Dock = System.Windows.Forms.DockStyle.Fill;
- this.icampoClienteNome.Location = new System.Drawing.Point(106, 16);
- this.icampoClienteNome.Name = "icampoClienteNome";
- this.icampoClienteNome.Size = new System.Drawing.Size(548, 20);
- this.icampoClienteNome.TabIndex = 2;
- this.icampoClienteNome.Tag = "r";
- //
- // buttonEditarCliente
- //
- this.buttonEditarCliente.Dock = System.Windows.Forms.DockStyle.Left;
- this.buttonEditarCliente.Location = new System.Drawing.Point(79, 16);
- this.buttonEditarCliente.Name = "buttonEditarCliente";
- this.buttonEditarCliente.Size = new System.Drawing.Size(27, 21);
- this.buttonEditarCliente.TabIndex = 5;
- this.buttonEditarCliente.TabStop = false;
- this.buttonEditarCliente.Text = "...";
- this.buttonEditarCliente.UseVisualStyleBackColor = true;
- this.buttonEditarCliente.Click += new System.EventHandler(this.buttonEditarCliente_Click);
- //
- // buttonInfoCliente
- //
- this.buttonInfoCliente.Dock = System.Windows.Forms.DockStyle.Right;
- this.buttonInfoCliente.Location = new System.Drawing.Point(654, 16);
- this.buttonInfoCliente.Name = "buttonInfoCliente";
- this.buttonInfoCliente.Size = new System.Drawing.Size(18, 21);
- this.buttonInfoCliente.TabIndex = 3;
- this.buttonInfoCliente.TabStop = false;
- this.buttonInfoCliente.Text = "?";
- this.buttonInfoCliente.UseVisualStyleBackColor = true;
- this.buttonInfoCliente.Click += new System.EventHandler(this.buttonInfoCliente_Click);
- //
- // icampoCliente
- //
- this.icampoCliente.Dock = System.Windows.Forms.DockStyle.Left;
- this.icampoCliente.Location = new System.Drawing.Point(3, 16);
- this.icampoCliente.Margin = new System.Windows.Forms.Padding(3, 3, 6, 3);
- this.icampoCliente.Name = "icampoCliente";
- this.icampoCliente.Size = new System.Drawing.Size(49, 20);
- this.icampoCliente.TabIndex = 0;
- this.icampoCliente.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
- this.icampoCliente.KeyDown += new System.Windows.Forms.KeyEventHandler(this.icampoCliente_KeyDown);
- this.icampoCliente.Leave += new System.EventHandler(this.icampoCliente_Leave);
- //
- // panelTools
- //
- this.panelTools.BackColor = System.Drawing.SystemColors.ControlLight;
- this.panelTools.Controls.Add(this.buttonTool5);
- this.panelTools.Controls.Add(this.buttonTool4);
- this.panelTools.Controls.Add(this.buttonTool3);
- this.panelTools.Controls.Add(this.buttonTool2);
- this.panelTools.Controls.Add(this.panelColor);
- this.panelTools.Controls.Add(this.buttonColorWhite);
- this.panelTools.Controls.Add(this.buttonColorBlack);
- this.panelTools.Controls.Add(this.buttonColorGreen);
- this.panelTools.Controls.Add(this.buttonColorYellow);
- this.panelTools.Controls.Add(this.buttonColorRed);
- this.panelTools.Controls.Add(this.buttonColorBlue);
- this.panelTools.Controls.Add(this.buttonTool1);
- this.panelTools.Controls.Add(this.buttonTool0);
- this.panelTools.Controls.Add(this.buttonZoomOut);
- this.panelTools.Controls.Add(this.buttonZoomIn);
- this.panelTools.Dock = System.Windows.Forms.DockStyle.Left;
- this.panelTools.Location = new System.Drawing.Point(0, 157);
- this.panelTools.Name = "panelTools";
- this.panelTools.Size = new System.Drawing.Size(76, 367);
- this.panelTools.TabIndex = 1;
- //
- // panelColor
- //
- this.panelColor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.panelColor.BackColor = System.Drawing.Color.Black;
- this.panelColor.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.panelColor.Location = new System.Drawing.Point(18, 200);
- this.panelColor.Name = "panelColor";
- this.panelColor.Size = new System.Drawing.Size(40, 40);
- this.panelColor.TabIndex = 13;
- //
- // buttonColorWhite
- //
- this.buttonColorWhite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.buttonColorWhite.BackColor = System.Drawing.Color.White;
- this.buttonColorWhite.Location = new System.Drawing.Point(39, 248);
- this.buttonColorWhite.Name = "buttonColorWhite";
- this.buttonColorWhite.Size = new System.Drawing.Size(34, 34);
- this.buttonColorWhite.TabIndex = 12;
- this.buttonColorWhite.UseVisualStyleBackColor = false;
- this.buttonColorWhite.Click += new System.EventHandler(this.buttonColor_Click);
- //
- // buttonColorBlack
- //
- this.buttonColorBlack.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.buttonColorBlack.BackColor = System.Drawing.Color.Black;
- this.buttonColorBlack.Location = new System.Drawing.Point(3, 248);
- this.buttonColorBlack.Name = "buttonColorBlack";
- this.buttonColorBlack.Size = new System.Drawing.Size(34, 34);
- this.buttonColorBlack.TabIndex = 10;
- this.buttonColorBlack.UseVisualStyleBackColor = false;
- this.buttonColorBlack.Click += new System.EventHandler(this.buttonColor_Click);
- //
- // buttonColorGreen
- //
- this.buttonColorGreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.buttonColorGreen.BackColor = System.Drawing.Color.Green;
- this.buttonColorGreen.Location = new System.Drawing.Point(39, 284);
- this.buttonColorGreen.Name = "buttonColorGreen";
- this.buttonColorGreen.Size = new System.Drawing.Size(34, 34);
- this.buttonColorGreen.TabIndex = 9;
- this.buttonColorGreen.UseVisualStyleBackColor = false;
- this.buttonColorGreen.Click += new System.EventHandler(this.buttonColor_Click);
- //
- // buttonColorYellow
- //
- this.buttonColorYellow.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.buttonColorYellow.BackColor = System.Drawing.Color.Yellow;
- this.buttonColorYellow.Location = new System.Drawing.Point(39, 320);
- this.buttonColorYellow.Name = "buttonColorYellow";
- this.buttonColorYellow.Size = new System.Drawing.Size(34, 34);
- this.buttonColorYellow.TabIndex = 8;
- this.buttonColorYellow.UseVisualStyleBackColor = false;
- this.buttonColorYellow.Click += new System.EventHandler(this.buttonColor_Click);
- //
- // buttonColorRed
- //
- this.buttonColorRed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.buttonColorRed.BackColor = System.Drawing.Color.Red;
- this.buttonColorRed.Location = new System.Drawing.Point(3, 284);
- this.buttonColorRed.Name = "buttonColorRed";
- this.buttonColorRed.Size = new System.Drawing.Size(34, 34);
- this.buttonColorRed.TabIndex = 7;
- this.buttonColorRed.UseVisualStyleBackColor = false;
- this.buttonColorRed.Click += new System.EventHandler(this.buttonColor_Click);
- //
- // buttonColorBlue
- //
- this.buttonColorBlue.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
- this.buttonColorBlue.BackColor = System.Drawing.Color.Blue;
- this.buttonColorBlue.Location = new System.Drawing.Point(3, 320);
- this.buttonColorBlue.Name = "buttonColorBlue";
- this.buttonColorBlue.Size = new System.Drawing.Size(34, 34);
- this.buttonColorBlue.TabIndex = 6;
- this.buttonColorBlue.UseVisualStyleBackColor = false;
- this.buttonColorBlue.Click += new System.EventHandler(this.buttonColor_Click);
- //
- // panelZoom
- //
- this.panelZoom.AutoScroll = true;
- this.panelZoom.BackColor = System.Drawing.SystemColors.ButtonShadow;
- this.panelZoom.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
- this.panelZoom.Controls.Add(this.pictureBoxView);
- this.panelZoom.Dock = System.Windows.Forms.DockStyle.Fill;
- this.panelZoom.Location = new System.Drawing.Point(76, 157);
- this.panelZoom.Name = "panelZoom";
- this.panelZoom.Size = new System.Drawing.Size(599, 367);
- this.panelZoom.TabIndex = 2;
- //
- // pictureBoxView
- //
- this.pictureBoxView.BackColor = System.Drawing.Color.White;
- this.pictureBoxView.Location = new System.Drawing.Point(1, 1);
- this.pictureBoxView.Name = "pictureBoxView";
- this.pictureBoxView.Size = new System.Drawing.Size(583, 351);
- this.pictureBoxView.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBoxView.TabIndex = 0;
- this.pictureBoxView.TabStop = false;
- this.pictureBoxView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBoxView_MouseDown);
- this.pictureBoxView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBoxView_MouseMove);
- this.pictureBoxView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBoxView_MouseUp);
- //
- // buttonTool5
- //
- this.buttonTool5.Image = global::IntegraDoctor.Properties.Resources.Arrow_Circle_icon;
- this.buttonTool5.Location = new System.Drawing.Point(39, 111);
- this.buttonTool5.Name = "buttonTool5";
- this.buttonTool5.Size = new System.Drawing.Size(34, 34);
- this.buttonTool5.TabIndex = 18;
- this.buttonTool5.Tag = "5";
- this.toolTip1.SetToolTip(this.buttonTool5, "CÃrculo");
- this.buttonTool5.UseVisualStyleBackColor = true;
- this.buttonTool5.Click += new System.EventHandler(this.buttonTool_Click);
- //
- // buttonTool4
- //
- this.buttonTool4.Image = global::IntegraDoctor.Properties.Resources.Rectangle;
- this.buttonTool4.Location = new System.Drawing.Point(3, 111);
- this.buttonTool4.Name = "buttonTool4";
- this.buttonTool4.Size = new System.Drawing.Size(34, 34);
- this.buttonTool4.TabIndex = 17;
- this.buttonTool4.Tag = "4";
- this.toolTip1.SetToolTip(this.buttonTool4, "Retângulo");
- this.buttonTool4.UseVisualStyleBackColor = true;
- this.buttonTool4.Click += new System.EventHandler(this.buttonTool_Click);
- //
- // buttonTool3
- //
- this.buttonTool3.Image = global::IntegraDoctor.Properties.Resources.Arrow;
- this.buttonTool3.Location = new System.Drawing.Point(39, 76);
- this.buttonTool3.Name = "buttonTool3";
- this.buttonTool3.Size = new System.Drawing.Size(34, 34);
- this.buttonTool3.TabIndex = 16;
- this.buttonTool3.Tag = "3";
- this.toolTip1.SetToolTip(this.buttonTool3, "Seta");
- this.buttonTool3.UseVisualStyleBackColor = true;
- this.buttonTool3.Click += new System.EventHandler(this.buttonTool_Click);
- //
- // buttonTool2
- //
- this.buttonTool2.Image = global::IntegraDoctor.Properties.Resources.Eraser_icon;
- this.buttonTool2.Location = new System.Drawing.Point(3, 76);
- this.buttonTool2.Name = "buttonTool2";
- this.buttonTool2.Size = new System.Drawing.Size(34, 34);
- this.buttonTool2.TabIndex = 15;
- this.buttonTool2.Tag = "2";
- this.toolTip1.SetToolTip(this.buttonTool2, "Borracha (Apenas na ultima ferramenta Utilizada)");
- this.buttonTool2.UseVisualStyleBackColor = true;
- this.buttonTool2.Click += new System.EventHandler(this.buttonTool_Click);
- //
- // buttonTool1
- //
- this.buttonTool1.Image = global::IntegraDoctor.Properties.Resources.brush_icon;
- this.buttonTool1.Location = new System.Drawing.Point(39, 41);
- this.buttonTool1.Name = "buttonTool1";
- this.buttonTool1.Size = new System.Drawing.Size(34, 34);
- this.buttonTool1.TabIndex = 5;
- this.buttonTool1.Tag = "1";
- this.toolTip1.SetToolTip(this.buttonTool1, "Pincel");
- this.buttonTool1.UseVisualStyleBackColor = true;
- this.buttonTool1.Click += new System.EventHandler(this.buttonTool_Click);
- //
- // buttonTool0
- //
- this.buttonTool0.BackColor = System.Drawing.SystemColors.ButtonShadow;
- this.buttonTool0.Image = global::IntegraDoctor.Properties.Resources.cursor_icon;
- this.buttonTool0.Location = new System.Drawing.Point(3, 41);
- this.buttonTool0.Name = "buttonTool0";
- this.buttonTool0.Size = new System.Drawing.Size(34, 34);
- this.buttonTool0.TabIndex = 4;
- this.buttonTool0.Tag = "0";
- this.toolTip1.SetToolTip(this.buttonTool0, "Nenhuma Ferramenta");
- this.buttonTool0.UseVisualStyleBackColor = false;
- this.buttonTool0.Click += new System.EventHandler(this.buttonTool_Click);
- //
- // buttonZoomOut
- //
- this.buttonZoomOut.Image = global::IntegraDoctor.Properties.Resources.Rem_24;
- this.buttonZoomOut.Location = new System.Drawing.Point(39, 6);
- this.buttonZoomOut.Name = "buttonZoomOut";
- this.buttonZoomOut.Size = new System.Drawing.Size(34, 34);
- this.buttonZoomOut.TabIndex = 3;
- this.toolTip1.SetToolTip(this.buttonZoomOut, "Reduz o Tamanho da Imagem");
- this.buttonZoomOut.UseVisualStyleBackColor = true;
- this.buttonZoomOut.Click += new System.EventHandler(this.buttonZoomOut_Click);
- //
- // buttonZoomIn
- //
- this.buttonZoomIn.Image = global::IntegraDoctor.Properties.Resources.Add_24;
- this.buttonZoomIn.Location = new System.Drawing.Point(3, 6);
- this.buttonZoomIn.Name = "buttonZoomIn";
- this.buttonZoomIn.Size = new System.Drawing.Size(34, 34);
- this.buttonZoomIn.TabIndex = 2;
- this.toolTip1.SetToolTip(this.buttonZoomIn, "Aumenta o Tamanho da Imagem");
- this.buttonZoomIn.UseVisualStyleBackColor = true;
- this.buttonZoomIn.Click += new System.EventHandler(this.buttonZoomIn_Click);
- //
- // button1
- //
- this.button1.Dock = System.Windows.Forms.DockStyle.Left;
- this.button1.Image = global::IntegraDoctor.Properties.Resources.Save ;
- this.button1.Location = new System.Drawing.Point(3, 0);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(34, 34);
- this.button1.TabIndex = 12;
- this.toolTip1.SetToolTip(this.button1, "Salvar Mudanças Na Imagem");
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.buttonSalvar_Click);
- //
- // buttonConsultaCliente
- //
- this.buttonConsultaCliente.Dock = System.Windows.Forms.DockStyle.Left;
- this.buttonConsultaCliente.Image = ((System.Drawing.Image)(resources.GetObject("buttonConsultaCliente.Image")));
- this.buttonConsultaCliente.Location = new System.Drawing.Point(52, 16);
- this.buttonConsultaCliente.Name = "buttonConsultaCliente";
- this.buttonConsultaCliente.Size = new System.Drawing.Size(27, 21);
- this.buttonConsultaCliente.TabIndex = 1;
- this.buttonConsultaCliente.TabStop = false;
- this.buttonConsultaCliente.UseVisualStyleBackColor = true;
- this.buttonConsultaCliente.Click += new System.EventHandler(this.buttonConsultaCliente_Click);
- //
- // FormEditarImagens
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(675, 524);
- this.Controls.Add(this.panelZoom);
- this.Controls.Add(this.panelTools);
- this.Controls.Add(this.panel1);
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.KeyPreview = true;
- this.Name = "FormEditarImagens";
- this.Text = "Editar Imagens";
- this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
- this.Load += new System.EventHandler(this.FormEditarImagens_Load);
- this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FormEditarImagens_KeyDown);
- this.panel1.ResumeLayout(false);
- this.panel2.ResumeLayout(false);
- this.panel3.ResumeLayout(false);
- this.panel3.PerformLayout();
- this.panelOptionsTool.ResumeLayout(false);
- this.flowLayoutPanelOptions.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.numericUpDownTamanho)).EndInit();
- this.groupBoxCliente.ResumeLayout(false);
- this.groupBoxCliente.PerformLayout();
- this.panelTools.ResumeLayout(false);
- this.panelZoom.ResumeLayout(false);
- this.panelZoom.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBoxView)).EndInit();
- this.ResumeLayout(false);
- }
- #endregion
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Panel panelTools;
- private System.Windows.Forms.Panel panelZoom;
- private System.Windows.Forms.GroupBox groupBoxCliente;
- private System.Windows.Forms.TextBox icampoClienteNome;
- private System.Windows.Forms.Button buttonEditarCliente;
- private System.Windows.Forms.Button buttonInfoCliente;
- private System.Windows.Forms.Button buttonConsultaCliente;
- private System.Windows.Forms.TextBox icampoCliente;
- private System.Windows.Forms.PictureBox pictureBoxView;
- private System.Windows.Forms.Button buttonZoomOut;
- private System.Windows.Forms.Button buttonZoomIn;
- private System.Windows.Forms.Button buttonTool0;
- private System.Windows.Forms.Button buttonTool1;
- private System.Windows.Forms.Button buttonColorWhite;
- private System.Windows.Forms.Button buttonColorBlack;
- private System.Windows.Forms.Button buttonColorGreen;
- private System.Windows.Forms.Button buttonColorYellow;
- private System.Windows.Forms.Button buttonColorRed;
- private System.Windows.Forms.Button buttonColorBlue;
- private System.Windows.Forms.Panel panelColor;
- private System.Windows.Forms.Button buttonTool5;
- private System.Windows.Forms.Button buttonTool4;
- private System.Windows.Forms.Button buttonTool3;
- private System.Windows.Forms.Button buttonTool2;
- private System.Windows.Forms.ToolTip toolTip1;
- private System.Windows.Forms.Panel panel3;
- private System.Windows.Forms.Button button1;
- private System.Windows.Forms.Panel panelOptionsTool;
- private System.Windows.Forms.FlowLayoutPanel flowLayoutPanelOptions;
- private System.Windows.Forms.Label labelCodigoImagem;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.NumericUpDown numericUpDownTamanho;
- private System.Windows.Forms.TextBox textBoxNome;
- private System.Windows.Forms.Label labelData;
- private System.Windows.Forms.Panel panel2;
- private System.Windows.Forms.Panel panelMiniaturas;
- private System.Windows.Forms.Panel panel4;
- }
- }
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Text;
- using System.Windows.Forms;
- namespace IntegraDoctor.forms.rotinas
- {
- public partial class FormEditarImagens : Form
- {
- PictureBox pic1, pic2, pic3;
- int camada;
- private Point mouseDownPosition = Point.Empty;
- public string Usuario { get; set; }
- public string Empresa { get; set; }
- public string Cliente { get; set; }
- public FormEditarImagens()
- {
- InitializeComponent();
- Funcoes.ColorirObjetos(this);
- Funcoes.TrocaTabPorEnter(this);
- }
- int tool;
- private void CarregarCliente(string cod)
- {
- IntegraClieFornec obj = new IntegraClieFornec();
- obj.loadImages = true;
- obj.Select(cod);
- if (obj.Codigo != null)
- {
- if (!obj.PFisica)
- {
- icampoCliente.Focus();
- }
- else
- {
- icampoCliente.Text = obj.Codigo;
- icampoClienteNome.Text = obj.Nome;
- CarregarImagens(obj.DtImagens);
- }
- }
- else
- {
- icampoCliente.Focus();
- }
- }
- private List<string[]> imgInfo;
- private void CarregarImagens(DataTable dt)
- {
- panelMiniaturas.Controls.Clear();
- int i = 0;
- List<PictureBox> pics;
- if (dt != null)
- {
- pics = new List<PictureBox>(dt.Rows.Count);
- imgInfo = new List<string[]>(dt.Rows.Count);
- foreach (DataRow r in dt.Rows)
- {
- Image img;
- byte[] MyData = new byte[0];
- MyData = r["imagem_bytes"].ToString().Length != 0 ? (byte[])r["imagem_bytes"] : MyData;
- img = MyData.Length == 0 ? null : Funcoes.ByteToImage(MyData);
- PictureBox pic = new PictureBox();
- pic.Name = r["imagem_codigo"].ToString();
- pic.Image = img;
- pic.Tag = i.ToString();
- i++;
- pic.BackColor = SystemColors.Control;
- pic.Parent = panelMiniaturas;
- pic.Size = new Size(75, 70);
- pic.SizeMode = PictureBoxSizeMode.Zoom;
- pic.Click += new System.EventHandler(this.pictureBoxMiniatura_Click);
- pics.Add(pic);
- string[] s = new string[2];
- s[0] = r["imagem_nome"].ToString();
- s[1] = DateTime.Parse(r["imagem_data"].ToString()).ToShortDateString();
- imgInfo.Add(s);
- }
- i = 10;
- foreach (PictureBox pic in pics)
- {
- pic.Left = i;
- pic.Top = 2;
- pic.Show();
- i = pic.Right + 10;
- }
- pics.Clear();
- }
- }
- private void pictureBoxMiniatura_Click(object sender, EventArgs e)
- {
- labelCodigoImagem.Text = ((PictureBox)sender).Name;
- pictureBoxView.Image = ((PictureBox)sender).Image;
- string tag = ((PictureBox)sender).Tag == null ? "" : ((PictureBox)sender).Tag.ToString();
- NewPictureBox();
- if (!String.IsNullOrEmpty(tag))
- {
- textBoxNome.Text = imgInfo[int.Parse(tag)][0].ToString();
- labelData.Text = imgInfo[int.Parse(tag)][1].ToString();
- }
- else
- {
- textBoxNome.Text = "Erro ao carregar Info";
- labelData.Text = "";
- }
- }
- private Bitmap BmpTransparente()
- {
- Bitmap bmp = new Bitmap(pictureBoxView.Image,pictureBoxView.Width, pictureBoxView.Height);
- Graphics g = Graphics.FromImage(bmp);
- g.Clear(Color.Transparent);
- return bmp;
- }
- private void NewPictureBox()
- {
- if (pic1 != null)
- if (pictureBoxView.Controls.Contains(pic1))
- pictureBoxView.Controls.Remove(pic1);
- if (pic2 != null)
- if (pictureBoxView.Controls.Contains(pic2))
- pictureBoxView.Controls.Remove(pic2);
- if (pic3 != null)
- if (pictureBoxView.Controls.Contains(pic3))
- pictureBoxView.Controls.Remove(pic3);
- pic1 = NewPic();
- //pic2 = NewPic();
- //pic3 = NewPic();
- pic1.Show();
- camada = 1;
- }
- private PictureBox NewPic()
- {
- PictureBox r = new PictureBox();
- r.BackColor = Color.Transparent;
- r.Height = pictureBoxView.Height;
- r.Width = pictureBoxView.Width;
- r.Parent = pictureBoxView;
- r.Location = new Point(0,0);
- r.Image = BmpTransparente();
- r.MouseDown += new MouseEventHandler(pictureBoxView_MouseDown);
- r.MouseMove += new MouseEventHandler(pictureBoxView_MouseMove);
- r.MouseUp += new MouseEventHandler(pictureBoxView_MouseUp);
- return r;
- }
- private void ZoomInOut(bool zoom)
- {
- if (pictureBoxView.Image == null)
- return;
- //Zoom ratio by which the images will be zoomed by default
- int zoomRatio = 10;
- //Set the zoomed width and height
- int widthZoom = pictureBoxView.Width * zoomRatio / 100;
- int heightZoom = pictureBoxView.Height * zoomRatio / 100;
- //zoom = true --> zoom in
- //zoom = false --> zoom out
- if (!zoom)
- {
- widthZoom *= -1;
- heightZoom *= -1;
- }
- //Add the width and height to the picture box dimensions
- //pictureBoxView.Width += widthZoom;
- //pictureBoxView.Height += heightZoom;
- Size newSize = new Size((int)(pictureBoxView.Width + widthZoom), (int)(pictureBoxView.Height + heightZoom));
- {
- Bitmap bmp = new Bitmap(pictureBoxView.Image, newSize);
- pictureBoxView.Image = bmp;
- }
- {
- Bitmap bmp = new Bitmap(pic1.Image, newSize);
- pic1.Image = bmp;
- }
- //pictureBoxView.Scale(new SizeF(pictureBoxView.Width + widthZoom, pictureBoxView.Height + heightZoom));
- }
- private void buttonZoomIn_Click(object sender, EventArgs e)
- {
- ZoomInOut(true);
- }
- private void buttonZoomOut_Click(object sender, EventArgs e)
- {
- ZoomInOut(false);
- }
- int iX;
- int iY;
- int vX;
- int vY;
- decimal tam;
- private void pictureBoxView_MouseMove(object sender, MouseEventArgs e)
- {
- if (e.Button == System.Windows.Forms.MouseButtons.Left && tool == 0)
- {
- int dY = (iY - e.Y) > 0 ? vY + (iY - e.Y) : vY - ((iY - e.Y) * -1);
- int dX = (iX - e.X) > 0 ? vX + (iX - e.X) : vX - ((iX - e.X) * -1);
- panelZoom.VerticalScroll.Value = (dY < panelZoom.VerticalScroll.Minimum ? panelZoom.VerticalScroll.Minimum : (dY > panelZoom.VerticalScroll.Maximum ? panelZoom.VerticalScroll.Maximum : dY));
- panelZoom.HorizontalScroll.Value = (dX < panelZoom.HorizontalScroll.Minimum ? panelZoom.HorizontalScroll.Minimum : (dX > panelZoom.HorizontalScroll.Maximum ? panelZoom.HorizontalScroll.Maximum : dX));
- pictureBoxView.Refresh();
- }
- else if (e.Button == System.Windows.Forms.MouseButtons.Left && tool == 1)
- Brush(e);
- else if (e.Button == System.Windows.Forms.MouseButtons.Left && tool == 2)
- Borracha(e);
- else if (e.Button == System.Windows.Forms.MouseButtons.Left && tool == 3)
- Seta(e);
- else if (e.Button == System.Windows.Forms.MouseButtons.Left && tool == 4)
- Retangulo(e);
- else if (e.Button == System.Windows.Forms.MouseButtons.Left && tool == 5)
- Circulo(e);
- }
- private void pictureBoxView_MouseDown(object sender, MouseEventArgs e)
- {
- iX = e.X;
- iY = e.Y;
- vX = panelZoom.HorizontalScroll.Value;
- vY = panelZoom.VerticalScroll.Value;
- mouseDownPosition = e.Location;
- tam = numericUpDownTamanho.Value;
- if (tool!=2)
- UpdateImage();
- if (tool == 1)
- Brush(e);
- else if (tool == 2)
- Borracha(e);
- }
- private void Brush(MouseEventArgs e)
- {
- int t = int.Parse(tam.ToString());
- var g = Graphics.FromImage(camada == 1 ? pic1.Image : (camada == 2 ? pic2.Image : pic3.Image));
- //g.Clear(Color.Transparent);
- g.FillEllipse(new SolidBrush(panelColor.BackColor), e.X - (t/2), e.Y - (t/2),t ,t );
- RefreshPictureBox();
- g.Dispose();
- }
- private void Borracha(MouseEventArgs e)
- {
- int t = int.Parse(tam.ToString());
- var g = Graphics.FromImage(camada == 1 ? pic1.Image : (camada == 2 ? pic2.Image : pic3.Image));
- //g.Clear(Color.Transparent);
- g.FillEllipse(new SolidBrush(Color.Magenta), e.X - (t / 2), e.Y - (t / 2), t, t);
- Bitmap b = (camada == 1 ? (Bitmap)pic1.Image : (camada == 2 ? (Bitmap)pic2.Image : (Bitmap)pic3.Image));
- b.MakeTransparent(Color.Magenta);
- if (camada == 1)
- pic1.Image = b;
- else if (camada == 2)
- pic2.Image = b;
- else
- pic3.Image = b;
- g.Dispose();
- }
- private void Seta(MouseEventArgs e)
- {
- var g = Graphics.FromImage(camada == 1 ? pic1.Image : (camada == 2 ? pic2.Image : pic3.Image));
- g.Clear(Color.Transparent);
- SolidBrush br = new SolidBrush(panelColor.BackColor);
- Pen p = new Pen(br);
- p.Width = (float)tam;
- p.EndCap = System.Drawing.Drawing2D.LineCap.ArrowAnchor;
- g.DrawLine(p, mouseDownPosition, e.Location);
- RefreshPictureBox();
- g.Dispose();
- p.Dispose();
- br.Dispose();
- }
- private void Circulo(MouseEventArgs e)
- {
- var g = Graphics.FromImage(camada == 1 ? pic1.Image : (camada == 2 ? pic2.Image : pic3.Image));
- g.Clear(Color.Transparent);
- SolidBrush br = new SolidBrush(panelColor.BackColor);
- Pen p = new Pen(br);
- p.Width = (float)tam;
- int W = e.Location.X - mouseDownPosition.X;
- int H = e.Location.Y - mouseDownPosition.Y;
- if (W > 0 && H > 0)
- g.DrawEllipse(p, mouseDownPosition.X, mouseDownPosition.Y, W, H);
- else if (W > 0 && H < 0)
- {
- H *= -1;
- g.DrawEllipse(p, mouseDownPosition.X, e.Location.Y, W, H);
- }
- else if (W < 0 && H > 0)
- {
- W *= -1;
- g.DrawEllipse(p, e.Location.X, mouseDownPosition.Y, W, H);
- }
- else
- {
- W *= -1;
- H *= -1;
- g.DrawEllipse(p, e.Location.X, e.Location.Y, W, H);
- }
- RefreshPictureBox();
- g.Dispose();
- p.Dispose();
- br.Dispose();
- }
- private void Retangulo(MouseEventArgs e)
- {
- var g = Graphics.FromImage(camada == 1 ? pic1.Image : (camada == 2 ? pic2.Image : pic3.Image));
- g.Clear(Color.Transparent);
- SolidBrush br = new SolidBrush(panelColor.BackColor);
- Pen p = new Pen(br);
- p.Width = (float)tam;
- int W = e.Location.X - mouseDownPosition.X;
- int H = e.Location.Y - mouseDownPosition.Y;
- if (W > 0 && H > 0)
- g.DrawRectangle(p, mouseDownPosition.X, mouseDownPosition.Y, W, H);
- else if (W > 0 && H < 0)
- {
- H *= -1;
- g.DrawRectangle(p, mouseDownPosition.X, e.Location.Y, W, H);
- }
- else if (W < 0 && H > 0)
- {
- W *= -1;
- g.DrawRectangle(p, e.Location.X, mouseDownPosition.Y, W, H);
- }
- else
- {
- W *= -1;
- H *= -1;
- g.DrawRectangle(p, e.Location.X, e.Location.Y, W, H);
- }
- RefreshPictureBox();
- g.Dispose();
- p.Dispose();
- br.Dispose();
- }
- private void Undo()
- {
- pic1.Image = BmpTransparente();
- }
- private void RefreshPictureBox()
- {
- if (camada == 1)
- pic1.Refresh();
- else if (camada == 2)
- pic2.Refresh();
- else
- pic3.Refresh();
- }
- private void UpdateImage()
- {
- Bitmap bmp = new Bitmap(pictureBoxView.Image);
- pictureBoxView.Image = bmp;
- var g = Graphics.FromImage(pictureBoxView.Image);
- g.DrawImage(pic1.Image, 0,0);
- g.Dispose();
- pictureBoxView.Refresh();
- }
- private void buttonColor_Click(object sender, EventArgs e)
- {
- panelColor.BackColor = ((Button)sender).BackColor;
- }
- private void LimparCliente()
- {
- Funcoes.ClearControl(groupBoxCliente.Controls);
- }
- private void ConsultaCliente()
- {
- sIntegra.IntegraConsulta form = new sIntegra.IntegraConsulta();
- form.objConsulta = new IntegraClieFornec();
- form.Padrao = false;
- form.Where = " where cliefornec_pfisico='t' ";
- form.ShowDialog();
- if (form.objConsulta.Codigo != null)
- {
- CarregarCliente(form.objConsulta.Codigo);
- }
- }
- private void icampoCliente_Leave(object sender, EventArgs e)
- {
- if (icampoCliente.Text.Length != 0)
- CarregarCliente(icampoCliente.Text);
- else LimparCliente();
- }
- private void buttonInfoCliente_Click(object sender, EventArgs e)
- {
- toolTip1.Show(IntegraClieFornec.InfoClieFornec(icampoCliente.Text), icampoCliente, 0, icampoCliente.Height, 3000);
- }
- private void buttonConsultaCliente_Click(object sender, EventArgs e)
- {
- ConsultaCliente();
- }
- private void icampoCliente_KeyDown(object sender, KeyEventArgs e)
- {
- if (e.KeyData == Keys.F2 && buttonConsultaCliente.Enabled)
- {
- ConsultaCliente();
- }
- }
- private void buttonEditarCliente_Click(object sender, EventArgs e)
- {
- forms.CadClieFornec form = new forms.CadClieFornec();
- form.StartPosition = FormStartPosition.CenterParent;
- form.Usuario = this.Usuario;
- form.Empresa = this.Empresa;
- form.iObjeto = new IntegraClieFornec();
- form.Editar = true;
- if (icampoCliente.Text.Length != 0)
- form.iObjeto.Codigo = icampoCliente.Text;
- form.ShowDialog();
- if (form.Retorno != null)
- CarregarCliente(form.Retorno);
- }
- private void buttonTool_Click(object sender, EventArgs e)
- {
- tool = int.Parse(((Button)sender).Tag.ToString());
- foreach (Control c in panelTools.Controls)
- {
- if (c is Button)
- {
- if (c.Name.Contains("buttonTool"))
- {
- c.BackColor = SystemColors.Control;
- }
- }
- }
- ((Button)sender).BackColor = SystemColors.ButtonShadow;
- ChangeTool();
- }
- private void ChangeTool()
- {
- if (tool == 0)
- panelOptionsTool.Visible = false;
- else
- panelOptionsTool.Visible = true;
- }
- private void FormEditarImagens_Load(object sender, EventArgs e)
- {
- pictureBoxView.Size = new Size(0, 0);
- if (!String.IsNullOrEmpty(Cliente))
- {
- CarregarCliente(Cliente);
- buttonConsultaCliente.Enabled = icampoCliente.Enabled = false;
- }
- }
- private void pictureBoxView_MouseUp(object sender, MouseEventArgs e)
- {
- }
- private void FormEditarImagens_KeyDown(object sender, KeyEventArgs e)
- {
- if (e.Control)
- if (e.KeyData == Keys.Z || e.KeyValue == 90)
- Undo();
- }
- private void buttonSalvar_Click(object sender, EventArgs e)
- {
- try
- {
- UpdateImage();
- IntegraImagens obj = new IntegraImagens();
- if (!String.IsNullOrEmpty(labelCodigoImagem.Text))
- {
- obj.Select(labelCodigoImagem.Text);
- obj.BImagem = Funcoes.ImageToByte(pictureBoxView.Image);
- obj.Nome = textBoxNome.Text;
- obj.Update();
- }
- CarregarCliente(icampoCliente.Text);
- }
- catch (Exception ex)
- {
- MessageBox.Show(ex.Message);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement