Example #1
0
    public override void OnAwake()
    {
        CreateBackground();

        _physicsContainer = PhysicsContainer.NewEmpty(Vector2.up * -30f);
        AddChild(_physicsContainer);

        var field = CinchSprite.NewFromImage("Cinch2D/Field", 512);
        field.Width = ViewportWidth;
        field.Height = 1f;

        //create a physics body for the field, same size as the CinchSprite
        var fieldBody = BodyFactory.CreateRectangle(_physicsContainer.World, field.Width, field.Height, 1);

        //as soon as we set the fieldBody as field's PhysicsBody, field will take its position and rotation from fieldBody after every frame
        field.PhysicsBody = fieldBody;
        //align it with the bottom of the screen
        //setting physics body position will update sprite's position on next frame
        fieldBody.Position = new Vector2(0, 0 - ViewportHeight/2 + field.Height/2f);
        //set the field as static so it uses less CPU
        fieldBody.IsStatic = true;
        //make it a wee bit bouncy
        fieldBody.Restitution = .5f;
        _physicsContainer.AddChild(field);

        //create a soccer ball to roll around
        var ball = CinchSprite.NewFromImage("Cinch2D/SoccerBall", 256);
        _ballBody = BodyFactory.CreateCircle(_physicsContainer.World, .5f, 1f);
        ball.PhysicsBody = _ballBody;
        _ballBody.BodyType = BodyType.Dynamic;
        //drop it on the right side of the screen
        _ballBody.Position = new Vector2(ViewportWidth/2 - 1, 0);

        //we add all physics objects to the same parent.
        //Adding a physics object as a child of another physics object (like a wheel as a child of a car), will produce super-bad results.
        //you can still add non-physics objects to different containers, like a mud splat as a child of the ball
        _physicsContainer.AddChild(ball);

        var player1 = CreatePlayer();
        var player2 = CreatePlayer();
        _physicsContainer.AddChild(player1);
        _physicsContainer.AddChild(player2);

        player1.Y = player2.Y = 0 - ViewportHeight/2 + field.Height + player1.Height/2;
        player1.X = 0 - ViewportWidth/2 + 1;
        player2.X = ViewportWidth/2 - 1;
        player1.PhysicsBody.OnCollision += BallHitPlayer1;
        player2.PhysicsBody.OnCollision += BallHitPlayer2;

        _debugDrawButton = Library.New<TextButton>("DebugDrawToggle");
        _debugDrawButton.Text = "Debug: Off";
        AddChild(_debugDrawButton);
        _debugDrawButton.Y = 0 + ViewportHeight / 2 - _debugDrawButton.Height;
        //toggle debug draw when pressed
        _debugDrawButton.AddEventListener<MouseEvent>(MouseEvent.MOUSE_UP, ToggleDebugDraw);
    }
Example #2
0
        public DebugMenu(Controller ctrl)
            : base(ctrl)
        {
            Controller.IsMouseVisible = true;

            TextWidget title = new TextWidget(this, "font", "Sputnik's Great Adventure");
            title.PositionPercent = new Vector2(0.5f, 0.3f);
            AddChild(title);

            float ypos = 50.0f;

            TextButton button = new TextButton(this, "Main Menu");
            button.PositionPercent = title.PositionPercent;
            button.Position = new Vector2(0.0f, ypos);
            button.CreateButton(new Rectangle(-50, -16, 100, 32));
            button.OnActivate += () => {
                Controller.ChangeEnvironment(new MainMenu(Controller));
            };
            AddChild(button);

            ypos += 50.0f;
            button = new TextButton(this, "Start Gym");
            button.PositionPercent = title.PositionPercent;
            button.Position = new Vector2(0.0f, ypos);
            button.CreateButton(new Rectangle(-50, -16, 100, 32));
            button.OnActivate += () => {
                Controller.ChangeEnvironment(new GymEnvironment(Controller));
            };
            AddChild(button);

            ypos += 50.0f;
            button = new TextButton(this, "Start Level 1");
            button.PositionPercent = title.PositionPercent;
            button.Position = new Vector2(0.0f, ypos);
            button.CreateButton(new Rectangle(-50, -16, 100, 32));
            button.OnActivate += () => {
                Controller.ChangeEnvironment(new Level1Environment(Controller));
            };
            AddChild(button);
            ypos += 50.0f;
            button = new TextButton(this, "Quit");
            button.PositionPercent = title.PositionPercent;
            button.Position = new Vector2(0.0f, ypos);
            button.CreateButton(new Rectangle(-50, -16, 100, 32));
            button.OnActivate += () => {
                Controller.Exit();
            };
            AddChild(button);
        }
        /// <summary>
        /// Creates the Screen
        /// </summary>
        public YahooTrailersScreen()
        {
            SnapStream.Logging.WriteLog("YahooTrailers Plugin Started");

            System.Reflection.Assembly a = System.Reflection.Assembly.GetExecutingAssembly();
            System.IO.FileInfo fi = new System.IO.FileInfo( a.Location );

            homedir = fi.DirectoryName;

            // Text Objects
            _header = new TextWindow();
            Add( _header );

            // Text Button for the library
            _library = new TextButton();
            _library.Click +=new EventHandler(_library_Click);
            Add( _library );

            // Text Button for the view
            _view = new TextButton();
            _view.Click +=new EventHandler(_view_Click);
            Add( _view );

            // Create the list viewer
            _trailerlist = new VariableItemList();
            Add( _trailerlist );
            _trailerlist.ItemActivated += new ItemActivatedEventHandler(List_ItemActivated);
            _trailerlist.Visible = true;
            _trailerlist.Focus();

            // Logo
            _yahoologo = new Window();
            Add( _yahoologo );

            // Downloading logo
            _downloading = new Window();
            Add( _downloading );

            // Get the trailers
            GetTrailers();

            // Create the timer
            updateTimer = new System.Windows.Forms.Timer();
            updateTimer.Interval = 250;
            updateTimer.Tick += new EventHandler(updateTimer_Tick);
            updateTimer.Start();

            return;
        }
Example #4
0
    // Draw up button if > 5 monsters, disabled if at top
    public void DrawUp()
    {
        Game game = Game.Get();

        // Check if scroll required
        if (game.quest.monsters.Count < 6 && offset == 0)
        {
            return;
        }
        // If at top
        if (offset == 0)
        {
            TextButton up = new TextButton(new Vector2(UIScaler.GetRight(-4.25f), 1), new Vector2(4, 2), UP_ARROW, delegate { noAction(); }, Color.gray);
            up.ApplyTag("monsters");
        }
        else
        { // Scroll up active
            TextButton up = new TextButton(new Vector2(UIScaler.GetRight(-4.25f), 1), new Vector2(4, 2), UP_ARROW, delegate { Move(-1); });
            up.ApplyTag("monsters");
        }
    }
Example #5
0
    public InventoryButton()
    {
        Game       game = Game.Get();
        TextButton qb;

        // For the editor button is moved to the right
        if (game.editMode)
        {
            return;
        }

        if (game.gameType is MoMGameType)
        {
            return;
        }

        qb = new TextButton(new Vector2(15.5f, UIScaler.GetBottom(-2.5f)), new Vector2(5, 2), ITEMS, delegate { Items(); });
        qb.SetFont(game.gameType.GetHeaderFont());
        // Untag as dialog so this isn't cleared away
        qb.ApplyTag(Game.QUESTUI);
    }
Example #6
0
        /// <inheritdoc />
        public LeaderBoardScreen(Game game, SpriteBatch spriteBatch)
            : base(game)
        {
            _spriteBatch = spriteBatch;
            var serviceScope = ((LivGame)Game).ServiceProvider;

            _uiContentStorage = serviceScope.GetRequiredService <IUiContentStorage>();

            _goToMainMenu = new TextButton(
                title: UiResources.MainMenuButtonTitle,
                texture: _uiContentStorage.GetButtonTexture(),
                font: _uiContentStorage.GetButtonFont(),
                rect: new Rectangle(
                    x: GO_TO_MAIN_MENU_BUTTON_POSITION_X,
                    y: GO_TO_MAIN_MENU_BUTTON_POSITION_Y,
                    width: BUTTON_WIDTH,
                    height: BUTTON_HEIGHT));
            _goToMainMenu.OnClick += GoToMainMenuButtonClickHandler;

            //TODO: prepare leader's board table
        }
Example #7
0
    // Draw down button if > 5 monsters, disabled if at bottom
    public void DrawDown()
    {
        Game game = Game.Get();

        // Check if scroll required
        if (game.quest.monsters.Count < 6)
        {
            return;
        }
        // If at buttom
        if (game.quest.monsters.Count - offset < 6)
        {
            TextButton down = new TextButton(new Vector2(UIScaler.GetRight(-4.25f), 27), new Vector2(4, 2), DOWN_ARROW, delegate { noAction(); }, Color.gray);
            down.ApplyTag(Game.MONSTERS);
        }
        else
        { // Scroll down active
            TextButton down = new TextButton(new Vector2(UIScaler.GetRight(-4.25f), 27), new Vector2(4, 2), DOWN_ARROW, delegate { Move(); });
            down.ApplyTag(Game.MONSTERS);
        }
    }
Example #8
0
        protected override void PostInitialise()
        {
            disableButton = GetElementFromTag <TextButton>("DisableButton");
            targetButton  = GetElementFromTag <TextButton>("TargetButton");

            disableButton.ConnectLeftClick(() =>
            {
                targetButton.Enabled = !targetButton.Enabled;

                if (targetButton.Enabled)
                {
                    targetButton.Text  = "Enabled";
                    disableButton.Text = "Disable Button";
                }
                else
                {
                    targetButton.Text  = "Disabled";
                    disableButton.Text = "Enable Button";
                }
            });
        }
Example #9
0
        protected void ShowWizardFinished(Action doneClicked = null)
        {
            var doneButton = new TextButton("Done".Localize(), theme)
            {
                Name            = "Done Button",
                BackgroundColor = theme.MinimalShade
            };

            doneButton.Click += (s, e) =>
            {
                doneClicked?.Invoke();
                this.FinishWizard();
            };

            this.AcceptButton = doneButton;

            this.AddPageAction(doneButton);

            NextButton.Visible = false;
            this.HideCancelButton();
        }
        /// <summary>
        /// When the user clicks export, display an output filename dialog box and save
        /// when the appropriate button is pressed
        /// </summary>
        /// <param name="skin">UI Skin.</param>
        void ExportPexClicked(Skin skin)
        {
            var canvas = Entity.Scene.CreateEntity("save-dialog").AddComponent(new UICanvas());
            var dialog = canvas.Stage.AddElement(new Dialog("Output Filename", skin));

            var contentTable = dialog.GetContentTable();

            contentTable.Add("Filename: ").Left();
            contentTable.Row();
            var outField = new TextField("output.pex", skin);

            contentTable.Add(outField).Center();

            var buttonTable  = dialog.GetButtonTable();
            var cancelButton = new TextButton("Cancel", skin);
            var okButton     = new TextButton("OK", skin);

            cancelButton.OnClicked += butt => { Entity.Scene.FindEntity("save-dialog").Destroy(); };

            okButton.OnClicked += butt =>
            {
                var outFilename = outField.GetText();
                if (outFilename.Length > 0)
                {
                    var exporter = new PexExporter();
                    exporter.Export(_particleEmitterConfig, outFilename);
                }

                Entity.Scene.FindEntity("save-dialog").Destroy();
            };

            dialog.AddButton(okButton);
            dialog.AddButton(cancelButton);

            dialog.SetMovable(true);
            dialog.SetResizable(true);
            dialog.SetPosition((Screen.Width - dialog.GetWidth()) / 2f, (Screen.Height - dialog.GetHeight()) / 2f);

            var uiCanvas = Entity.Scene.CreateEntity("particles-ui").AddComponent(new UICanvas());
        }
Example #11
0
    public static void Create()
    {
        Game game = Game.Get();

        if (GameObject.FindGameObjectWithTag("dialog") != null)
        {
            return;
        }

        // Menu border
        DialogBox db = new DialogBox(new Vector2((UIScaler.GetWidthUnits() - 12) / 2, 9), new Vector2(12, 13), StringKey.NULL);

        db.AddBorder();
        db.SetFont(game.gameType.GetHeaderFont());

        TextButton tb = new TextButton(
            new Vector2((UIScaler.GetWidthUnits() - 10) / 2, 10), new Vector2(10, 2f),
            SAVE, delegate { QuestEditor.Save(); }, Color.white);

        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0.03f, 0.0f, 0f);
        tb.SetFont(game.gameType.GetHeaderFont());

        tb = new TextButton(
            new Vector2((UIScaler.GetWidthUnits() - 10) / 2, 13), new Vector2(10, 2f),
            RELOAD, delegate { QuestEditor.Reload(); }, Color.white);
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0.03f, 0.0f, 0f);
        tb.SetFont(game.gameType.GetHeaderFont());

        tb = new TextButton(
            new Vector2((UIScaler.GetWidthUnits() - 10) / 2, 16), new Vector2(10, 2f),
            MAIN_MENU, delegate { Destroyer.MainMenu(); }, Color.white);
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0.03f, 0.0f, 0f);
        tb.SetFont(game.gameType.GetHeaderFont());

        tb = new TextButton(
            new Vector2((UIScaler.GetWidthUnits() - 10) / 2, 19), new Vector2(10, 2f),
            CommonStringKeys.CANCEL, delegate { Destroyer.Dialog(); }, Color.white);
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0.03f, 0.0f, 0f);
        tb.SetFont(game.gameType.GetHeaderFont());
    }
Example #12
0
        public ConfigureTouchActivity(UIEngine engine) : base(engine)
        {
            Image backgroundImage = new Image(_engine.Content.LoadTexture("Textures/menu_background"));

            backgroundImage.Size     = new Vector2(engine.Screen.ScreenWidth, engine.Screen.ScreenHeight);
            backgroundImage.Position = Vector2.Zero;
            Components.Add(backgroundImage);

            Label infoLabel = new Label("Touch the halves of the screen to", engine.Content.LoadFont("Fonts/Ubuntu" + LoopGame.MENU_BUTTON_FONT_SIZE), LoopGame.MENU_FONT_COLOR);

            infoLabel.Position = engine.Screen.ScreenMiddle - infoLabel.Size / 2 - new Vector2(0, engine.Screen.ScreenMiddle.Y / 2);

            _rightTurnLabel          = new Label("Right turn", engine.Content.LoadFont("Fonts/Ubuntu" + LoopGame.MENU_BUTTON_FONT_SIZE), LoopGame.MENU_FONT_COLOR);
            _rightTurnLabel.Position = engine.Screen.ScreenMiddle - _rightTurnLabel.Size / 2 + new Vector2(engine.Screen.ScreenMiddle.X / 2, 0);

            _leftTurnLabel          = new Label("Left turn", engine.Content.LoadFont("Fonts/Ubuntu" + LoopGame.MENU_BUTTON_FONT_SIZE), LoopGame.MENU_FONT_COLOR);
            _leftTurnLabel.Position = engine.Screen.ScreenMiddle - _leftTurnLabel.Size / 2 - new Vector2(engine.Screen.ScreenMiddle.X / 2, 0);


            TextButton next = new TextButton("Next", engine.Content.LoadFont(LoopGame.MENU_BUTTON_FONT + LoopGame.MENU_BUTTON_FONT_SIZE), engine.Device);

            next.Clicked += (object sender, TextButton.ClickedEventArgs e) => {
                StartActivity(new MainMenuActivity(engine));
            };
            next.Position = engine.Screen.ScreenMiddle - next.Size / 2 + new Vector2(0, engine.Screen.ScreenMiddle.Y / 2);

            TextButton switchButton = new TextButton(/*"< switch >"*/ "switch", engine.Content.LoadFont(LoopGame.MENU_BUTTON_FONT + LoopGame.MENU_BUTTON_FONT_SIZE), engine.Device);

            switchButton.Clicked += (object sender, TextButton.ClickedEventArgs e) => {
                Reversed = !Reversed;
                UpdateLabelsPosition(engine);
            };
            switchButton.Position = engine.Screen.ScreenMiddle - switchButton.Size / 2 + new Vector2(0, 0);

            Components.Add(next);
            Components.Add(switchButton);
            Components.Add(_rightTurnLabel);
            Components.Add(_leftTurnLabel);
            Components.Add(infoLabel);
        }
Example #13
0
    // This is called when a quest is selected
    public void StartQuest(QuestData.Quest q)
    {
        // Fetch all of the quest data and initialise the quest
        quest = new Quest(q);

        // Draw the hero icons, which are buttons for selection
        heroCanvas.SetupUI();

        // Add a finished button to start the quest
        TextButton endSelection = new TextButton(
            new Vector2(UIScaler.GetRight(-9),
                        UIScaler.GetBottom(-3)),
            new Vector2(8, 2),
            CommonStringKeys.FINISHED,
            delegate { EndSelection(); },
            Color.green);

        endSelection.SetFont(gameType.GetHeaderFont());
        // Untag as dialog so this isn't cleared away during hero selection
        endSelection.ApplyTag("heroselect");

        // Add a title to the page
        DialogBox db = new DialogBox(
            new Vector2(8, 1),
            new Vector2(UIScaler.GetWidthUnits() - 16, 3),
            new StringKey("val", "SELECT", gameType.HeroesName())
            );

        db.textObj.GetComponent <UnityEngine.UI.Text>().fontSize = UIScaler.GetLargeFont();
        db.SetFont(gameType.GetHeaderFont());
        db.ApplyTag("heroselect");

        heroCanvas.heroSelection = new HeroSelection();

        TextButton cancelSelection = new TextButton(new Vector2(1, UIScaler.GetBottom(-3)), new Vector2(8, 2), CommonStringKeys.BACK, delegate { Destroyer.QuestSelect(); }, Color.red);

        cancelSelection.SetFont(gameType.GetHeaderFont());
        // Untag as dialog so this isn't cleared away during hero selection
        cancelSelection.ApplyTag("heroselect");
    }
Example #14
0
        public TextButton AddTab(string Text, Control Content)
        {
            TextButton btn = new TextButton();

            btn.Location    = new Point(0, 20 * (ButtonsNumber++));
            btn.Text        = Text;
            btn.ForeColor   = Color.White;
            btn.OnSelected += (s, e) =>
            {
                TextButton ts = (s as TextButton);
                if (!ts.Selected)
                {
                    return;
                }
                foreach (var i in ButtonsPanel.Controls)
                {
                    if (i is TextButton && i != ts)
                    {
                        (i as TextButton).Selected = false;
                    }
                }
                if (Content == null)
                {
                    return;
                }
                ContentPanel.Controls.Clear();
                ContentPanel.Controls.Add(Content);
            };
            btn.Click += (s, e) =>
            {
                TextButton ts = (s as TextButton);
                if (ts.Selected)
                {
                    return;
                }
                ts.Selected = true;
            };
            ButtonsPanel.Controls.Add(btn);
            return(btn);
        }
Example #15
0
        private async Task BuildLayout(BandTile myTile)
        {
            FilledPanel panel = new FilledPanel()
            {
                Rect = new PageRect(0, 0, 220, 150)
            };

            PageElement buttonElement = null;

            switch (buttonKind)
            {
            case ButtonKind.Text:
                buttonElement = new TextButton();
                break;

            case ButtonKind.Filled:
                buttonElement = new FilledButton()
                {
                    BackgroundColor = new BandColor(0, 128, 0)
                };
                break;

            case ButtonKind.Icon:
                buttonElement = new IconButton();
                myTile.AdditionalIcons.Add(await LoadIcon("ms-appx:///Assets/Smile.png"));
                myTile.AdditionalIcons.Add(await LoadIcon("ms-appx:///Assets/SmileUpsideDown.png"));
                break;

            default:
                throw new NotImplementedException();
            }

            buttonElement.ElementId = 1;
            buttonElement.Rect      = new PageRect(10, 10, 200, 90);

            panel.Elements.Add(buttonElement);

            myTile.PageLayouts.Add(new PageLayout(panel));
        }
Example #16
0
        public override void Initialize()
        {
            BruhUi();
            KlientHanterare = new KlientHanterare();
            Core.RegisterGlobalManager(KlientHanterare);
            Table.Add(new Label("ip pls").SetFontScale(5));

            Table.Row().SetPadTop(20);

            TextFieldStyle textFields = TextFieldStyle.Create(Color.White, Color.White, Color.Black, Color.DarkGray);

            textField = new TextField("", textFields);

            Table.Add(textField);

            Table.Row().SetPadTop(20);

            TextButton KörPå = Table.Add(new TextButton("Klicka", Skin.CreateDefaultSkin())).SetFillX().SetMinHeight(30).GetElement <TextButton>();


            KörPå.OnClicked += TextFält;
        }
    void SpawnButton(Conditional conditional)
    {
        TextButton b = Instantiate <TextButton>(buttonPrefab, content.contentTransform);

        conditionButtons.AddToList(b);

        if (conditional is MatchingTagConditional)
        {
            b.ChangeText("Matching");
            b.button.onClick.AddListener(delegate { tagEditPanel.InitPanel(conditional); });
        }
        else if (conditional is RandomRollConditional)
        {
            b.ChangeText("Random");
            b.button.onClick.AddListener(delegate { randomEditPanel.Init(conditional); });
        }
        else if (conditional is StatThresholdConditional)
        {
            b.ChangeText("StatThreshold");
            b.button.onClick.AddListener(delegate { statEditPanel.InitPanel(conditional); });
        }
    }
        public GlobeSelectionScreen(Game game, SpriteBatch spriteBatch) : base(game)
        {
            _spriteBatch = spriteBatch;

            var serviceProvider = ((LivGame)game).ServiceProvider;

            _uiContentStorage = serviceProvider.GetRequiredService <IUiContentStorage>();
            _globeInitializer = serviceProvider.GetRequiredService <IGlobeInitializer>();
            _globeLoop        = serviceProvider.GetRequiredService <IGlobeLoopUpdater>();
            _commandLoop      = serviceProvider.GetRequiredService <ICommandLoopUpdater>();

            _playerState    = serviceProvider.GetRequiredService <ISectorUiState>();
            _inventoryState = serviceProvider.GetRequiredService <IInventoryState>();

            var buttonTexture = _uiContentStorage.GetButtonTexture();
            var font          = _uiContentStorage.GetButtonFont();

            _generateButton = new TextButton(UiResources.GenerateGlobeButtonTitle, buttonTexture, font,
                                             new Rectangle(150, 150, BUTTON_WIDTH, BUTTON_HEIGHT));

            _generateButton.OnClick += GenerateButtonClickHandlerAsync;
        }
Example #19
0
    public LogButton()
    {
        Game       game = Game.Get();
        TextButton qb;

        // For the editor button is moved to the right
        if (game.editMode)
        {
            return;
        }

        if (game.gameType is MoMGameType)
        {
            return;
        }


        qb = new TextButton(new Vector2(5.5f, UIScaler.GetBottom(-2.5f)), new Vector2(5, 2), LOG, delegate { Log(); });
        qb.SetFont(game.gameType.GetHeaderFont());
        // Untag as dialog so this isn't cleared away
        qb.ApplyTag("questui");
    }
Example #20
0
    // Construct and display
    public NextStageButton()
    {
        Game game = Game.Get();

        if (game.gameType.DisplayHeroes())
        {
            return;
        }
        TextButton tb = new TextButton(new Vector2(UIScaler.GetHCenter(10f), UIScaler.GetBottom(-2.5f)), new Vector2(4, 2), "->", delegate { Next(); });

        // Untag as dialog so this isn't cleared away
        tb.ApplyTag("questui");
        tb = new TextButton(new Vector2(UIScaler.GetHCenter(-14f), UIScaler.GetBottom(-2.5f)), new Vector2(4, 2), "Log", delegate { Log(); });
        tb.SetFont(game.gameType.GetHeaderFont());
        // Untag as dialog so this isn't cleared away
        tb.ApplyTag("questui");
        tb = new TextButton(new Vector2(UIScaler.GetHCenter(-10f), UIScaler.GetBottom(-2.5f)), new Vector2(4, 2), "Set", delegate { Set(); });
        tb.SetFont(game.gameType.GetHeaderFont());
        // Untag as dialog so this isn't cleared away
        tb.ApplyTag("questui");
        Update();
    }
Example #21
0
        private void AddFunctionButtons(IObject3D item, FlowLayoutWidget mainContainer, ThemeConfig theme)
        {
            if (item is IEditorButtonProvider editorButtonProvider)
            {
                foreach (var editorButtonData in editorButtonProvider.GetEditorButtonsData())
                {
                    var editorButton = new TextButton(editorButtonData.Name, theme)
                    {
                        Margin      = 5,
                        ToolTipText = editorButtonData.HelpText,
                    };
                    var row = new SettingsRow("".Localize(), null, editorButton, theme);
                    editorButtonData.SetStates(editorButton, row);
                    editorButton.Click += (s, e) =>
                    {
                        editorButtonData.Action?.Invoke();
                    };

                    mainContainer.AddChild(row);
                }
            }
        }
    /// <summary>
    /// Adds the selection.
    /// </summary>
    /// <returns>
    /// The selection.
    /// </returns>
    /// <param name='title'>
    /// Title.
    /// </param>
    /// <param name='target'>
    /// Target.
    /// </param>
    public override GameObject AddSelection(string title, string target)
    {
        TextButton sel = textButtons[m_CurrSelectIndex];

        sel.onClick += OnClickSelectCallback;
        sel.OnInitialize(title);
        sel.selectText.text = title;

        m_CurrSelectIndex++;
        if (m_CurrSelectIndex > base._SELECTION_CACHE_NUM)
        {
            ViNoDebugger.LogError("selection index range error.");
        }

//		Debug.Log( "AddSel:" + sel.name );
        m_SelectionDict.Add(sel.name, new SelectionUnit(title, target));

        // Now , Show Selection.
        sel.gameObject.SetActive(true);

        return(sel.gameObject);
    }
Example #23
0
        public GamePage()
        {
            _logger = GameServiceLocator.Instance.Get <Logger>();
            DeclarePannable(this);

            _blockSize = ORoot.ScreenUnit * AppSettings.BlockSizeU;

            var _background = new Background();

            AddChild(_background);

            _scene = new Scene();
            AddChild(_scene);

            _mapDisplayer = new MapDisplayer();
            _scene.AddChild(_mapDisplayer);

            _objectsDisplayer = new ObjectsDisplayer();
            _scene.AddChild(_objectsDisplayer);

            var upButton   = new TextButton(Width / 2 - 100, 0.9f * Height, 50, "Reset");
            var downButton = new TextButton(Width * 0.8f, 0.5f * Height, 100, "J");


            upButton.Up += () =>
            {
                _character.RealX = CharacterSpawnX;
                _character.RealY = CharacterSpawnY;
                _character.V     = new Vector();
            };

            downButton.Down += () =>
            {
                _character.TryJump();
            };

            AddChild(downButton);
            AddChild(upButton);
        }
Example #24
0
        public override void Initialize()
        {
            BruhUi();

            Table.Add(new Label("Main Menu").SetFontScale(5));

            Table.Row().SetPadTop(20);

            Table.Add(new Label("Host Eller Klient?").SetFontScale(2));

            Table.Row().SetPadTop(40);

            TextButton KnappFörVärd = Table.Add(new TextButton("Host", Skin.CreateDefaultSkin())).SetFillX().SetMinHeight(30).GetElement <TextButton>();

            KnappFörVärd.OnClicked += VärdKnapp;

            Table.Row().SetPadTop(40);

            TextButton KnappFörKlient = Table.Add(new TextButton("Klient", Skin.CreateDefaultSkin())).SetFillX().SetMinHeight(30).GetElement <TextButton>();

            KnappFörKlient.OnClicked += KlientKnapp;
        }
Example #25
0
        /// <summary>
        /// Method to create UI elements in the screen
        /// </summary>
        /// <param name="game">current game</param>
        private void CreateElements()
        {
            // Options screen text
            DialogBox dbTittle = new DialogBox(
                new Vector2(0, 1),
                new Vector2(UIScaler.GetWidthUnits() - 4, 3),
                OPTIONS
                );

            dbTittle.textObj.GetComponent <UnityEngine.UI.Text>().fontSize = UIScaler.GetLargeFont();
            dbTittle.SetFont(game.gameType.GetHeaderFont());

            CreateLanguageElements();

            CreateAudioElements();

            // Button for back to main menu
            TextButton tb = new TextButton(new Vector2(1, UIScaler.GetBottom(-3)), new Vector2(8, 2),
                                           CommonStringKeys.BACK, delegate { Destroyer.MainMenu(); }, Color.red);

            tb.SetFont(game.gameType.GetHeaderFont());
        }
Example #26
0
 private void S_Clicked(object sender, TextButton.ClickedEventArgs e)
 {
     if (_jumpingButton == null)
     {
         _jumpingButton      = (TextButton)sender;
         _jumpLabel.Position = new Vector2(_jumpLabel.Position.X, _jumpingButton.Position.Y + (_jumpingButton.Size.Y - _jumpLabel.Size.Y) / 2);
     }
     else if (_jumpingButton == sender)
     {
         _jumpingButton = null;
     }
     else if (_shootingButton == null)
     {
         _shootingButton      = (TextButton)sender;
         _shootLabel.Position = new Vector2(_shootLabel.Position.X, _shootingButton.Position.Y + (_shootingButton.Size.Y - _shootLabel.Size.Y) / 2);
     }
     else if (_shootingButton == sender)
     {
         _shootingButton = null;
     }
     UpdateButtons();
 }
Example #27
0
        public TextButton CreateDialogButton(string text, Color backgroundColor, Color hoverColor)
        {
#if !__ANDROID__
            return(new TextButton(text, this)
            {
                BackgroundColor = backgroundColor,
                HoverColor = hoverColor,
                MinimumSize = new Vector2(75, 0)
            });
#else
            var button = new TextButton(text, this, this.FontSize14)
            {
                BackgroundColor = backgroundColor,
                HoverColor      = hoverColor,
                // Enlarge button height and margin on Android
                Height = 34 * GuiWidget.DeviceScale,
            };
            button.Padding = button.Padding * 1.2;

            return(button);
#endif
        }
Example #28
0
    // Create a menu which will take up the whole screen and have options.  All items are dialog for destruction.
    public MainMenu()
    {
        // This will destroy all, because we shouldn't have anything left at the main menu
        Destroyer.Destroy();
        Game game = Game.Get();

        // Name.  We should replace this with a banner
        DialogBox db = new DialogBox(new Vector2(2, 1), new Vector2(UIScaler.GetWidthUnits() - 4, 3), "Valkyrie");

        db.textObj.GetComponent <UnityEngine.UI.Text>().fontSize = UIScaler.GetLargeFont();

        TextButton tb = new TextButton(new Vector2((UIScaler.GetWidthUnits() - 12) / 2, 8), new Vector2(12, 2f), "Start " + game.gameType.QuestName(), delegate { Start(); });

        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0, 0.03f, 0f);

        if (SaveManager.SaveExists())
        {
            tb = new TextButton(new Vector2((UIScaler.GetWidthUnits() - 12) / 2, 11), new Vector2(12, 2f), "Load " + game.gameType.QuestName(), delegate { SaveManager.Load(); });
            tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0, 0.03f, 0f);
        }
        else
        {
            db = new DialogBox(new Vector2((UIScaler.GetWidthUnits() - 12) / 2, 11), new Vector2(12, 2f), "Load " + game.gameType.QuestName(), Color.red);
            db.textObj.GetComponent <UnityEngine.UI.Text>().fontSize = UIScaler.GetMediumFont();
            db.AddBorder();
        }

        tb = new TextButton(new Vector2((UIScaler.GetWidthUnits() - 12) / 2, 14), new Vector2(12, 2f), "Select Content", delegate { Content(); });
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0, 0.03f, 0f);

        tb = new TextButton(new Vector2((UIScaler.GetWidthUnits() - 12) / 2, 17), new Vector2(12, 2f), game.gameType.QuestName() + " Editor", delegate { Editor(); });
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0, 0.03f, 0f);

        tb = new TextButton(new Vector2((UIScaler.GetWidthUnits() - 12) / 2, 20), new Vector2(12, 2f), "About", delegate { About(); });
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0, 0.03f, 0f);

        tb = new TextButton(new Vector2((UIScaler.GetWidthUnits() - 12) / 2, 23), new Vector2(12, 2f), "Exit", delegate { Exit(); });
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0, 0.03f, 0f);
    }
        public override void initialize(Table table, Skin skin, float leftCellWidth)
        {
            var button = new TextButton(_name, skin);

            button.onClicked += onButtonClicked;

            // we could have zero or 1 param
            var parameters = (_memberInfo as MethodInfo).GetParameters();

            if (parameters.Length == 0)
            {
                table.add(button);
                return;
            }

            var parameter = parameters[0];

            _parameterType = parameter.ParameterType;

            _textField = new TextField(_parameterType.GetTypeInfo().IsValueType ? Activator.CreateInstance(_parameterType).ToString() : "", skin);
            _textField.shouldIgnoreTextUpdatesWhileFocused = false;

            // add a filter for float/int
            if (_parameterType == typeof(float))
            {
                _textField.setTextFieldFilter(new FloatFilter());
            }
            if (_parameterType == typeof(int))
            {
                _textField.setTextFieldFilter(new DigitsOnlyFilter());
            }
            if (_parameterType == typeof(bool))
            {
                _textField.setTextFieldFilter(new BoolFilter());
            }

            table.add(button);
            table.add(_textField).setMaxWidth(70);
        }
Example #30
0
    public static void Create()
    {
        Game game = Game.Get();

        if (GameObject.FindGameObjectWithTag(Game.DIALOG) != null)
        {
            return;
        }

        // Menu border
        DialogBox db = new DialogBox(new Vector2((UIScaler.GetWidthUnits() - 20) / 2, 9), new Vector2(20, 13), StringKey.NULL);

        db.AddBorder();

        TextButton tb = new TextButton(
            new Vector2((UIScaler.GetWidthUnits() - 18) / 2, 10), new Vector2(18, 2f),
            VALIDATE_SCENARIO, delegate { Validate_Scenario(); }, Color.grey);

        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0.03f, 0.0f, 0f);
        tb.SetFont(game.gameType.GetHeaderFont());

        tb = new TextButton(
            new Vector2((UIScaler.GetWidthUnits() - 18) / 2, 13), new Vector2(18, 2f),
            OPTIMIZE_LOCALIZATION, delegate { Optimize_Localization(); }, Color.grey);
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0.03f, 0.0f, 0f);
        tb.SetFont(game.gameType.GetHeaderFont());

        tb = new TextButton(
            new Vector2((UIScaler.GetWidthUnits() - 18) / 2, 16), new Vector2(18, 2f),
            REORDER_COMPONENTS, delegate { new ReorderComponents(); });
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0.03f, 0.0f, 0f);
        tb.SetFont(game.gameType.GetHeaderFont());

        tb = new TextButton(
            new Vector2((UIScaler.GetWidthUnits() - 10) / 2, 19), new Vector2(10, 2f),
            CommonStringKeys.CANCEL, delegate { Destroyer.Dialog(); });
        tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0.03f, 0.0f, 0f);
        tb.SetFont(game.gameType.GetHeaderFont());
    }
Example #31
0
        // Create the about dialog
        public void About()
        {
            // This will destroy all, because we shouldn't have anything left at the main menu
            Destroyer.Destroy();

            Sprite    bannerSprite;
            Texture2D newTex = Resources.Load("sprites/banner") as Texture2D;

            GameObject banner = new GameObject("banner");

            banner.tag = "dialog";

            banner.transform.parent = Game.Get().uICanvas.transform;

            RectTransform trans = banner.AddComponent <RectTransform>();

            trans.SetInsetAndSizeFromParentEdge(RectTransform.Edge.Top, 1 * UIScaler.GetPixelsPerUnit(), 7f * UIScaler.GetPixelsPerUnit());
            trans.SetInsetAndSizeFromParentEdge(RectTransform.Edge.Left, (UIScaler.GetWidthUnits() - 18f) * UIScaler.GetPixelsPerUnit() / 2f, 18f * UIScaler.GetPixelsPerUnit());
            banner.AddComponent <CanvasRenderer>();


            UnityEngine.UI.Image image = banner.AddComponent <UnityEngine.UI.Image>();
            bannerSprite = Sprite.Create(newTex, new Rect(0, 0, newTex.width, newTex.height), Vector2.zero, 1);
            image.sprite = bannerSprite;
            image.rectTransform.sizeDelta = new Vector2(18f * UIScaler.GetPixelsPerUnit(), 7f * UIScaler.GetPixelsPerUnit());

            DialogBox db = new DialogBox(new Vector2((UIScaler.GetWidthUnits() - 30f) / 2, 10f), new Vector2(30, 6), "Valkyrie is a game master helper tool inspired by Fantasy Flight Games' Descent: Road to Legend.  Most images used are imported from FFG applications are are copyright FFG and other rights holders.");

            db.textObj.GetComponent <UnityEngine.UI.Text>().fontSize = UIScaler.GetMediumFont();

            db = new DialogBox(new Vector2((UIScaler.GetWidthUnits() - 30f) / 2, 18f), new Vector2(30, 5), "Valkyrie uses DotNetZip-For-Unity and has code derived from Unity Studio and .NET Ogg Vorbis Encoder.");
            db.textObj.GetComponent <UnityEngine.UI.Text>().fontSize = UIScaler.GetMediumFont();

            TextButton tb = new TextButton(new Vector2(1, UIScaler.GetBottom(-3)), new Vector2(8, 2), "Back", delegate { Destroyer.MainMenu(); });

            tb.background.GetComponent <UnityEngine.UI.Image>().color = new Color(0, 0.03f, 0f);
            tb.SetFont(Game.Get().gameType.GetHeaderFont());
        }
Example #32
0
        public DoneLoadingPage(PrinterSetupWizard setupWizard, int extruderIndex)
            : base(setupWizard, "Success".Localize(), "Success!\n\nYour filament should now be loaded".Localize())
        {
            if (printer.Connection.Paused)
            {
                var resumePrintingButton = new TextButton("Resume Printing".Localize(), theme)
                {
                    Name            = "Resume Printing Button",
                    BackgroundColor = theme.MinimalShade,
                };
                resumePrintingButton.Click += (s, e) =>
                {
                    resumePrintingButton.Parents <SystemWindow>().First().Close();
                    printer.Connection.Resume();
                };

                theme.ApplyPrimaryActionStyle(resumePrintingButton);
                this.AddPageAction(resumePrintingButton);
            }
            else if (extruderIndex == 0 && printer.Settings.GetValue <int>(SettingsKey.extruder_count) > 1)
            {
                var loadFilament2Button = new TextButton("Load Filament 2".Localize(), theme)
                {
                    Name            = "Load Filament 2",
                    BackgroundColor = theme.MinimalShade,
                };
                loadFilament2Button.Click += (s, e) =>
                {
                    loadFilament2Button.Parents <SystemWindow>().First().Close();

                    DialogWindow.Show(
                        new LoadFilamentWizard(printer, extruderIndex: 1, showAlreadyLoadedButton: true));
                };
                theme.ApplyPrimaryActionStyle(loadFilament2Button);

                this.AddPageAction(loadFilament2Button);
            }
        }
        private void RemakeAllowedChars(Container p)
        {
            p.Suspended = true;
            foreach (Control key in p.Childs)
            {
                if (!(key is TextButton) || key.Tag == null)
                {
                    continue;
                }

                TextButton but   = (TextButton)key;
                KeyFlags   flags = (KeyFlags)((int)but.Tag & (int)KeyFlags.TypeMask);
                if (flags != KeyFlags.NormalKey)
                {
                    continue;
                }

                char keyChar = (char)((int)but.Tag & (int)KeyFlags.KeyMask);

                but.Enabled = _allowedChars.IndexOf(keyChar) >= 0;
            }
            p.Suspended = false;
        }
Example #34
0
    public LoginDialog( Game game, GUIManager guiManager, Action toExecuteOnOK, Action toExecuteOnCancel )
        : base(game, guiManager)
    {
        #region set up the name label and its text field
        Label labelName = new Label( game, guiManager );
        this.Add( labelName );
        labelName.Text = "Name:";
        labelName.X = SPACING;
        labelName.Y = SPACING;
        labelName.Width = 75;
        labelName.Height = labelName.TextHeight;
        labelName.Color = Color.White;

        // Name textbox
        textBoxName = new TextBox( game, guiManager );
        Add( this.textBoxName );
        textBoxName.Initialize();
        textBoxName.X = labelName.X;  // lined up with its label
        textBoxName.Y = labelName.Y + labelName.Height + SPACING / 2;
        textBoxName.Color = Color.White;
        #endregion

        #region set up the password field and its text label
        Label labelPW = new Label( game, guiManager );
        this.Add( labelPW );
        labelPW.Text = "Password:"******"Cancel";
        buttonCancel.X = this.ClientWidth - this.buttonCancel.Width - SPACING;
        buttonCancel.Y = this.textBoxPW.Y + this.textBoxName.Height + SPACING;
        buttonCancel.Color = Color.White;

        buttonCancel.Click += new ClickHandler( buttonCancel_Click );
        if( toExecuteOnCancel != null )
          this.OnCancel = toExecuteOnCancel;

        // OK button
        buttonOK = new TextButton( game, guiManager );
        Add( this.buttonOK );
        buttonOK.Text = "OK";
        buttonOK.X = this.buttonCancel.X - SPACING - this.buttonOK.Width;
        buttonOK.Y = this.buttonCancel.Y;
        buttonOK.Color = Color.White;

        buttonOK.Click += new ClickHandler( buttonOK_Click );
        if( toExecuteOnOK != null )
          this.OnOK = toExecuteOnOK ;
        #endregion

        // Set the window height to the amount needed to show all controls
        this.ClientHeight = this.buttonOK.Y + this.buttonOK.Height + SPACING;

        // Set the window title
        this.TitleText = "Login!";
        this.Color = Color.White ;

        // This dialog does not need to be resized by the user
        this.Resizable = false;

        this.CenterWindow();
    }
 /// <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.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmConCli));
     this.tbCntrlConCli = new System.Windows.Forms.TabControl();
     this.tbPgConCli = new System.Windows.Forms.TabPage();
     this.grpBxFiltro = new System.Windows.Forms.GroupBox();
     this.grpBxPedido = new System.Windows.Forms.GroupBox();
     this.label1 = new System.Windows.Forms.Label();
     this.dttmDataPedido2 = new System.Windows.Forms.DateTimePicker();
     this.txtNumPed = new System.Windows.Forms.TextBox();
     this.dttmDataPedido1 = new System.Windows.Forms.DateTimePicker();
     this.lblDataPed = new System.Windows.Forms.Label();
     this.lblNumPed = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.rdbtnCancelado = new System.Windows.Forms.RadioButton();
     this.rdbtnPendente = new System.Windows.Forms.RadioButton();
     this.rdbtnEfetivado = new System.Windows.Forms.RadioButton();
     this.cmBxTipoPed = new System.Windows.Forms.ComboBox();
     this.lblTipoPed = new System.Windows.Forms.Label();
     this.grpBxCli = new System.Windows.Forms.GroupBox();
     this.cmbAreaAtuCli = new System.Windows.Forms.ComboBox();
     this.lblCNPJ = new System.Windows.Forms.Label();
     this.lblArea = new System.Windows.Forms.Label();
     this.txtRazaoSocialCli = new System.Windows.Forms.TextBox();
     this.lblRazao = new System.Windows.Forms.Label();
     this.txtNomeFantasiaCli = new System.Windows.Forms.TextBox();
     this.lblNome = new System.Windows.Forms.Label();
     this.dtgrdConCli = new System.Windows.Forms.DataGridView();
     this.cOMERCIALDataSet = new Comercial.COMERCIALDataSet();
     this.cLIENTEBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cLIENTETableAdapter = new Comercial.COMERCIALDataSetTableAdapters.CLIENTETableAdapter();
     this.txtCnpjCli = new Comercial.TextButton();
     this.CNPJCli = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NomeFantasiaCli = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmnCodPed = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmnDtPed = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmnValPed = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tbCntrlConCli.SuspendLayout();
     this.tbPgConCli.SuspendLayout();
     this.grpBxFiltro.SuspendLayout();
     this.grpBxPedido.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.grpBxCli.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtgrdConCli)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cLIENTEBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // tbCntrlConCli
     //
     this.tbCntrlConCli.Controls.Add(this.tbPgConCli);
     this.tbCntrlConCli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbCntrlConCli.Location = new System.Drawing.Point(12, 12);
     this.tbCntrlConCli.Name = "tbCntrlConCli";
     this.tbCntrlConCli.SelectedIndex = 0;
     this.tbCntrlConCli.Size = new System.Drawing.Size(906, 488);
     this.tbCntrlConCli.TabIndex = 0;
     //
     // tbPgConCli
     //
     this.tbPgConCli.Controls.Add(this.grpBxFiltro);
     this.tbPgConCli.Controls.Add(this.dtgrdConCli);
     this.tbPgConCli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbPgConCli.ForeColor = System.Drawing.Color.CadetBlue;
     this.tbPgConCli.Location = new System.Drawing.Point(4, 22);
     this.tbPgConCli.Name = "tbPgConCli";
     this.tbPgConCli.Padding = new System.Windows.Forms.Padding(3);
     this.tbPgConCli.Size = new System.Drawing.Size(898, 462);
     this.tbPgConCli.TabIndex = 0;
     this.tbPgConCli.Text = "Consulta de Clientes - Cliente/Pedido";
     this.tbPgConCli.UseVisualStyleBackColor = true;
     //
     // grpBxFiltro
     //
     this.grpBxFiltro.Controls.Add(this.grpBxPedido);
     this.grpBxFiltro.Controls.Add(this.grpBxCli);
     this.grpBxFiltro.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grpBxFiltro.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxFiltro.Location = new System.Drawing.Point(6, 6);
     this.grpBxFiltro.Name = "grpBxFiltro";
     this.grpBxFiltro.Size = new System.Drawing.Size(886, 197);
     this.grpBxFiltro.TabIndex = 1;
     this.grpBxFiltro.TabStop = false;
     this.grpBxFiltro.Text = "Filtros:";
     //
     // grpBxPedido
     //
     this.grpBxPedido.Controls.Add(this.label1);
     this.grpBxPedido.Controls.Add(this.dttmDataPedido2);
     this.grpBxPedido.Controls.Add(this.txtNumPed);
     this.grpBxPedido.Controls.Add(this.dttmDataPedido1);
     this.grpBxPedido.Controls.Add(this.lblDataPed);
     this.grpBxPedido.Controls.Add(this.lblNumPed);
     this.grpBxPedido.Controls.Add(this.groupBox2);
     this.grpBxPedido.Controls.Add(this.cmBxTipoPed);
     this.grpBxPedido.Controls.Add(this.lblTipoPed);
     this.grpBxPedido.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxPedido.Location = new System.Drawing.Point(6, 19);
     this.grpBxPedido.Name = "grpBxPedido";
     this.grpBxPedido.Size = new System.Drawing.Size(340, 162);
     this.grpBxPedido.TabIndex = 8;
     this.grpBxPedido.TabStop = false;
     this.grpBxPedido.Text = "Dados Pedido";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.CadetBlue;
     this.label1.Location = new System.Drawing.Point(133, 136);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(26, 13);
     this.label1.TabIndex = 27;
     this.label1.Text = "Até:";
     //
     // dttmDataPedido2
     //
     this.dttmDataPedido2.Checked = false;
     this.dttmDataPedido2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dttmDataPedido2.Location = new System.Drawing.Point(165, 132);
     this.dttmDataPedido2.Name = "dttmDataPedido2";
     this.dttmDataPedido2.ShowCheckBox = true;
     this.dttmDataPedido2.Size = new System.Drawing.Size(115, 20);
     this.dttmDataPedido2.TabIndex = 23;
     //
     // txtNumPed
     //
     this.txtNumPed.Location = new System.Drawing.Point(12, 36);
     this.txtNumPed.Name = "txtNumPed";
     this.txtNumPed.Size = new System.Drawing.Size(80, 20);
     this.txtNumPed.TabIndex = 22;
     //
     // dttmDataPedido1
     //
     this.dttmDataPedido1.Checked = false;
     this.dttmDataPedido1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dttmDataPedido1.Location = new System.Drawing.Point(12, 132);
     this.dttmDataPedido1.Name = "dttmDataPedido1";
     this.dttmDataPedido1.ShowCheckBox = true;
     this.dttmDataPedido1.Size = new System.Drawing.Size(115, 20);
     this.dttmDataPedido1.TabIndex = 21;
     //
     // lblDataPed
     //
     this.lblDataPed.AutoSize = true;
     this.lblDataPed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDataPed.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblDataPed.Location = new System.Drawing.Point(9, 116);
     this.lblDataPed.Name = "lblDataPed";
     this.lblDataPed.Size = new System.Drawing.Size(83, 13);
     this.lblDataPed.TabIndex = 20;
     this.lblDataPed.Text = "Data do pedido:";
     //
     // lblNumPed
     //
     this.lblNumPed.AutoSize = true;
     this.lblNumPed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNumPed.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblNumPed.Location = new System.Drawing.Point(9, 19);
     this.lblNumPed.Name = "lblNumPed";
     this.lblNumPed.Size = new System.Drawing.Size(47, 13);
     this.lblNumPed.TabIndex = 16;
     this.lblNumPed.Text = "Número:";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.checkBox1);
     this.groupBox2.Controls.Add(this.rdbtnCancelado);
     this.groupBox2.Controls.Add(this.rdbtnPendente);
     this.groupBox2.Controls.Add(this.rdbtnEfetivado);
     this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.ForeColor = System.Drawing.Color.CadetBlue;
     this.groupBox2.Location = new System.Drawing.Point(9, 71);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(269, 42);
     this.groupBox2.TabIndex = 14;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Situação do Pedido:";
     //
     // checkBox1
     //
     this.checkBox1.AutoSize = true;
     this.checkBox1.Location = new System.Drawing.Point(111, 1);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(15, 14);
     this.checkBox1.TabIndex = 3;
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
     //
     // rdbtnCancelado
     //
     this.rdbtnCancelado.AutoSize = true;
     this.rdbtnCancelado.Location = new System.Drawing.Point(173, 19);
     this.rdbtnCancelado.Name = "rdbtnCancelado";
     this.rdbtnCancelado.Size = new System.Drawing.Size(76, 17);
     this.rdbtnCancelado.TabIndex = 2;
     this.rdbtnCancelado.TabStop = true;
     this.rdbtnCancelado.Text = "Cancelado";
     this.rdbtnCancelado.UseVisualStyleBackColor = true;
     this.rdbtnCancelado.CheckedChanged += new System.EventHandler(this.rdbtnCancelado_CheckedChanged);
     //
     // rdbtnPendente
     //
     this.rdbtnPendente.AutoSize = true;
     this.rdbtnPendente.Location = new System.Drawing.Point(96, 19);
     this.rdbtnPendente.Name = "rdbtnPendente";
     this.rdbtnPendente.Size = new System.Drawing.Size(71, 17);
     this.rdbtnPendente.TabIndex = 1;
     this.rdbtnPendente.TabStop = true;
     this.rdbtnPendente.Text = "Pendente";
     this.rdbtnPendente.UseVisualStyleBackColor = true;
     this.rdbtnPendente.CheckedChanged += new System.EventHandler(this.rdbtnPendente_CheckedChanged);
     //
     // rdbtnEfetivado
     //
     this.rdbtnEfetivado.AutoSize = true;
     this.rdbtnEfetivado.Location = new System.Drawing.Point(13, 19);
     this.rdbtnEfetivado.Name = "rdbtnEfetivado";
     this.rdbtnEfetivado.Size = new System.Drawing.Size(70, 17);
     this.rdbtnEfetivado.TabIndex = 0;
     this.rdbtnEfetivado.TabStop = true;
     this.rdbtnEfetivado.Text = "Efetivado";
     this.rdbtnEfetivado.UseVisualStyleBackColor = true;
     this.rdbtnEfetivado.CheckedChanged += new System.EventHandler(this.rdbtnEfetivado_CheckedChanged);
     //
     // cmBxTipoPed
     //
     this.cmBxTipoPed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmBxTipoPed.FormattingEnabled = true;
     this.cmBxTipoPed.Items.AddRange(new object[] {
     "",
     "N = Normal",
     "C = Complemento de preço"});
     this.cmBxTipoPed.Location = new System.Drawing.Point(105, 36);
     this.cmBxTipoPed.Name = "cmBxTipoPed";
     this.cmBxTipoPed.Size = new System.Drawing.Size(173, 21);
     this.cmBxTipoPed.TabIndex = 12;
     //
     // lblTipoPed
     //
     this.lblTipoPed.AutoSize = true;
     this.lblTipoPed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTipoPed.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblTipoPed.Location = new System.Drawing.Point(102, 19);
     this.lblTipoPed.Name = "lblTipoPed";
     this.lblTipoPed.Size = new System.Drawing.Size(81, 13);
     this.lblTipoPed.TabIndex = 7;
     this.lblTipoPed.Text = "Tipo do pedido:";
     //
     // grpBxCli
     //
     this.grpBxCli.Controls.Add(this.txtCnpjCli);
     this.grpBxCli.Controls.Add(this.cmbAreaAtuCli);
     this.grpBxCli.Controls.Add(this.lblCNPJ);
     this.grpBxCli.Controls.Add(this.lblArea);
     this.grpBxCli.Controls.Add(this.txtRazaoSocialCli);
     this.grpBxCli.Controls.Add(this.lblRazao);
     this.grpBxCli.Controls.Add(this.txtNomeFantasiaCli);
     this.grpBxCli.Controls.Add(this.lblNome);
     this.grpBxCli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grpBxCli.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxCli.Location = new System.Drawing.Point(364, 19);
     this.grpBxCli.Name = "grpBxCli";
     this.grpBxCli.Size = new System.Drawing.Size(516, 162);
     this.grpBxCli.TabIndex = 3;
     this.grpBxCli.TabStop = false;
     this.grpBxCli.Text = "Dados Cliente:";
     //
     // cmbAreaAtuCli
     //
     this.cmbAreaAtuCli.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.Suggest;
     this.cmbAreaAtuCli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmbAreaAtuCli.FormattingEnabled = true;
     this.cmbAreaAtuCli.Items.AddRange(new object[] {
     "",
     "AEROESPACIAL",
     "AUTO - AUTOMOBILÍSTICO",
     "AUTO - RODA/DIREÇÃO",
     "AUTO - SUB-FORNECEDOR",
     "ELÉTRICA",
     "FERRAMENTAS",
     "GERAL- BÉLICA",
     "GERAL - MÁQUINAS/OUTROS",
     "GERAL - MÓVEIS",
     "GERAL - OUTROS",
     "GERAL - PEQUENOS COMPONENTES",
     "GERAL - PRODUTOS AGRICOLAS",
     "GERAL - PRODUTOS MADEIRA",
     "GERAL - PRODUTOS METAL",
     "GERAL - PRODUTOS METAL/MADEIRA",
     "GERAL -REAFIAÇÃO",
     "GERAL - SIDERÚRGICA",
     "GERAL - TRAB. METAL",
     "GERAL - TRAB. MADEIRA",
     "MOLDE - FERRAMENTARIA",
     "MOLDE - JANELAS",
     "MOLDE - PLÁSTICO",
     "VÁLVULAS - PETRÓLEO"});
     this.cmbAreaAtuCli.Location = new System.Drawing.Point(224, 34);
     this.cmbAreaAtuCli.Name = "cmbAreaAtuCli";
     this.cmbAreaAtuCli.Size = new System.Drawing.Size(286, 21);
     this.cmbAreaAtuCli.TabIndex = 29;
     //
     // lblCNPJ
     //
     this.lblCNPJ.AutoSize = true;
     this.lblCNPJ.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCNPJ.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblCNPJ.Location = new System.Drawing.Point(14, 19);
     this.lblCNPJ.Name = "lblCNPJ";
     this.lblCNPJ.Size = new System.Drawing.Size(37, 13);
     this.lblCNPJ.TabIndex = 26;
     this.lblCNPJ.Text = "CNPJ:";
     //
     // lblArea
     //
     this.lblArea.AutoSize = true;
     this.lblArea.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblArea.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblArea.Location = new System.Drawing.Point(221, 16);
     this.lblArea.Name = "lblArea";
     this.lblArea.Size = new System.Drawing.Size(89, 13);
     this.lblArea.TabIndex = 26;
     this.lblArea.Text = "Área de atuação:";
     //
     // txtRazaoSocialCli
     //
     this.txtRazaoSocialCli.Location = new System.Drawing.Point(17, 82);
     this.txtRazaoSocialCli.Name = "txtRazaoSocialCli";
     this.txtRazaoSocialCli.Size = new System.Drawing.Size(493, 20);
     this.txtRazaoSocialCli.TabIndex = 25;
     //
     // lblRazao
     //
     this.lblRazao.AutoSize = true;
     this.lblRazao.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblRazao.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblRazao.Location = new System.Drawing.Point(14, 65);
     this.lblRazao.Name = "lblRazao";
     this.lblRazao.Size = new System.Drawing.Size(73, 13);
     this.lblRazao.TabIndex = 24;
     this.lblRazao.Text = "Razão Social:";
     //
     // txtNomeFantasiaCli
     //
     this.txtNomeFantasiaCli.Location = new System.Drawing.Point(20, 133);
     this.txtNomeFantasiaCli.Name = "txtNomeFantasiaCli";
     this.txtNomeFantasiaCli.Size = new System.Drawing.Size(490, 20);
     this.txtNomeFantasiaCli.TabIndex = 23;
     //
     // lblNome
     //
     this.lblNome.AutoSize = true;
     this.lblNome.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNome.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblNome.Location = new System.Drawing.Point(17, 116);
     this.lblNome.Name = "lblNome";
     this.lblNome.Size = new System.Drawing.Size(81, 13);
     this.lblNome.TabIndex = 22;
     this.lblNome.Text = "Nome Fantasia:";
     this.lblNome.Click += new System.EventHandler(this.label1_Click);
     //
     // dtgrdConCli
     //
     this.dtgrdConCli.AllowUserToAddRows = false;
     this.dtgrdConCli.AllowUserToDeleteRows = false;
     this.dtgrdConCli.AllowUserToOrderColumns = true;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dtgrdConCli.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dtgrdConCli.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dtgrdConCli.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.CNPJCli,
     this.NomeFantasiaCli,
     this.ClmnCodPed,
     this.ClmnDtPed,
     this.ClmnValPed});
     dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle2.ForeColor = System.Drawing.Color.CadetBlue;
     dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dtgrdConCli.DefaultCellStyle = dataGridViewCellStyle2;
     this.dtgrdConCli.Location = new System.Drawing.Point(6, 209);
     this.dtgrdConCli.Name = "dtgrdConCli";
     this.dtgrdConCli.ReadOnly = true;
     dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dtgrdConCli.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
     this.dtgrdConCli.Size = new System.Drawing.Size(813, 243);
     this.dtgrdConCli.TabIndex = 0;
     //
     // cOMERCIALDataSet
     //
     this.cOMERCIALDataSet.DataSetName = "COMERCIALDataSet";
     this.cOMERCIALDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // cLIENTEBindingSource
     //
     this.cLIENTEBindingSource.DataMember = "CLIENTE";
     this.cLIENTEBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // cLIENTETableAdapter
     //
     this.cLIENTETableAdapter.ClearBeforeFill = true;
     //
     // txtCnpjCli
     //
     this.txtCnpjCli.getText = "";
     this.txtCnpjCli.Image = ((System.Drawing.Image)(resources.GetObject("txtCnpjCli.Image")));
     this.txtCnpjCli.Location = new System.Drawing.Point(17, 32);
     this.txtCnpjCli.Name = "txtCnpjCli";
     this.txtCnpjCli.ShowButton = false;
     this.txtCnpjCli.Size = new System.Drawing.Size(148, 25);
     this.txtCnpjCli.TabIndex = 91;
     this.txtCnpjCli.ButtonClick += new System.EventHandler(this.txtCnpjCli_ButtonClick);
     //
     // CNPJCli
     //
     this.CNPJCli.DataPropertyName = "CodCliente";
     this.CNPJCli.HeaderText = "Cód. Cliente";
     this.CNPJCli.Name = "CNPJCli";
     this.CNPJCli.ReadOnly = true;
     //
     // NomeFantasiaCli
     //
     this.NomeFantasiaCli.DataPropertyName = "NomeFantasia";
     this.NomeFantasiaCli.HeaderText = "Nome Fantasia Cliente";
     this.NomeFantasiaCli.Name = "NomeFantasiaCli";
     this.NomeFantasiaCli.ReadOnly = true;
     this.NomeFantasiaCli.Width = 200;
     //
     // ClmnCodPed
     //
     this.ClmnCodPed.DataPropertyName = "NrPedido";
     this.ClmnCodPed.HeaderText = "N°.Ped.";
     this.ClmnCodPed.Name = "ClmnCodPed";
     this.ClmnCodPed.ReadOnly = true;
     //
     // ClmnDtPed
     //
     this.ClmnDtPed.DataPropertyName = "DATAEMISSAO";
     this.ClmnDtPed.HeaderText = "Data Ped.";
     this.ClmnDtPed.Name = "ClmnDtPed";
     this.ClmnDtPed.ReadOnly = true;
     this.ClmnDtPed.Width = 120;
     //
     // ClmnValPed
     //
     this.ClmnValPed.DataPropertyName = "VALOR";
     this.ClmnValPed.HeaderText = "Valor do Pedido";
     this.ClmnValPed.Name = "ClmnValPed";
     this.ClmnValPed.ReadOnly = true;
     this.ClmnValPed.Width = 160;
     //
     // FrmConCli
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.ClientSize = new System.Drawing.Size(922, 498);
     this.ControlBox = false;
     this.Controls.Add(this.tbCntrlConCli);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmConCli";
     this.Text = "Consulta de Clientes";
     this.Load += new System.EventHandler(this.frmConCli_Load);
     this.Leave += new System.EventHandler(this.frmConCli_Leave);
     this.tbCntrlConCli.ResumeLayout(false);
     this.tbPgConCli.ResumeLayout(false);
     this.grpBxFiltro.ResumeLayout(false);
     this.grpBxPedido.ResumeLayout(false);
     this.grpBxPedido.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.grpBxCli.ResumeLayout(false);
     this.grpBxCli.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtgrdConCli)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cLIENTEBindingSource)).EndInit();
     this.ResumeLayout(false);
 }
 /// <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.Windows.Forms.Label LblNumPedido;
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
     this.tbPgDevNotaFiscal = new System.Windows.Forms.TabPage();
     this.grpBxItensNotFiscal = new System.Windows.Forms.GroupBox();
     this.dtGrdVwItensNF = new System.Windows.Forms.DataGridView();
     this.grpBxTotais = new System.Windows.Forms.GroupBox();
     this.lblDescontos = new System.Windows.Forms.Label();
     this.lblVlrFrete = new System.Windows.Forms.Label();
     this.lblVlrMercadoria = new System.Windows.Forms.Label();
     this.txtBxicms = new System.Windows.Forms.TextBox();
     this.nOTAFISCALBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cOMERCIALDataSet = new Comercial.COMERCIALDataSet();
     this.txtBxVlrFrete = new System.Windows.Forms.TextBox();
     this.txtBxVlrNota = new System.Windows.Forms.TextBox();
     this.grpBxInfNotFiscal = new System.Windows.Forms.GroupBox();
     this.txtNrPedido = new System.Windows.Forms.TextBox();
     this.txtTipoNF = new System.Windows.Forms.TextBox();
     this.lblNumNotFiscal = new System.Windows.Forms.Label();
     this.lblDtEmissao = new System.Windows.Forms.Label();
     this.txtSerie = new System.Windows.Forms.TextBox();
     this.lblSerie = new System.Windows.Forms.Label();
     this.dtTmPckrDtEmissao = new System.Windows.Forms.DateTimePicker();
     this.lblTipo = new System.Windows.Forms.Label();
     this.tbCntrlDevNotFiscal = new System.Windows.Forms.TabControl();
     this.nOTAFISCALTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.NOTAFISCALTableAdapter();
     this.tableAdapterManager = new Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager();
     this.clmProduto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clmDescProd = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clmUnidade = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clmQuantidade = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clmQuantidadeDev = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clmVlrUnitário = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.clmVlrTotal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.txtNumNF = new Comercial.TextButton();
     LblNumPedido = new System.Windows.Forms.Label();
     this.tbPgDevNotaFiscal.SuspendLayout();
     this.grpBxItensNotFiscal.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtGrdVwItensNF)).BeginInit();
     this.grpBxTotais.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nOTAFISCALBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).BeginInit();
     this.grpBxInfNotFiscal.SuspendLayout();
     this.tbCntrlDevNotFiscal.SuspendLayout();
     this.SuspendLayout();
     //
     // LblNumPedido
     //
     LblNumPedido.AutoSize = true;
     LblNumPedido.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
     LblNumPedido.ForeColor = System.Drawing.Color.CadetBlue;
     LblNumPedido.Location = new System.Drawing.Point(548, 16);
     LblNumPedido.Name = "LblNumPedido";
     LblNumPedido.Size = new System.Drawing.Size(83, 13);
     LblNumPedido.TabIndex = 28;
     LblNumPedido.Text = "Número Pedido:";
     //
     // tbPgDevNotaFiscal
     //
     this.tbPgDevNotaFiscal.AutoScroll = true;
     this.tbPgDevNotaFiscal.Controls.Add(this.grpBxItensNotFiscal);
     this.tbPgDevNotaFiscal.Controls.Add(this.grpBxTotais);
     this.tbPgDevNotaFiscal.Controls.Add(this.grpBxInfNotFiscal);
     this.tbPgDevNotaFiscal.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbPgDevNotaFiscal.ForeColor = System.Drawing.Color.CadetBlue;
     this.tbPgDevNotaFiscal.Location = new System.Drawing.Point(4, 22);
     this.tbPgDevNotaFiscal.Name = "tbPgDevNotaFiscal";
     this.tbPgDevNotaFiscal.Padding = new System.Windows.Forms.Padding(3);
     this.tbPgDevNotaFiscal.Size = new System.Drawing.Size(780, 489);
     this.tbPgDevNotaFiscal.TabIndex = 0;
     this.tbPgDevNotaFiscal.Text = "Devolução Nota Fiscal";
     this.tbPgDevNotaFiscal.UseVisualStyleBackColor = true;
     //
     // grpBxItensNotFiscal
     //
     this.grpBxItensNotFiscal.Controls.Add(this.dtGrdVwItensNF);
     this.grpBxItensNotFiscal.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grpBxItensNotFiscal.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxItensNotFiscal.Location = new System.Drawing.Point(16, 89);
     this.grpBxItensNotFiscal.Name = "grpBxItensNotFiscal";
     this.grpBxItensNotFiscal.Size = new System.Drawing.Size(741, 246);
     this.grpBxItensNotFiscal.TabIndex = 19;
     this.grpBxItensNotFiscal.TabStop = false;
     this.grpBxItensNotFiscal.Text = "Itens Nota Fiscal";
     //
     // dtGrdVwItensNF
     //
     this.dtGrdVwItensNF.AllowUserToAddRows = false;
     this.dtGrdVwItensNF.AllowUserToDeleteRows = false;
     this.dtGrdVwItensNF.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dtGrdVwItensNF.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.clmProduto,
     this.clmDescProd,
     this.clmUnidade,
     this.clmQuantidade,
     this.clmQuantidadeDev,
     this.clmVlrUnitário,
     this.clmVlrTotal});
     this.dtGrdVwItensNF.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dtGrdVwItensNF.Location = new System.Drawing.Point(3, 16);
     this.dtGrdVwItensNF.Name = "dtGrdVwItensNF";
     this.dtGrdVwItensNF.Size = new System.Drawing.Size(735, 227);
     this.dtGrdVwItensNF.TabIndex = 0;
     //
     // grpBxTotais
     //
     this.grpBxTotais.Controls.Add(this.lblDescontos);
     this.grpBxTotais.Controls.Add(this.lblVlrFrete);
     this.grpBxTotais.Controls.Add(this.lblVlrMercadoria);
     this.grpBxTotais.Controls.Add(this.txtBxicms);
     this.grpBxTotais.Controls.Add(this.txtBxVlrFrete);
     this.grpBxTotais.Controls.Add(this.txtBxVlrNota);
     this.grpBxTotais.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxTotais.Location = new System.Drawing.Point(19, 341);
     this.grpBxTotais.Name = "grpBxTotais";
     this.grpBxTotais.Size = new System.Drawing.Size(738, 116);
     this.grpBxTotais.TabIndex = 19;
     this.grpBxTotais.TabStop = false;
     this.grpBxTotais.Text = "Totais";
     //
     // lblDescontos
     //
     this.lblDescontos.AutoSize = true;
     this.lblDescontos.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDescontos.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblDescontos.Location = new System.Drawing.Point(579, 77);
     this.lblDescontos.Name = "lblDescontos";
     this.lblDescontos.Size = new System.Drawing.Size(36, 13);
     this.lblDescontos.TabIndex = 24;
     this.lblDescontos.Text = "ICMS:";
     //
     // lblVlrFrete
     //
     this.lblVlrFrete.AutoSize = true;
     this.lblVlrFrete.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblVlrFrete.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblVlrFrete.Location = new System.Drawing.Point(567, 51);
     this.lblVlrFrete.Name = "lblVlrFrete";
     this.lblVlrFrete.Size = new System.Drawing.Size(61, 13);
     this.lblVlrFrete.TabIndex = 23;
     this.lblVlrFrete.Text = "Valor Frete:";
     //
     // lblVlrMercadoria
     //
     this.lblVlrMercadoria.AutoSize = true;
     this.lblVlrMercadoria.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblVlrMercadoria.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblVlrMercadoria.Location = new System.Drawing.Point(562, 22);
     this.lblVlrMercadoria.Name = "lblVlrMercadoria";
     this.lblVlrMercadoria.Size = new System.Drawing.Size(60, 13);
     this.lblVlrMercadoria.TabIndex = 22;
     this.lblVlrMercadoria.Text = "Valor Nota:";
     this.lblVlrMercadoria.Click += new System.EventHandler(this.lblVlrMercadoria_Click);
     //
     // txtBxicms
     //
     this.txtBxicms.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.nOTAFISCALBindingSource, "Icms", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "N2"));
     this.txtBxicms.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBxicms.Location = new System.Drawing.Point(649, 74);
     this.txtBxicms.Name = "txtBxicms";
     this.txtBxicms.ReadOnly = true;
     this.txtBxicms.Size = new System.Drawing.Size(83, 20);
     this.txtBxicms.TabIndex = 21;
     //
     // nOTAFISCALBindingSource
     //
     this.nOTAFISCALBindingSource.DataMember = "NOTAFISCAL";
     this.nOTAFISCALBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // cOMERCIALDataSet
     //
     this.cOMERCIALDataSet.DataSetName = "COMERCIALDataSet";
     this.cOMERCIALDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // txtBxVlrFrete
     //
     this.txtBxVlrFrete.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.nOTAFISCALBindingSource, "ValorFrete", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "C2"));
     this.txtBxVlrFrete.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBxVlrFrete.Location = new System.Drawing.Point(649, 48);
     this.txtBxVlrFrete.Name = "txtBxVlrFrete";
     this.txtBxVlrFrete.ReadOnly = true;
     this.txtBxVlrFrete.Size = new System.Drawing.Size(83, 20);
     this.txtBxVlrFrete.TabIndex = 19;
     //
     // txtBxVlrNota
     //
     this.txtBxVlrNota.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.nOTAFISCALBindingSource, "ValorNota", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged, null, "C2"));
     this.txtBxVlrNota.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBxVlrNota.Location = new System.Drawing.Point(649, 19);
     this.txtBxVlrNota.Name = "txtBxVlrNota";
     this.txtBxVlrNota.ReadOnly = true;
     this.txtBxVlrNota.Size = new System.Drawing.Size(83, 20);
     this.txtBxVlrNota.TabIndex = 18;
     //
     // grpBxInfNotFiscal
     //
     this.grpBxInfNotFiscal.Controls.Add(this.txtNrPedido);
     this.grpBxInfNotFiscal.Controls.Add(LblNumPedido);
     this.grpBxInfNotFiscal.Controls.Add(this.txtNumNF);
     this.grpBxInfNotFiscal.Controls.Add(this.txtTipoNF);
     this.grpBxInfNotFiscal.Controls.Add(this.lblNumNotFiscal);
     this.grpBxInfNotFiscal.Controls.Add(this.lblDtEmissao);
     this.grpBxInfNotFiscal.Controls.Add(this.txtSerie);
     this.grpBxInfNotFiscal.Controls.Add(this.lblSerie);
     this.grpBxInfNotFiscal.Controls.Add(this.dtTmPckrDtEmissao);
     this.grpBxInfNotFiscal.Controls.Add(this.lblTipo);
     this.grpBxInfNotFiscal.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxInfNotFiscal.Location = new System.Drawing.Point(16, 6);
     this.grpBxInfNotFiscal.Name = "grpBxInfNotFiscal";
     this.grpBxInfNotFiscal.Size = new System.Drawing.Size(755, 77);
     this.grpBxInfNotFiscal.TabIndex = 18;
     this.grpBxInfNotFiscal.TabStop = false;
     this.grpBxInfNotFiscal.Text = "Informações Nota Fiscal";
     //
     // txtNrPedido
     //
     this.txtNrPedido.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.nOTAFISCALBindingSource, "NrPedido", true));
     this.txtNrPedido.Location = new System.Drawing.Point(551, 33);
     this.txtNrPedido.Name = "txtNrPedido";
     this.txtNrPedido.ReadOnly = true;
     this.txtNrPedido.Size = new System.Drawing.Size(80, 20);
     this.txtNrPedido.TabIndex = 30;
     //
     // txtTipoNF
     //
     this.txtTipoNF.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.nOTAFISCALBindingSource, "Tipo", true));
     this.txtTipoNF.Location = new System.Drawing.Point(326, 33);
     this.txtTipoNF.Name = "txtTipoNF";
     this.txtTipoNF.ReadOnly = true;
     this.txtTipoNF.Size = new System.Drawing.Size(63, 20);
     this.txtTipoNF.TabIndex = 16;
     //
     // lblNumNotFiscal
     //
     this.lblNumNotFiscal.AutoSize = true;
     this.lblNumNotFiscal.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNumNotFiscal.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblNumNotFiscal.Location = new System.Drawing.Point(45, 16);
     this.lblNumNotFiscal.Name = "lblNumNotFiscal";
     this.lblNumNotFiscal.Size = new System.Drawing.Size(79, 13);
     this.lblNumNotFiscal.TabIndex = 12;
     this.lblNumNotFiscal.Text = "Número da NF:";
     //
     // lblDtEmissao
     //
     this.lblDtEmissao.AutoSize = true;
     this.lblDtEmissao.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDtEmissao.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblDtEmissao.Location = new System.Drawing.Point(402, 16);
     this.lblDtEmissao.Name = "lblDtEmissao";
     this.lblDtEmissao.Size = new System.Drawing.Size(66, 13);
     this.lblDtEmissao.TabIndex = 6;
     this.lblDtEmissao.Text = "Dt. Emissão:";
     //
     // txtSerie
     //
     this.txtSerie.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.nOTAFISCALBindingSource, "Serie", true));
     this.txtSerie.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtSerie.Location = new System.Drawing.Point(264, 33);
     this.txtSerie.Name = "txtSerie";
     this.txtSerie.ReadOnly = true;
     this.txtSerie.Size = new System.Drawing.Size(50, 20);
     this.txtSerie.TabIndex = 5;
     //
     // lblSerie
     //
     this.lblSerie.AutoSize = true;
     this.lblSerie.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblSerie.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblSerie.Location = new System.Drawing.Point(261, 16);
     this.lblSerie.Name = "lblSerie";
     this.lblSerie.Size = new System.Drawing.Size(34, 13);
     this.lblSerie.TabIndex = 4;
     this.lblSerie.Text = "Série:";
     //
     // dtTmPckrDtEmissao
     //
     this.dtTmPckrDtEmissao.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.nOTAFISCALBindingSource, "DataEmissao", true));
     this.dtTmPckrDtEmissao.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.nOTAFISCALBindingSource, "DataEmissao", true));
     this.dtTmPckrDtEmissao.Enabled = false;
     this.dtTmPckrDtEmissao.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dtTmPckrDtEmissao.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtTmPckrDtEmissao.Location = new System.Drawing.Point(405, 32);
     this.dtTmPckrDtEmissao.Name = "dtTmPckrDtEmissao";
     this.dtTmPckrDtEmissao.Size = new System.Drawing.Size(128, 20);
     this.dtTmPckrDtEmissao.TabIndex = 15;
     //
     // lblTipo
     //
     this.lblTipo.AutoSize = true;
     this.lblTipo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTipo.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblTipo.Location = new System.Drawing.Point(323, 16);
     this.lblTipo.Name = "lblTipo";
     this.lblTipo.Size = new System.Drawing.Size(48, 13);
     this.lblTipo.TabIndex = 2;
     this.lblTipo.Text = "Tipo NF:";
     //
     // tbCntrlDevNotFiscal
     //
     this.tbCntrlDevNotFiscal.Controls.Add(this.tbPgDevNotaFiscal);
     this.tbCntrlDevNotFiscal.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbCntrlDevNotFiscal.Location = new System.Drawing.Point(12, 12);
     this.tbCntrlDevNotFiscal.Name = "tbCntrlDevNotFiscal";
     this.tbCntrlDevNotFiscal.SelectedIndex = 0;
     this.tbCntrlDevNotFiscal.Size = new System.Drawing.Size(788, 515);
     this.tbCntrlDevNotFiscal.TabIndex = 18;
     //
     // nOTAFISCALTableAdapter
     //
     this.nOTAFISCALTableAdapter.ClearBeforeFill = true;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.ACESSOTableAdapter = null;
     this.tableAdapterManager.ATUCUBOTableAdapter = null;
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.CLIENTETableAdapter = null;
     this.tableAdapterManager.CONDICAOPAGAMENTOTableAdapter = null;
     this.tableAdapterManager.GRUPOPRODUTOTableAdapter = null;
     this.tableAdapterManager.ICMSTableAdapter = null;
     this.tableAdapterManager.ItemNotaFiscalTableAdapter = null;
     this.tableAdapterManager.ITEMPEDIDOTableAdapter = null;
     this.tableAdapterManager.modeloCampoTableAdapter = null;
     this.tableAdapterManager.modeloTableAdapter = null;
     this.tableAdapterManager.MODULOTableAdapter = null;
     this.tableAdapterManager.NOTAFISCALTableAdapter = this.nOTAFISCALTableAdapter;
     this.tableAdapterManager.PEDIDOTableAdapter = null;
     this.tableAdapterManager.PRODUTOTableAdapter = null;
     this.tableAdapterManager.REGIAOTableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORATableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORAVIATableAdapter = null;
     this.tableAdapterManager.UNIDADEMEDIDATableAdapter = null;
     this.tableAdapterManager.UpdateOrder = Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     this.tableAdapterManager.USUARIOTableAdapter = null;
     this.tableAdapterManager.VENDEDORTableAdapter = null;
     this.tableAdapterManager.VIATRANSPORTETableAdapter = null;
     //
     // clmProduto
     //
     this.clmProduto.DataPropertyName = "CodProduto";
     this.clmProduto.HeaderText = "Produto";
     this.clmProduto.Name = "clmProduto";
     this.clmProduto.ReadOnly = true;
     //
     // clmDescProd
     //
     this.clmDescProd.DataPropertyName = "Descricao";
     this.clmDescProd.HeaderText = "Desc. Produto";
     this.clmDescProd.Name = "clmDescProd";
     this.clmDescProd.ReadOnly = true;
     //
     // clmUnidade
     //
     this.clmUnidade.DataPropertyName = "CodUnidadeMedida";
     this.clmUnidade.HeaderText = "Unidade";
     this.clmUnidade.Name = "clmUnidade";
     this.clmUnidade.ReadOnly = true;
     //
     // clmQuantidade
     //
     this.clmQuantidade.DataPropertyName = "Quantidade";
     this.clmQuantidade.HeaderText = "Quantidade";
     this.clmQuantidade.Name = "clmQuantidade";
     this.clmQuantidade.ReadOnly = true;
     //
     // clmQuantidadeDev
     //
     this.clmQuantidadeDev.DataPropertyName = "QuantidadeDev";
     this.clmQuantidadeDev.HeaderText = "Quantidade Devolvida";
     this.clmQuantidadeDev.Name = "clmQuantidadeDev";
     //
     // clmVlrUnitário
     //
     this.clmVlrUnitário.DataPropertyName = "Valor";
     dataGridViewCellStyle3.Format = "C2";
     dataGridViewCellStyle3.NullValue = null;
     this.clmVlrUnitário.DefaultCellStyle = dataGridViewCellStyle3;
     this.clmVlrUnitário.HeaderText = "Vlr. Unitário";
     this.clmVlrUnitário.Name = "clmVlrUnitário";
     this.clmVlrUnitário.ReadOnly = true;
     //
     // clmVlrTotal
     //
     this.clmVlrTotal.DataPropertyName = "VALORTOTAL";
     dataGridViewCellStyle4.Format = "C2";
     this.clmVlrTotal.DefaultCellStyle = dataGridViewCellStyle4;
     this.clmVlrTotal.HeaderText = "Vlr. Total";
     this.clmVlrTotal.Name = "clmVlrTotal";
     this.clmVlrTotal.ReadOnly = true;
     //
     // txtNumNF
     //
     this.txtNumNF.getText = "";
     this.txtNumNF.Image = global::Comercial.Properties.Resources.search1;
     this.txtNumNF.Location = new System.Drawing.Point(48, 32);
     this.txtNumNF.Name = "txtNumNF";
     this.txtNumNF.ShowButton = false;
     this.txtNumNF.Size = new System.Drawing.Size(210, 25);
     this.txtNumNF.TabIndex = 17;
     this.txtNumNF.ButtonClick += new System.EventHandler(this.txtNumNF_ButtonClick);
     //
     // FrmDevNotaFiscal
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.ClientSize = new System.Drawing.Size(813, 535);
     this.Controls.Add(this.tbCntrlDevNotFiscal);
     this.Name = "FrmDevNotaFiscal";
     this.ShowIcon = false;
     this.Text = "Devolução Nota Fiscal";
     this.Load += new System.EventHandler(this.FrmDevNotaFiscal_Load);
     this.Leave += new System.EventHandler(this.FrmDevNotaFiscal_Leave);
     this.tbPgDevNotaFiscal.ResumeLayout(false);
     this.grpBxItensNotFiscal.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dtGrdVwItensNF)).EndInit();
     this.grpBxTotais.ResumeLayout(false);
     this.grpBxTotais.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nOTAFISCALBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).EndInit();
     this.grpBxInfNotFiscal.ResumeLayout(false);
     this.grpBxInfNotFiscal.PerformLayout();
     this.tbCntrlDevNotFiscal.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <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(FrmCadTra));
     this.TbCntCadTra = new System.Windows.Forms.TabControl();
     this.TbPgCadTra = new System.Windows.Forms.TabPage();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.pictureBox2 = new System.Windows.Forms.PictureBox();
     this.grpBxViaTrans = new System.Windows.Forms.GroupBox();
     this.chkTerrestre = new System.Windows.Forms.CheckBox();
     this.chkMaritimo = new System.Windows.Forms.CheckBox();
     this.chkFerroviario = new System.Windows.Forms.CheckBox();
     this.chkAereo = new System.Windows.Forms.CheckBox();
     this.txtIeCli = new System.Windows.Forms.MaskedTextBox();
     this.tRANSPORTADORABindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cOMERCIALDataSet = new Comercial.COMERCIALDataSet();
     this.gpbContatotrans = new System.Windows.Forms.GroupBox();
     this.txtCepTrans = new Comercial.TextButton();
     this.lblComplemento = new System.Windows.Forms.Label();
     this.cOMPLEMENTOTextBox = new System.Windows.Forms.TextBox();
     this.lblNumero = new System.Windows.Forms.Label();
     this.NumTrans = new System.Windows.Forms.TextBox();
     this.uFComboBox = new System.Windows.Forms.ComboBox();
     this.lblCeptrans = new System.Windows.Forms.Label();
     this.txtTeltrans = new System.Windows.Forms.MaskedTextBox();
     this.txtEmailtrans = new System.Windows.Forms.TextBox();
     this.lblEmailtrans = new System.Windows.Forms.Label();
     this.lblTelefonetrans = new System.Windows.Forms.Label();
     this.lblUftrans = new System.Windows.Forms.Label();
     this.txtMunicipiotrans = new System.Windows.Forms.TextBox();
     this.lblMunicipiotrans = new System.Windows.Forms.Label();
     this.txtBairrotrans = new System.Windows.Forms.TextBox();
     this.txtEndtrans = new System.Windows.Forms.TextBox();
     this.lblBairrotrans = new System.Windows.Forms.Label();
     this.lblEnderecotrans = new System.Windows.Forms.Label();
     this.lblIECliente = new System.Windows.Forms.Label();
     this.txtCnpjTrans = new System.Windows.Forms.MaskedTextBox();
     this.lblCnpjCliente = new System.Windows.Forms.Label();
     this.TxtNomRed = new System.Windows.Forms.TextBox();
     this.TxtNom = new System.Windows.Forms.TextBox();
     this.LblNomRed = new System.Windows.Forms.Label();
     this.LblNom = new System.Windows.Forms.Label();
     this.consultaTransportadoraToolStrip = new System.Windows.Forms.ToolStrip();
     this.cNPJToolStripLabel = new System.Windows.Forms.ToolStripLabel();
     this.cNPJToolStripTextBox = new System.Windows.Forms.ToolStripTextBox();
     this.nomeToolStripLabel = new System.Windows.Forms.ToolStripLabel();
     this.nomeToolStripTextBox = new System.Windows.Forms.ToolStripTextBox();
     this.consultaTransportadoraToolStripButton = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
     this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
     this.tRANSPORTADORATableAdapter = new Comercial.COMERCIALDataSetTableAdapters.TRANSPORTADORATableAdapter();
     this.tableAdapterManager = new Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager();
     this.tRANSPORTADORAVIABindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.tRANSPORTADORAVIATableAdapter = new Comercial.COMERCIALDataSetTableAdapters.TRANSPORTADORAVIATableAdapter();
     this.TbCntCadTra.SuspendLayout();
     this.TbPgCadTra.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
     this.grpBxViaTrans.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tRANSPORTADORABindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).BeginInit();
     this.gpbContatotrans.SuspendLayout();
     this.consultaTransportadoraToolStrip.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tRANSPORTADORAVIABindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // TbCntCadTra
     //
     this.TbCntCadTra.Controls.Add(this.TbPgCadTra);
     this.TbCntCadTra.Location = new System.Drawing.Point(12, 32);
     this.TbCntCadTra.Name = "TbCntCadTra";
     this.TbCntCadTra.SelectedIndex = 0;
     this.TbCntCadTra.Size = new System.Drawing.Size(596, 346);
     this.TbCntCadTra.TabIndex = 0;
     //
     // TbPgCadTra
     //
     this.TbPgCadTra.AutoScroll = true;
     this.TbPgCadTra.Controls.Add(this.pictureBox1);
     this.TbPgCadTra.Controls.Add(this.pictureBox2);
     this.TbPgCadTra.Controls.Add(this.grpBxViaTrans);
     this.TbPgCadTra.Controls.Add(this.txtIeCli);
     this.TbPgCadTra.Controls.Add(this.gpbContatotrans);
     this.TbPgCadTra.Controls.Add(this.lblIECliente);
     this.TbPgCadTra.Controls.Add(this.txtCnpjTrans);
     this.TbPgCadTra.Controls.Add(this.lblCnpjCliente);
     this.TbPgCadTra.Controls.Add(this.TxtNomRed);
     this.TbPgCadTra.Controls.Add(this.TxtNom);
     this.TbPgCadTra.Controls.Add(this.LblNomRed);
     this.TbPgCadTra.Controls.Add(this.LblNom);
     this.TbPgCadTra.Location = new System.Drawing.Point(4, 22);
     this.TbPgCadTra.Name = "TbPgCadTra";
     this.TbPgCadTra.Padding = new System.Windows.Forms.Padding(3);
     this.TbPgCadTra.Size = new System.Drawing.Size(588, 320);
     this.TbPgCadTra.TabIndex = 0;
     this.TbPgCadTra.Text = "Cadastro Transportadora";
     this.TbPgCadTra.UseVisualStyleBackColor = true;
     //
     // pictureBox1
     //
     this.pictureBox1.Image = global::Comercial.Properties.Resources.errado;
     this.pictureBox1.Location = new System.Drawing.Point(135, 95);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(24, 24);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox1.TabIndex = 79;
     this.pictureBox1.TabStop = false;
     this.pictureBox1.Visible = false;
     //
     // pictureBox2
     //
     this.pictureBox2.Image = global::Comercial.Properties.Resources.certo;
     this.pictureBox2.Location = new System.Drawing.Point(135, 95);
     this.pictureBox2.Name = "pictureBox2";
     this.pictureBox2.Size = new System.Drawing.Size(24, 24);
     this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
     this.pictureBox2.TabIndex = 80;
     this.pictureBox2.TabStop = false;
     this.pictureBox2.Visible = false;
     //
     // grpBxViaTrans
     //
     this.grpBxViaTrans.Controls.Add(this.chkTerrestre);
     this.grpBxViaTrans.Controls.Add(this.chkMaritimo);
     this.grpBxViaTrans.Controls.Add(this.chkFerroviario);
     this.grpBxViaTrans.Controls.Add(this.chkAereo);
     this.grpBxViaTrans.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxViaTrans.Location = new System.Drawing.Point(414, 6);
     this.grpBxViaTrans.Name = "grpBxViaTrans";
     this.grpBxViaTrans.Size = new System.Drawing.Size(134, 94);
     this.grpBxViaTrans.TabIndex = 78;
     this.grpBxViaTrans.TabStop = false;
     this.grpBxViaTrans.Text = "Via Transporte";
     //
     // chkTerrestre
     //
     this.chkTerrestre.AutoSize = true;
     this.chkTerrestre.Location = new System.Drawing.Point(7, 70);
     this.chkTerrestre.Name = "chkTerrestre";
     this.chkTerrestre.Size = new System.Drawing.Size(77, 17);
     this.chkTerrestre.TabIndex = 8;
     this.chkTerrestre.Text = "Terrestre";
     this.chkTerrestre.UseVisualStyleBackColor = true;
     //
     // chkMaritimo
     //
     this.chkMaritimo.AutoSize = true;
     this.chkMaritimo.Location = new System.Drawing.Point(7, 52);
     this.chkMaritimo.Name = "chkMaritimo";
     this.chkMaritimo.Size = new System.Drawing.Size(73, 17);
     this.chkMaritimo.TabIndex = 7;
     this.chkMaritimo.Text = "Maritimo";
     this.chkMaritimo.UseVisualStyleBackColor = true;
     //
     // chkFerroviario
     //
     this.chkFerroviario.AutoSize = true;
     this.chkFerroviario.Location = new System.Drawing.Point(7, 36);
     this.chkFerroviario.Name = "chkFerroviario";
     this.chkFerroviario.Size = new System.Drawing.Size(86, 17);
     this.chkFerroviario.TabIndex = 6;
     this.chkFerroviario.Text = "Ferroviário";
     this.chkFerroviario.UseVisualStyleBackColor = true;
     //
     // chkAereo
     //
     this.chkAereo.AutoSize = true;
     this.chkAereo.Location = new System.Drawing.Point(7, 20);
     this.chkAereo.Name = "chkAereo";
     this.chkAereo.Size = new System.Drawing.Size(59, 17);
     this.chkAereo.TabIndex = 5;
     this.chkAereo.Text = "Aéreo";
     this.chkAereo.UseVisualStyleBackColor = true;
     //
     // txtIeCli
     //
     this.txtIeCli.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "IE", true));
     this.txtIeCli.Location = new System.Drawing.Point(182, 99);
     this.txtIeCli.Mask = "999,999,999,99";
     this.txtIeCli.Name = "txtIeCli";
     this.txtIeCli.PromptChar = ' ';
     this.txtIeCli.Size = new System.Drawing.Size(131, 20);
     this.txtIeCli.TabIndex = 4;
     this.txtIeCli.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
     //
     // tRANSPORTADORABindingSource
     //
     this.tRANSPORTADORABindingSource.DataMember = "TRANSPORTADORA";
     this.tRANSPORTADORABindingSource.DataSource = this.cOMERCIALDataSet;
     this.tRANSPORTADORABindingSource.PositionChanged += new System.EventHandler(this.tRANSPORTADORABindingSource_PositionChanged_1);
     //
     // cOMERCIALDataSet
     //
     this.cOMERCIALDataSet.DataSetName = "COMERCIALDataSet";
     this.cOMERCIALDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // gpbContatotrans
     //
     this.gpbContatotrans.Controls.Add(this.txtCepTrans);
     this.gpbContatotrans.Controls.Add(this.lblComplemento);
     this.gpbContatotrans.Controls.Add(this.cOMPLEMENTOTextBox);
     this.gpbContatotrans.Controls.Add(this.lblNumero);
     this.gpbContatotrans.Controls.Add(this.NumTrans);
     this.gpbContatotrans.Controls.Add(this.uFComboBox);
     this.gpbContatotrans.Controls.Add(this.lblCeptrans);
     this.gpbContatotrans.Controls.Add(this.txtTeltrans);
     this.gpbContatotrans.Controls.Add(this.txtEmailtrans);
     this.gpbContatotrans.Controls.Add(this.lblEmailtrans);
     this.gpbContatotrans.Controls.Add(this.lblTelefonetrans);
     this.gpbContatotrans.Controls.Add(this.lblUftrans);
     this.gpbContatotrans.Controls.Add(this.txtMunicipiotrans);
     this.gpbContatotrans.Controls.Add(this.lblMunicipiotrans);
     this.gpbContatotrans.Controls.Add(this.txtBairrotrans);
     this.gpbContatotrans.Controls.Add(this.txtEndtrans);
     this.gpbContatotrans.Controls.Add(this.lblBairrotrans);
     this.gpbContatotrans.Controls.Add(this.lblEnderecotrans);
     this.gpbContatotrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gpbContatotrans.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.gpbContatotrans.Location = new System.Drawing.Point(6, 136);
     this.gpbContatotrans.Name = "gpbContatotrans";
     this.gpbContatotrans.Size = new System.Drawing.Size(556, 163);
     this.gpbContatotrans.TabIndex = 73;
     this.gpbContatotrans.TabStop = false;
     this.gpbContatotrans.Text = "Contato";
     //
     // txtCepTrans
     //
     this.txtCepTrans.getText = "";
     this.txtCepTrans.Image = global::Comercial.Properties.Resources.search1;
     this.txtCepTrans.Location = new System.Drawing.Point(6, 42);
     this.txtCepTrans.Name = "txtCepTrans";
     this.txtCepTrans.ShowButton = false;
     this.txtCepTrans.Size = new System.Drawing.Size(117, 25);
     this.txtCepTrans.TabIndex = 51;
     this.txtCepTrans.ButtonClick += new System.EventHandler(this.txtCepTrans_ButtonClick_1);
     //
     // lblComplemento
     //
     this.lblComplemento.AutoSize = true;
     this.lblComplemento.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblComplemento.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblComplemento.Location = new System.Drawing.Point(6, 65);
     this.lblComplemento.Name = "lblComplemento";
     this.lblComplemento.Size = new System.Drawing.Size(82, 13);
     this.lblComplemento.TabIndex = 50;
     this.lblComplemento.Text = "Complemento";
     //
     // cOMPLEMENTOTextBox
     //
     this.cOMPLEMENTOTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "COMPLEMENTO", true));
     this.cOMPLEMENTOTextBox.Location = new System.Drawing.Point(6, 81);
     this.cOMPLEMENTOTextBox.Name = "cOMPLEMENTOTextBox";
     this.cOMPLEMENTOTextBox.Size = new System.Drawing.Size(115, 20);
     this.cOMPLEMENTOTextBox.TabIndex = 12;
     //
     // lblNumero
     //
     this.lblNumero.AutoSize = true;
     this.lblNumero.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNumero.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblNumero.Location = new System.Drawing.Point(477, 26);
     this.lblNumero.Name = "lblNumero";
     this.lblNumero.Size = new System.Drawing.Size(50, 13);
     this.lblNumero.TabIndex = 48;
     this.lblNumero.Text = "Numero";
     //
     // NumTrans
     //
     this.NumTrans.AcceptsReturn = true;
     this.NumTrans.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "NUM", true));
     this.NumTrans.Location = new System.Drawing.Point(480, 42);
     this.NumTrans.Name = "NumTrans";
     this.NumTrans.Size = new System.Drawing.Size(56, 20);
     this.NumTrans.TabIndex = 11;
     this.NumTrans.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.NumTrans_KeyPress);
     //
     // uFComboBox
     //
     this.uFComboBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "UF", true));
     this.uFComboBox.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.tRANSPORTADORABindingSource, "UF", true));
     this.uFComboBox.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.tRANSPORTADORABindingSource, "UF", true));
     this.uFComboBox.FormattingEnabled = true;
     this.uFComboBox.Items.AddRange(new object[] {
     "AC",
     "AL",
     "AM",
     "AP",
     "BA",
     "CE",
     "DF",
     "ES",
     "GO",
     "MA",
     "MG",
     "MS",
     "MT",
     "PA",
     "PB",
     "PE",
     "PI",
     "PR",
     "RJ",
     "RN",
     "RO",
     "RR",
     "RS",
     "SC",
     "SE",
     "SP",
     "TO"});
     this.uFComboBox.Location = new System.Drawing.Point(411, 83);
     this.uFComboBox.Name = "uFComboBox";
     this.uFComboBox.Size = new System.Drawing.Size(121, 21);
     this.uFComboBox.TabIndex = 15;
     //
     // lblCeptrans
     //
     this.lblCeptrans.AutoSize = true;
     this.lblCeptrans.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblCeptrans.Location = new System.Drawing.Point(1, 26);
     this.lblCeptrans.Name = "lblCeptrans";
     this.lblCeptrans.Size = new System.Drawing.Size(29, 13);
     this.lblCeptrans.TabIndex = 44;
     this.lblCeptrans.Text = "Cep";
     //
     // txtTeltrans
     //
     this.txtTeltrans.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "TELEFONE", true));
     this.txtTeltrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtTeltrans.Location = new System.Drawing.Point(9, 120);
     this.txtTeltrans.Mask = "(99) 9999-9999";
     this.txtTeltrans.Name = "txtTeltrans";
     this.txtTeltrans.Size = new System.Drawing.Size(89, 20);
     this.txtTeltrans.TabIndex = 16;
     this.txtTeltrans.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.txtTeltrans.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
     //
     // txtEmailtrans
     //
     this.txtEmailtrans.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "EMAIL", true));
     this.txtEmailtrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtEmailtrans.Location = new System.Drawing.Point(104, 122);
     this.txtEmailtrans.Name = "txtEmailtrans";
     this.txtEmailtrans.Size = new System.Drawing.Size(430, 20);
     this.txtEmailtrans.TabIndex = 17;
     this.txtEmailtrans.TextChanged += new System.EventHandler(this.txtEmailtrans_TextChanged);
     //
     // lblEmailtrans
     //
     this.lblEmailtrans.AutoSize = true;
     this.lblEmailtrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblEmailtrans.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblEmailtrans.Location = new System.Drawing.Point(104, 106);
     this.lblEmailtrans.Name = "lblEmailtrans";
     this.lblEmailtrans.Size = new System.Drawing.Size(42, 13);
     this.lblEmailtrans.TabIndex = 38;
     this.lblEmailtrans.Text = "E-Mail";
     //
     // lblTelefonetrans
     //
     this.lblTelefonetrans.AutoSize = true;
     this.lblTelefonetrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTelefonetrans.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblTelefonetrans.Location = new System.Drawing.Point(6, 104);
     this.lblTelefonetrans.Name = "lblTelefonetrans";
     this.lblTelefonetrans.Size = new System.Drawing.Size(57, 13);
     this.lblTelefonetrans.TabIndex = 37;
     this.lblTelefonetrans.Text = "Telefone";
     //
     // lblUftrans
     //
     this.lblUftrans.AutoSize = true;
     this.lblUftrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblUftrans.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblUftrans.Location = new System.Drawing.Point(410, 67);
     this.lblUftrans.Name = "lblUftrans";
     this.lblUftrans.Size = new System.Drawing.Size(23, 13);
     this.lblUftrans.TabIndex = 34;
     this.lblUftrans.Text = "UF";
     //
     // txtMunicipiotrans
     //
     this.txtMunicipiotrans.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtMunicipiotrans.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "MUNICIPIO", true));
     this.txtMunicipiotrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtMunicipiotrans.Location = new System.Drawing.Point(254, 83);
     this.txtMunicipiotrans.Name = "txtMunicipiotrans";
     this.txtMunicipiotrans.Size = new System.Drawing.Size(151, 20);
     this.txtMunicipiotrans.TabIndex = 14;
     //
     // lblMunicipiotrans
     //
     this.lblMunicipiotrans.AutoSize = true;
     this.lblMunicipiotrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblMunicipiotrans.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblMunicipiotrans.Location = new System.Drawing.Point(251, 67);
     this.lblMunicipiotrans.Name = "lblMunicipiotrans";
     this.lblMunicipiotrans.Size = new System.Drawing.Size(60, 13);
     this.lblMunicipiotrans.TabIndex = 30;
     this.lblMunicipiotrans.Text = "Municípo";
     //
     // txtBairrotrans
     //
     this.txtBairrotrans.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtBairrotrans.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "BAIRRO", true));
     this.txtBairrotrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtBairrotrans.Location = new System.Drawing.Point(127, 82);
     this.txtBairrotrans.Name = "txtBairrotrans";
     this.txtBairrotrans.Size = new System.Drawing.Size(121, 20);
     this.txtBairrotrans.TabIndex = 13;
     //
     // txtEndtrans
     //
     this.txtEndtrans.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
     this.txtEndtrans.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "ENDERECO", true));
     this.txtEndtrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtEndtrans.Location = new System.Drawing.Point(126, 42);
     this.txtEndtrans.Name = "txtEndtrans";
     this.txtEndtrans.Size = new System.Drawing.Size(348, 20);
     this.txtEndtrans.TabIndex = 10;
     //
     // lblBairrotrans
     //
     this.lblBairrotrans.AutoSize = true;
     this.lblBairrotrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblBairrotrans.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblBairrotrans.Location = new System.Drawing.Point(124, 66);
     this.lblBairrotrans.Name = "lblBairrotrans";
     this.lblBairrotrans.Size = new System.Drawing.Size(34, 13);
     this.lblBairrotrans.TabIndex = 27;
     this.lblBairrotrans.Text = "Bairro";
     //
     // lblEnderecotrans
     //
     this.lblEnderecotrans.AutoSize = true;
     this.lblEnderecotrans.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblEnderecotrans.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblEnderecotrans.Location = new System.Drawing.Point(123, 26);
     this.lblEnderecotrans.Name = "lblEnderecotrans";
     this.lblEnderecotrans.Size = new System.Drawing.Size(61, 13);
     this.lblEnderecotrans.TabIndex = 26;
     this.lblEnderecotrans.Text = "Endereço";
     //
     // lblIECliente
     //
     this.lblIECliente.AutoSize = true;
     this.lblIECliente.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblIECliente.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblIECliente.Location = new System.Drawing.Point(179, 83);
     this.lblIECliente.Name = "lblIECliente";
     this.lblIECliente.Size = new System.Drawing.Size(20, 13);
     this.lblIECliente.TabIndex = 74;
     this.lblIECliente.Text = "I.E";
     //
     // txtCnpjTrans
     //
     this.txtCnpjTrans.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "CNPJ", true));
     this.txtCnpjTrans.Location = new System.Drawing.Point(6, 99);
     this.txtCnpjTrans.Mask = "99,999,999/9999-99";
     this.txtCnpjTrans.Name = "txtCnpjTrans";
     this.txtCnpjTrans.PromptChar = ' ';
     this.txtCnpjTrans.Size = new System.Drawing.Size(123, 20);
     this.txtCnpjTrans.TabIndex = 3;
     this.txtCnpjTrans.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
     this.txtCnpjTrans.Leave += new System.EventHandler(this.txtCnpjTrans_Leave);
     //
     // lblCnpjCliente
     //
     this.lblCnpjCliente.AutoSize = true;
     this.lblCnpjCliente.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCnpjCliente.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblCnpjCliente.Location = new System.Drawing.Point(9, 83);
     this.lblCnpjCliente.Name = "lblCnpjCliente";
     this.lblCnpjCliente.Size = new System.Drawing.Size(38, 13);
     this.lblCnpjCliente.TabIndex = 73;
     this.lblCnpjCliente.Text = "CNPJ";
     //
     // TxtNomRed
     //
     this.TxtNomRed.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "NOMEREDUZIDO", true));
     this.TxtNomRed.Location = new System.Drawing.Point(6, 58);
     this.TxtNomRed.Name = "TxtNomRed";
     this.TxtNomRed.Size = new System.Drawing.Size(402, 20);
     this.TxtNomRed.TabIndex = 2;
     //
     // TxtNom
     //
     this.TxtNom.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tRANSPORTADORABindingSource, "NOME", true));
     this.TxtNom.Location = new System.Drawing.Point(6, 19);
     this.TxtNom.Name = "TxtNom";
     this.TxtNom.Size = new System.Drawing.Size(402, 20);
     this.TxtNom.TabIndex = 1;
     this.TxtNom.TextChanged += new System.EventHandler(this.TxtNom_TextChanged);
     //
     // LblNomRed
     //
     this.LblNomRed.AutoSize = true;
     this.LblNomRed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LblNomRed.ForeColor = System.Drawing.Color.CadetBlue;
     this.LblNomRed.Location = new System.Drawing.Point(7, 42);
     this.LblNomRed.Name = "LblNomRed";
     this.LblNomRed.Size = new System.Drawing.Size(78, 13);
     this.LblNomRed.TabIndex = 50;
     this.LblNomRed.Text = "Nome Fantasia";
     //
     // LblNom
     //
     this.LblNom.AutoSize = true;
     this.LblNom.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LblNom.ForeColor = System.Drawing.Color.CadetBlue;
     this.LblNom.Location = new System.Drawing.Point(3, 3);
     this.LblNom.Name = "LblNom";
     this.LblNom.Size = new System.Drawing.Size(82, 13);
     this.LblNom.TabIndex = 1;
     this.LblNom.Text = "Razão Social";
     //
     // consultaTransportadoraToolStrip
     //
     this.consultaTransportadoraToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.cNPJToolStripLabel,
     this.cNPJToolStripTextBox,
     this.nomeToolStripLabel,
     this.nomeToolStripTextBox,
     this.consultaTransportadoraToolStripButton,
     this.toolStripButton3,
     this.toolStripButton2});
     this.consultaTransportadoraToolStrip.Location = new System.Drawing.Point(0, 0);
     this.consultaTransportadoraToolStrip.Name = "consultaTransportadoraToolStrip";
     this.consultaTransportadoraToolStrip.Size = new System.Drawing.Size(628, 25);
     this.consultaTransportadoraToolStrip.TabIndex = 1;
     this.consultaTransportadoraToolStrip.Text = "consultaTransportadoraToolStrip";
     this.consultaTransportadoraToolStrip.Visible = false;
     //
     // cNPJToolStripLabel
     //
     this.cNPJToolStripLabel.Name = "cNPJToolStripLabel";
     this.cNPJToolStripLabel.Size = new System.Drawing.Size(38, 22);
     this.cNPJToolStripLabel.Text = "CNPJ:";
     //
     // cNPJToolStripTextBox
     //
     this.cNPJToolStripTextBox.Name = "cNPJToolStripTextBox";
     this.cNPJToolStripTextBox.Size = new System.Drawing.Size(100, 25);
     //
     // nomeToolStripLabel
     //
     this.nomeToolStripLabel.Name = "nomeToolStripLabel";
     this.nomeToolStripLabel.Size = new System.Drawing.Size(43, 22);
     this.nomeToolStripLabel.Text = "Nome:";
     //
     // nomeToolStripTextBox
     //
     this.nomeToolStripTextBox.Name = "nomeToolStripTextBox";
     this.nomeToolStripTextBox.Size = new System.Drawing.Size(100, 25);
     //
     // consultaTransportadoraToolStripButton
     //
     this.consultaTransportadoraToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.consultaTransportadoraToolStripButton.Image = global::Comercial.Properties.Resources.search1;
     this.consultaTransportadoraToolStripButton.Name = "consultaTransportadoraToolStripButton";
     this.consultaTransportadoraToolStripButton.Size = new System.Drawing.Size(23, 22);
     this.consultaTransportadoraToolStripButton.Text = "ConsultaTransportadora";
     this.consultaTransportadoraToolStripButton.Click += new System.EventHandler(this.consultaTransportadoraToolStripButton_Click);
     //
     // toolStripButton3
     //
     this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
     this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton3.Name = "toolStripButton3";
     this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton3.Text = "Limpar";
     this.toolStripButton3.Click += new System.EventHandler(this.toolStripButton3_Click);
     //
     // toolStripButton2
     //
     this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
     this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.toolStripButton2.Name = "toolStripButton2";
     this.toolStripButton2.Size = new System.Drawing.Size(23, 22);
     this.toolStripButton2.Text = "Cancelar";
     this.toolStripButton2.ToolTipText = "Cancelar";
     this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click_1);
     //
     // tRANSPORTADORATableAdapter
     //
     this.tRANSPORTADORATableAdapter.ClearBeforeFill = true;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.ACESSOTableAdapter = null;
     this.tableAdapterManager.ATUCUBOTableAdapter = null;
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.CLIENTETableAdapter = null;
     this.tableAdapterManager.CONDICAOPAGAMENTOTableAdapter = null;
     this.tableAdapterManager.GRUPOPRODUTOTableAdapter = null;
     this.tableAdapterManager.ICMSTableAdapter = null;
     this.tableAdapterManager.ItemNotaFiscalTableAdapter = null;
     this.tableAdapterManager.ITEMPEDIDOTableAdapter = null;
     this.tableAdapterManager.modeloCampoTableAdapter = null;
     this.tableAdapterManager.modeloTableAdapter = null;
     this.tableAdapterManager.MODULOTableAdapter = null;
     this.tableAdapterManager.NOTAFISCALTableAdapter = null;
     this.tableAdapterManager.PEDIDOTableAdapter = null;
     this.tableAdapterManager.PRODUTOTableAdapter = null;
     this.tableAdapterManager.REGIAOTableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORATableAdapter = this.tRANSPORTADORATableAdapter;
     this.tableAdapterManager.TRANSPORTADORAVIATableAdapter = null;
     this.tableAdapterManager.UNIDADEMEDIDATableAdapter = null;
     this.tableAdapterManager.UpdateOrder = Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     this.tableAdapterManager.USUARIOTableAdapter = null;
     this.tableAdapterManager.VENDEDORTableAdapter = null;
     this.tableAdapterManager.VIATRANSPORTETableAdapter = null;
     //
     // tRANSPORTADORAVIABindingSource
     //
     this.tRANSPORTADORAVIABindingSource.DataMember = "TRANSPORTADORAVIA";
     this.tRANSPORTADORAVIABindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // tRANSPORTADORAVIATableAdapter
     //
     this.tRANSPORTADORAVIATableAdapter.ClearBeforeFill = true;
     //
     // FrmCadTra
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.ClientSize = new System.Drawing.Size(628, 398);
     this.ControlBox = false;
     this.Controls.Add(this.consultaTransportadoraToolStrip);
     this.Controls.Add(this.TbCntCadTra);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmCadTra";
     this.ShowIcon = false;
     this.Text = "Cadastro Transportadora";
     this.Load += new System.EventHandler(this.FrmCadTra_Load);
     this.Shown += new System.EventHandler(this.FrmCadTra_Shown);
     this.TbCntCadTra.ResumeLayout(false);
     this.TbPgCadTra.ResumeLayout(false);
     this.TbPgCadTra.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
     this.grpBxViaTrans.ResumeLayout(false);
     this.grpBxViaTrans.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tRANSPORTADORABindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).EndInit();
     this.gpbContatotrans.ResumeLayout(false);
     this.gpbContatotrans.PerformLayout();
     this.consultaTransportadoraToolStrip.ResumeLayout(false);
     this.consultaTransportadoraToolStrip.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.tRANSPORTADORAVIABindingSource)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
        /// <summary>
        /// Creates the ComicsScreen
        /// </summary>
        public iTunesScreen()
        {
            SnapStream.Logging.WriteLog("iTunes Plugin Started");

            System.Reflection.Assembly a = System.Reflection.Assembly.GetExecutingAssembly();
            System.IO.FileInfo fi = new System.IO.FileInfo( a.Location );

            // Text Objects
            _header = new TextWindow();
            Add( _header );

            _volume = new TextWindow();
            Add( _volume );

            // Create the list viewer
            _list = new VariableItemList();
            //Add( _list );

            // Create control button
            _nextButton = new TextButton();
            _nextButton.Click +=new EventHandler(_nextButton_Click);
            Add(_nextButton);

            // Create control button
            _shuffleButton = new TextButton();
            _shuffleButton.Click +=new EventHandler(_shuffleButton_Click);
            Add(_shuffleButton);

            // Create control button
            _searchButton = new TextButton();
            _searchButton.Click +=new EventHandler(_searchButton_Click);
            Add(_searchButton);

            // Search
            _searchEntry = new TextEntry();
            Add( _searchEntry );
            _searchEntry.Accept += new EventHandler(SearchEntry_Accept);
            _searchEntry.Cancel += new EventHandler(SearchEntry_Cancel);

            // Create control button
            _playallButton = new TextButton();
            _playallButton.Click +=new EventHandler(_playallButton_Click);
            Add(_playallButton);

            _list.ItemActivated += new ItemActivatedEventHandler(List_ItemActivated);
            _list.Visible = true;
            _list.Focus();

            misc1 = new TextWindow();
            misc1.RelativeBounds = new Rectangle(210,170,200,40);
            misc1.FontSize = 20;
            misc1.Text = "(N or >> button on Firefly)";
            Add(misc1);

            misc2 = new TextWindow();
            misc2.RelativeBounds = new Rectangle(210,210,300,40);
            misc2.FontSize = 20;
            misc2.Text = "(S or A button on Firefly)";
            Add(misc2);

            misc3 = new TextWindow();
            misc3.RelativeBounds = new Rectangle(0,240,400,40);
            misc3.FontSize = 20;
            misc3.Text = "+/- controls volume on keyboard and Firefly remote";
            Add(misc3);

            // Create the windows media player object
            wmp = new WMPLib.WindowsMediaPlayerClass();

            // Create the timer
            updateTimer = new Timer();
            updateTimer.Interval = 1000;
            updateTimer.Tick += new EventHandler(updateTimer_Tick);

            return;
        }
 /// <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(FrmCadPed));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     this.BtmTlStrpnlPedVenda = new System.Windows.Forms.ToolStripPanel();
     this.TopToolStripPanel = new System.Windows.Forms.ToolStripPanel();
     this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
     this.tbCntrlPedVend = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.grpBxPedVenda = new System.Windows.Forms.GroupBox();
     this.txtFrete = new System.Windows.Forms.MaskedTextBox();
     this.pEDIDOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cOMERCIALDataSet = new Comercial.COMERCIALDataSet();
     this.lblFrete = new System.Windows.Forms.Label();
     this.grpTipoPedido = new System.Windows.Forms.GroupBox();
     this.chkComplemento = new System.Windows.Forms.CheckBox();
     this.chkNormal = new System.Windows.Forms.CheckBox();
     this.grpBxSitPed = new System.Windows.Forms.GroupBox();
     this.chkCancelado = new System.Windows.Forms.CheckBox();
     this.chkPendente = new System.Windows.Forms.CheckBox();
     this.chkEfetivado = new System.Windows.Forms.CheckBox();
     this.dtpEntrega = new System.Windows.Forms.DateTimePicker();
     this.label1 = new System.Windows.Forms.Label();
     this.dtpEmissao = new System.Windows.Forms.DateTimePicker();
     this.txtNomeTransportadora = new System.Windows.Forms.TextBox();
     this.vENDEDORBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.lbldtemi = new System.Windows.Forms.Label();
     this.lblNomeTransportadora = new System.Windows.Forms.Label();
     this.txtNomeVendedor = new System.Windows.Forms.TextBox();
     this.txtNomeCliente = new System.Windows.Forms.TextBox();
     this.cLIENTEBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.txtPedido = new System.Windows.Forms.TextBox();
     this.lbltpfre = new System.Windows.Forms.Label();
     this.lblcondp = new System.Windows.Forms.Label();
     this.lblnomven = new System.Windows.Forms.Label();
     this.lclcodven = new System.Windows.Forms.Label();
     this.lblnomecli = new System.Windows.Forms.Label();
     this.lblcodcli = new System.Windows.Forms.Label();
     this.lblnumPed = new System.Windows.Forms.Label();
     this.grpBxItPedVen = new System.Windows.Forms.GroupBox();
     this.lblValortotal = new System.Windows.Forms.Label();
     this.lblValortotalPed = new System.Windows.Forms.Label();
     this.txtValorTotal = new System.Windows.Forms.TextBox();
     this.lblTotal = new System.Windows.Forms.Label();
     this.txtQtdItem = new System.Windows.Forms.TextBox();
     this.LblqtdItem = new System.Windows.Forms.Label();
     this.btnAdditen = new System.Windows.Forms.Button();
     this.lblDesconto = new System.Windows.Forms.Label();
     this.txtDesconto = new System.Windows.Forms.TextBox();
     this.pnlItenped = new System.Windows.Forms.Panel();
     this.dtgrdvItenspven = new System.Windows.Forms.DataGridView();
     this.txtipi = new System.Windows.Forms.TextBox();
     this.LblIPI = new System.Windows.Forms.Label();
     this.txtPrcUnit = new System.Windows.Forms.TextBox();
     this.LblPrcVen = new System.Windows.Forms.Label();
     this.txtEstAtual = new System.Windows.Forms.TextBox();
     this.LblEstAtu = new System.Windows.Forms.Label();
     this.txtUM = new System.Windows.Forms.TextBox();
     this.LblUm = new System.Windows.Forms.Label();
     this.txtDescprod = new System.Windows.Forms.TextBox();
     this.LbDescProd = new System.Windows.Forms.Label();
     this.lblCodProd = new System.Windows.Forms.Label();
     this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn();
     this.pRODUTOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.iTEMPEDIDOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.tRANSPORTADORABindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cONDICAOPAGAMENTOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.pEDIDOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.PEDIDOTableAdapter();
     this.tableAdapterManager = new Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager();
     this.tRANSPORTADORATableAdapter = new Comercial.COMERCIALDataSetTableAdapters.TRANSPORTADORATableAdapter();
     this.vENDEDORTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.VENDEDORTableAdapter();
     this.cLIENTETableAdapter = new Comercial.COMERCIALDataSetTableAdapters.CLIENTETableAdapter();
     this.cONDICAOPAGAMENTOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.CONDICAOPAGAMENTOTableAdapter();
     this.iTEMPEDIDOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.ITEMPEDIDOTableAdapter();
     this.pRODUTOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.PRODUTOTableAdapter();
     this.txtCodTransportadora = new Comercial.TextButton();
     this.txtCondPagto = new Comercial.TextButton();
     this.txtCodVendedor = new Comercial.TextButton();
     this.txtcodCli = new Comercial.TextButton();
     this.txtProduto = new Comercial.TextButton();
     this.Delete = new System.Windows.Forms.DataGridViewImageColumn();
     this.ClmItem = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColProd = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmDescProd = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmQtde = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.QUANTIDADELIB = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmPrcUnit = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmIPI = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColDesconto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColTotal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Status = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tbCntrlPedVend.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.grpBxPedVenda.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pEDIDOBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).BeginInit();
     this.grpTipoPedido.SuspendLayout();
     this.grpBxSitPed.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.vENDEDORBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cLIENTEBindingSource)).BeginInit();
     this.grpBxItPedVen.SuspendLayout();
     this.pnlItenped.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtgrdvItenspven)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pRODUTOBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.iTEMPEDIDOBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tRANSPORTADORABindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cONDICAOPAGAMENTOBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // BtmTlStrpnlPedVenda
     //
     this.BtmTlStrpnlPedVenda.Location = new System.Drawing.Point(0, 0);
     this.BtmTlStrpnlPedVenda.Name = "BtmTlStrpnlPedVenda";
     this.BtmTlStrpnlPedVenda.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.BtmTlStrpnlPedVenda.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.BtmTlStrpnlPedVenda.Size = new System.Drawing.Size(0, 0);
     //
     // TopToolStripPanel
     //
     this.TopToolStripPanel.Location = new System.Drawing.Point(0, 0);
     this.TopToolStripPanel.Name = "TopToolStripPanel";
     this.TopToolStripPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.TopToolStripPanel.RowMargin = new System.Windows.Forms.Padding(3, 0, 0, 0);
     this.TopToolStripPanel.Size = new System.Drawing.Size(0, 0);
     //
     // dataGridViewImageColumn1
     //
     this.dataGridViewImageColumn1.HeaderText = "Column3";
     this.dataGridViewImageColumn1.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Stretch;
     this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
     //
     // tbCntrlPedVend
     //
     this.tbCntrlPedVend.Controls.Add(this.tabPage1);
     this.tbCntrlPedVend.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbCntrlPedVend.Location = new System.Drawing.Point(12, 12);
     this.tbCntrlPedVend.Name = "tbCntrlPedVend";
     this.tbCntrlPedVend.SelectedIndex = 0;
     this.tbCntrlPedVend.Size = new System.Drawing.Size(999, 524);
     this.tbCntrlPedVend.TabIndex = 2001;
     //
     // tabPage1
     //
     this.tabPage1.AutoScroll = true;
     this.tabPage1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
     this.tabPage1.Controls.Add(this.grpBxPedVenda);
     this.tabPage1.Controls.Add(this.grpBxItPedVen);
     this.tabPage1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tabPage1.ForeColor = System.Drawing.Color.WhiteSmoke;
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(991, 498);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Pedidos de Vendas";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // grpBxPedVenda
     //
     this.grpBxPedVenda.Controls.Add(this.txtFrete);
     this.grpBxPedVenda.Controls.Add(this.lblFrete);
     this.grpBxPedVenda.Controls.Add(this.grpTipoPedido);
     this.grpBxPedVenda.Controls.Add(this.grpBxSitPed);
     this.grpBxPedVenda.Controls.Add(this.dtpEntrega);
     this.grpBxPedVenda.Controls.Add(this.label1);
     this.grpBxPedVenda.Controls.Add(this.txtCodTransportadora);
     this.grpBxPedVenda.Controls.Add(this.dtpEmissao);
     this.grpBxPedVenda.Controls.Add(this.txtNomeTransportadora);
     this.grpBxPedVenda.Controls.Add(this.lbldtemi);
     this.grpBxPedVenda.Controls.Add(this.lblNomeTransportadora);
     this.grpBxPedVenda.Controls.Add(this.txtCondPagto);
     this.grpBxPedVenda.Controls.Add(this.txtCodVendedor);
     this.grpBxPedVenda.Controls.Add(this.txtcodCli);
     this.grpBxPedVenda.Controls.Add(this.txtNomeVendedor);
     this.grpBxPedVenda.Controls.Add(this.txtNomeCliente);
     this.grpBxPedVenda.Controls.Add(this.txtPedido);
     this.grpBxPedVenda.Controls.Add(this.lbltpfre);
     this.grpBxPedVenda.Controls.Add(this.lblcondp);
     this.grpBxPedVenda.Controls.Add(this.lblnomven);
     this.grpBxPedVenda.Controls.Add(this.lclcodven);
     this.grpBxPedVenda.Controls.Add(this.lblnomecli);
     this.grpBxPedVenda.Controls.Add(this.lblcodcli);
     this.grpBxPedVenda.Controls.Add(this.lblnumPed);
     this.grpBxPedVenda.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grpBxPedVenda.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxPedVenda.Location = new System.Drawing.Point(11, 13);
     this.grpBxPedVenda.Name = "grpBxPedVenda";
     this.grpBxPedVenda.Size = new System.Drawing.Size(949, 130);
     this.grpBxPedVenda.TabIndex = 17;
     this.grpBxPedVenda.TabStop = false;
     this.grpBxPedVenda.Text = "Pedido Venda";
     //
     // txtFrete
     //
     this.txtFrete.BeepOnError = true;
     this.txtFrete.CutCopyMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
     this.txtFrete.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pEDIDOBindingSource, "VALORFRETE", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged, null, "C2"));
     this.txtFrete.Enabled = false;
     this.txtFrete.InsertKeyMode = System.Windows.Forms.InsertKeyMode.Insert;
     this.txtFrete.Location = new System.Drawing.Point(442, 78);
     this.txtFrete.Name = "txtFrete";
     this.txtFrete.PromptChar = ' ';
     this.txtFrete.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.txtFrete.Size = new System.Drawing.Size(75, 20);
     this.txtFrete.TabIndex = 119;
     this.txtFrete.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.txtFrete.TextMaskFormat = System.Windows.Forms.MaskFormat.ExcludePromptAndLiterals;
     //
     // pEDIDOBindingSource
     //
     this.pEDIDOBindingSource.DataMember = "PEDIDO";
     this.pEDIDOBindingSource.DataSource = this.cOMERCIALDataSet;
     this.pEDIDOBindingSource.PositionChanged += new System.EventHandler(this.pEDIDOBindingSource_PositionChanged);
     //
     // cOMERCIALDataSet
     //
     this.cOMERCIALDataSet.DataSetName = "COMERCIALDataSet";
     this.cOMERCIALDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // lblFrete
     //
     this.lblFrete.AutoSize = true;
     this.lblFrete.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblFrete.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblFrete.Location = new System.Drawing.Point(440, 63);
     this.lblFrete.Name = "lblFrete";
     this.lblFrete.Size = new System.Drawing.Size(64, 13);
     this.lblFrete.TabIndex = 118;
     this.lblFrete.Text = "Valor Frete :";
     //
     // grpTipoPedido
     //
     this.grpTipoPedido.Controls.Add(this.chkComplemento);
     this.grpTipoPedido.Controls.Add(this.chkNormal);
     this.grpTipoPedido.ForeColor = System.Drawing.Color.CadetBlue;
     this.grpTipoPedido.Location = new System.Drawing.Point(523, 58);
     this.grpTipoPedido.Name = "grpTipoPedido";
     this.grpTipoPedido.Size = new System.Drawing.Size(108, 52);
     this.grpTipoPedido.TabIndex = 90;
     this.grpTipoPedido.TabStop = false;
     this.grpTipoPedido.Text = "Tipo Pedido";
     //
     // chkComplemento
     //
     this.chkComplemento.AutoSize = true;
     this.chkComplemento.Location = new System.Drawing.Point(6, 29);
     this.chkComplemento.Name = "chkComplemento";
     this.chkComplemento.Size = new System.Drawing.Size(98, 17);
     this.chkComplemento.TabIndex = 1;
     this.chkComplemento.Text = "Complemeto ";
     this.chkComplemento.UseVisualStyleBackColor = true;
     this.chkComplemento.CheckedChanged += new System.EventHandler(this.chkComplemento_CheckedChanged);
     //
     // chkNormal
     //
     this.chkNormal.AutoSize = true;
     this.chkNormal.Location = new System.Drawing.Point(6, 14);
     this.chkNormal.Name = "chkNormal";
     this.chkNormal.Size = new System.Drawing.Size(65, 17);
     this.chkNormal.TabIndex = 0;
     this.chkNormal.Text = "Normal";
     this.chkNormal.UseVisualStyleBackColor = true;
     this.chkNormal.CheckedChanged += new System.EventHandler(this.chkNormal_CheckedChanged);
     //
     // grpBxSitPed
     //
     this.grpBxSitPed.Controls.Add(this.chkCancelado);
     this.grpBxSitPed.Controls.Add(this.chkPendente);
     this.grpBxSitPed.Controls.Add(this.chkEfetivado);
     this.grpBxSitPed.ForeColor = System.Drawing.Color.CadetBlue;
     this.grpBxSitPed.Location = new System.Drawing.Point(838, 18);
     this.grpBxSitPed.Name = "grpBxSitPed";
     this.grpBxSitPed.Size = new System.Drawing.Size(91, 85);
     this.grpBxSitPed.TabIndex = 89;
     this.grpBxSitPed.TabStop = false;
     this.grpBxSitPed.Text = "Situação ";
     //
     // chkCancelado
     //
     this.chkCancelado.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.chkCancelado.Location = new System.Drawing.Point(6, 54);
     this.chkCancelado.Name = "chkCancelado";
     this.chkCancelado.Size = new System.Drawing.Size(92, 26);
     this.chkCancelado.TabIndex = 50;
     this.chkCancelado.Text = "Cancelado";
     this.chkCancelado.UseVisualStyleBackColor = true;
     //
     // chkPendente
     //
     this.chkPendente.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.chkPendente.Checked = true;
     this.chkPendente.CheckState = System.Windows.Forms.CheckState.Checked;
     this.chkPendente.Location = new System.Drawing.Point(6, 32);
     this.chkPendente.Name = "chkPendente";
     this.chkPendente.Size = new System.Drawing.Size(85, 26);
     this.chkPendente.TabIndex = 49;
     this.chkPendente.Text = "Pendente";
     this.chkPendente.UseVisualStyleBackColor = true;
     //
     // chkEfetivado
     //
     this.chkEfetivado.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.chkEfetivado.Location = new System.Drawing.Point(6, 10);
     this.chkEfetivado.Name = "chkEfetivado";
     this.chkEfetivado.Size = new System.Drawing.Size(92, 30);
     this.chkEfetivado.TabIndex = 48;
     this.chkEfetivado.Text = "Efetivado";
     this.chkEfetivado.UseVisualStyleBackColor = true;
     //
     // dtpEntrega
     //
     this.dtpEntrega.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pEDIDOBindingSource, "DATAENTREGA", true));
     this.dtpEntrega.Format = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dtpEntrega.Location = new System.Drawing.Point(742, 76);
     this.dtpEntrega.Name = "dtpEntrega";
     this.dtpEntrega.Size = new System.Drawing.Size(90, 20);
     this.dtpEntrega.TabIndex = 97;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.CadetBlue;
     this.label1.Location = new System.Drawing.Point(739, 59);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(73, 13);
     this.label1.TabIndex = 96;
     this.label1.Text = "Data Entrega:";
     //
     // dtpEmissao
     //
     this.dtpEmissao.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pEDIDOBindingSource, "DATAEMISSAO", true));
     this.dtpEmissao.Enabled = false;
     this.dtpEmissao.Format = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dtpEmissao.Location = new System.Drawing.Point(640, 75);
     this.dtpEmissao.Name = "dtpEmissao";
     this.dtpEmissao.Size = new System.Drawing.Size(96, 20);
     this.dtpEmissao.TabIndex = 92;
     //
     // txtNomeTransportadora
     //
     this.txtNomeTransportadora.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.vENDEDORBindingSource, "NOME", true));
     this.txtNomeTransportadora.Location = new System.Drawing.Point(164, 79);
     this.txtNomeTransportadora.Name = "txtNomeTransportadora";
     this.txtNomeTransportadora.Size = new System.Drawing.Size(184, 20);
     this.txtNomeTransportadora.TabIndex = 94;
     //
     // vENDEDORBindingSource
     //
     this.vENDEDORBindingSource.DataMember = "VENDEDOR";
     this.vENDEDORBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // lbldtemi
     //
     this.lbldtemi.AutoSize = true;
     this.lbldtemi.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbldtemi.ForeColor = System.Drawing.Color.CadetBlue;
     this.lbldtemi.Location = new System.Drawing.Point(637, 57);
     this.lbldtemi.Name = "lbldtemi";
     this.lbldtemi.Size = new System.Drawing.Size(75, 13);
     this.lbldtemi.TabIndex = 91;
     this.lbldtemi.Text = "Data Emissão:";
     //
     // lblNomeTransportadora
     //
     this.lblNomeTransportadora.AutoSize = true;
     this.lblNomeTransportadora.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNomeTransportadora.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblNomeTransportadora.Location = new System.Drawing.Point(161, 62);
     this.lblNomeTransportadora.Name = "lblNomeTransportadora";
     this.lblNomeTransportadora.Size = new System.Drawing.Size(184, 13);
     this.lblNomeTransportadora.TabIndex = 93;
     this.lblNomeTransportadora.Text = "Nome / Razão Social Transportadora";
     //
     // txtNomeVendedor
     //
     this.txtNomeVendedor.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.vENDEDORBindingSource, "NOME", true));
     this.txtNomeVendedor.Location = new System.Drawing.Point(595, 34);
     this.txtNomeVendedor.Name = "txtNomeVendedor";
     this.txtNomeVendedor.Size = new System.Drawing.Size(237, 20);
     this.txtNomeVendedor.TabIndex = 84;
     //
     // txtNomeCliente
     //
     this.txtNomeCliente.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.cLIENTEBindingSource, "RAZAOSOCIAL", true));
     this.txtNomeCliente.Location = new System.Drawing.Point(233, 36);
     this.txtNomeCliente.Name = "txtNomeCliente";
     this.txtNomeCliente.Size = new System.Drawing.Size(219, 20);
     this.txtNomeCliente.TabIndex = 82;
     //
     // cLIENTEBindingSource
     //
     this.cLIENTEBindingSource.DataMember = "CLIENTE";
     this.cLIENTEBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // txtPedido
     //
     this.txtPedido.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pEDIDOBindingSource, "NRPEDIDO", true));
     this.txtPedido.Enabled = false;
     this.txtPedido.Location = new System.Drawing.Point(14, 37);
     this.txtPedido.Name = "txtPedido";
     this.txtPedido.Size = new System.Drawing.Size(80, 20);
     this.txtPedido.TabIndex = 18;
     //
     // lbltpfre
     //
     this.lbltpfre.AutoSize = true;
     this.lbltpfre.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lbltpfre.ForeColor = System.Drawing.Color.CadetBlue;
     this.lbltpfre.Location = new System.Drawing.Point(11, 65);
     this.lbltpfre.Name = "lbltpfre";
     this.lbltpfre.Size = new System.Drawing.Size(97, 13);
     this.lbltpfre.TabIndex = 73;
     this.lbltpfre.Text = "Transportadora:";
     //
     // lblcondp
     //
     this.lblcondp.AutoSize = true;
     this.lblcondp.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblcondp.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblcondp.Location = new System.Drawing.Point(355, 62);
     this.lblcondp.Name = "lblcondp";
     this.lblcondp.Size = new System.Drawing.Size(74, 13);
     this.lblcondp.TabIndex = 70;
     this.lblcondp.Text = "Cond. Pgto:";
     //
     // lblnomven
     //
     this.lblnomven.AutoSize = true;
     this.lblnomven.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblnomven.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblnomven.Location = new System.Drawing.Point(592, 16);
     this.lblnomven.Name = "lblnomven";
     this.lblnomven.Size = new System.Drawing.Size(161, 13);
     this.lblnomven.TabIndex = 68;
     this.lblnomven.Text = "Nome / Razão Social Vendedor:";
     //
     // lclcodven
     //
     this.lclcodven.AutoSize = true;
     this.lclcodven.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lclcodven.ForeColor = System.Drawing.Color.CadetBlue;
     this.lclcodven.Location = new System.Drawing.Point(454, 18);
     this.lclcodven.Name = "lclcodven";
     this.lclcodven.Size = new System.Drawing.Size(108, 13);
     this.lclcodven.TabIndex = 65;
     this.lclcodven.Text = "Código Vendedor:";
     //
     // lblnomecli
     //
     this.lblnomecli.AutoSize = true;
     this.lblnomecli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblnomecli.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblnomecli.Location = new System.Drawing.Point(230, 20);
     this.lblnomecli.Name = "lblnomecli";
     this.lblnomecli.Size = new System.Drawing.Size(147, 13);
     this.lblnomecli.TabIndex = 57;
     this.lblnomecli.Text = "Nome / Razão Social Cliente:";
     //
     // lblcodcli
     //
     this.lblcodcli.AutoSize = true;
     this.lblcodcli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblcodcli.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblcodcli.Location = new System.Drawing.Point(101, 20);
     this.lblcodcli.Name = "lblcodcli";
     this.lblcodcli.Size = new System.Drawing.Size(93, 13);
     this.lblcodcli.TabIndex = 54;
     this.lblcodcli.Text = "Código Cliente:";
     //
     // lblnumPed
     //
     this.lblnumPed.AutoSize = true;
     this.lblnumPed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblnumPed.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblnumPed.Location = new System.Drawing.Point(11, 20);
     this.lblnumPed.Name = "lblnumPed";
     this.lblnumPed.Size = new System.Drawing.Size(83, 13);
     this.lblnumPed.TabIndex = 52;
     this.lblnumPed.Text = "Numero Pedido:";
     //
     // grpBxItPedVen
     //
     this.grpBxItPedVen.Controls.Add(this.lblValortotal);
     this.grpBxItPedVen.Controls.Add(this.lblValortotalPed);
     this.grpBxItPedVen.Controls.Add(this.txtValorTotal);
     this.grpBxItPedVen.Controls.Add(this.lblTotal);
     this.grpBxItPedVen.Controls.Add(this.txtQtdItem);
     this.grpBxItPedVen.Controls.Add(this.LblqtdItem);
     this.grpBxItPedVen.Controls.Add(this.txtProduto);
     this.grpBxItPedVen.Controls.Add(this.btnAdditen);
     this.grpBxItPedVen.Controls.Add(this.lblDesconto);
     this.grpBxItPedVen.Controls.Add(this.txtDesconto);
     this.grpBxItPedVen.Controls.Add(this.pnlItenped);
     this.grpBxItPedVen.Controls.Add(this.txtipi);
     this.grpBxItPedVen.Controls.Add(this.LblIPI);
     this.grpBxItPedVen.Controls.Add(this.txtPrcUnit);
     this.grpBxItPedVen.Controls.Add(this.LblPrcVen);
     this.grpBxItPedVen.Controls.Add(this.txtEstAtual);
     this.grpBxItPedVen.Controls.Add(this.LblEstAtu);
     this.grpBxItPedVen.Controls.Add(this.txtUM);
     this.grpBxItPedVen.Controls.Add(this.LblUm);
     this.grpBxItPedVen.Controls.Add(this.txtDescprod);
     this.grpBxItPedVen.Controls.Add(this.LbDescProd);
     this.grpBxItPedVen.Controls.Add(this.lblCodProd);
     this.grpBxItPedVen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grpBxItPedVen.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxItPedVen.Location = new System.Drawing.Point(11, 145);
     this.grpBxItPedVen.Name = "grpBxItPedVen";
     this.grpBxItPedVen.Size = new System.Drawing.Size(918, 347);
     this.grpBxItPedVen.TabIndex = 16;
     this.grpBxItPedVen.TabStop = false;
     this.grpBxItPedVen.Text = "Itens Pedido Venda";
     //
     // lblValortotal
     //
     this.lblValortotal.AutoSize = true;
     this.lblValortotal.Location = new System.Drawing.Point(800, 319);
     this.lblValortotal.Name = "lblValortotal";
     this.lblValortotal.Size = new System.Drawing.Size(0, 13);
     this.lblValortotal.TabIndex = 114;
     //
     // lblValortotalPed
     //
     this.lblValortotalPed.AutoSize = true;
     this.lblValortotalPed.Location = new System.Drawing.Point(676, 319);
     this.lblValortotalPed.Name = "lblValortotalPed";
     this.lblValortotalPed.Size = new System.Drawing.Size(116, 13);
     this.lblValortotalPed.TabIndex = 113;
     this.lblValortotalPed.Text = "Valor Total Pedido:";
     //
     // txtValorTotal
     //
     this.txtValorTotal.Location = new System.Drawing.Point(758, 283);
     this.txtValorTotal.Name = "txtValorTotal";
     this.txtValorTotal.Size = new System.Drawing.Size(70, 20);
     this.txtValorTotal.TabIndex = 110;
     //
     // lblTotal
     //
     this.lblTotal.AutoSize = true;
     this.lblTotal.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTotal.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblTotal.Location = new System.Drawing.Point(755, 267);
     this.lblTotal.Name = "lblTotal";
     this.lblTotal.Size = new System.Drawing.Size(77, 13);
     this.lblTotal.TabIndex = 112;
     this.lblTotal.Text = "Valor Total :";
     //
     // txtQtdItem
     //
     this.txtQtdItem.Location = new System.Drawing.Point(679, 283);
     this.txtQtdItem.Name = "txtQtdItem";
     this.txtQtdItem.Size = new System.Drawing.Size(70, 20);
     this.txtQtdItem.TabIndex = 109;
     this.txtQtdItem.TextChanged += new System.EventHandler(this.txtQtdItem_TextChanged);
     //
     // LblqtdItem
     //
     this.LblqtdItem.AutoSize = true;
     this.LblqtdItem.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LblqtdItem.ForeColor = System.Drawing.Color.CadetBlue;
     this.LblqtdItem.Location = new System.Drawing.Point(676, 267);
     this.LblqtdItem.Name = "LblqtdItem";
     this.LblqtdItem.Size = new System.Drawing.Size(76, 13);
     this.LblqtdItem.TabIndex = 111;
     this.LblqtdItem.Text = "Quantidade:";
     //
     // btnAdditen
     //
     this.btnAdditen.Image = ((System.Drawing.Image)(resources.GetObject("btnAdditen.Image")));
     this.btnAdditen.Location = new System.Drawing.Point(835, 283);
     this.btnAdditen.Name = "btnAdditen";
     this.btnAdditen.Size = new System.Drawing.Size(37, 23);
     this.btnAdditen.TabIndex = 107;
     this.btnAdditen.UseVisualStyleBackColor = true;
     this.btnAdditen.Click += new System.EventHandler(this.btnAdditen_Click);
     //
     // lblDesconto
     //
     this.lblDesconto.AutoSize = true;
     this.lblDesconto.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDesconto.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblDesconto.Location = new System.Drawing.Point(609, 267);
     this.lblDesconto.Name = "lblDesconto";
     this.lblDesconto.Size = new System.Drawing.Size(53, 13);
     this.lblDesconto.TabIndex = 105;
     this.lblDesconto.Text = "Desconto";
     //
     // txtDesconto
     //
     this.txtDesconto.Location = new System.Drawing.Point(609, 283);
     this.txtDesconto.Name = "txtDesconto";
     this.txtDesconto.Size = new System.Drawing.Size(61, 20);
     this.txtDesconto.TabIndex = 104;
     //
     // pnlItenped
     //
     this.pnlItenped.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.pnlItenped.Controls.Add(this.dtgrdvItenspven);
     this.pnlItenped.Location = new System.Drawing.Point(39, 19);
     this.pnlItenped.Name = "pnlItenped";
     this.pnlItenped.Size = new System.Drawing.Size(867, 235);
     this.pnlItenped.TabIndex = 100;
     //
     // dtgrdvItenspven
     //
     this.dtgrdvItenspven.AllowUserToAddRows = false;
     this.dtgrdvItenspven.AllowUserToDeleteRows = false;
     this.dtgrdvItenspven.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dtgrdvItenspven.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.Delete,
     this.ClmItem,
     this.ColProd,
     this.ClmDescProd,
     this.ClmQtde,
     this.QUANTIDADELIB,
     this.ClmPrcUnit,
     this.ClmIPI,
     this.ColDesconto,
     this.ColTotal,
     this.Status});
     this.dtgrdvItenspven.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dtgrdvItenspven.GridColor = System.Drawing.Color.WhiteSmoke;
     this.dtgrdvItenspven.Location = new System.Drawing.Point(0, 0);
     this.dtgrdvItenspven.Name = "dtgrdvItenspven";
     this.dtgrdvItenspven.ReadOnly = true;
     this.dtgrdvItenspven.Size = new System.Drawing.Size(867, 235);
     this.dtgrdvItenspven.TabIndex = 25;
     this.dtgrdvItenspven.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dtgrdvItenspven_CellClick);
     //
     // txtipi
     //
     this.txtipi.Location = new System.Drawing.Point(533, 284);
     this.txtipi.Name = "txtipi";
     this.txtipi.Size = new System.Drawing.Size(70, 20);
     this.txtipi.TabIndex = 20;
     //
     // LblIPI
     //
     this.LblIPI.AutoSize = true;
     this.LblIPI.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LblIPI.ForeColor = System.Drawing.Color.CadetBlue;
     this.LblIPI.Location = new System.Drawing.Point(530, 268);
     this.LblIPI.Name = "LblIPI";
     this.LblIPI.Size = new System.Drawing.Size(37, 13);
     this.LblIPI.TabIndex = 94;
     this.LblIPI.Text = "IPI % :";
     //
     // txtPrcUnit
     //
     this.txtPrcUnit.Location = new System.Drawing.Point(454, 284);
     this.txtPrcUnit.Name = "txtPrcUnit";
     this.txtPrcUnit.Size = new System.Drawing.Size(70, 20);
     this.txtPrcUnit.TabIndex = 16;
     //
     // LblPrcVen
     //
     this.LblPrcVen.AutoSize = true;
     this.LblPrcVen.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LblPrcVen.ForeColor = System.Drawing.Color.CadetBlue;
     this.LblPrcVen.Location = new System.Drawing.Point(451, 268);
     this.LblPrcVen.Name = "LblPrcVen";
     this.LblPrcVen.Size = new System.Drawing.Size(80, 13);
     this.LblPrcVen.TabIndex = 84;
     this.LblPrcVen.Text = "Preço Venda";
     //
     // txtEstAtual
     //
     this.txtEstAtual.Location = new System.Drawing.Point(375, 284);
     this.txtEstAtual.Name = "txtEstAtual";
     this.txtEstAtual.Size = new System.Drawing.Size(70, 20);
     this.txtEstAtual.TabIndex = 15;
     //
     // LblEstAtu
     //
     this.LblEstAtu.AutoSize = true;
     this.LblEstAtu.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LblEstAtu.ForeColor = System.Drawing.Color.CadetBlue;
     this.LblEstAtu.Location = new System.Drawing.Point(372, 268);
     this.LblEstAtu.Name = "LblEstAtu";
     this.LblEstAtu.Size = new System.Drawing.Size(73, 13);
     this.LblEstAtu.TabIndex = 82;
     this.LblEstAtu.Text = "Estoque Atual";
     //
     // txtUM
     //
     this.txtUM.Location = new System.Drawing.Point(331, 284);
     this.txtUM.Name = "txtUM";
     this.txtUM.Size = new System.Drawing.Size(38, 20);
     this.txtUM.TabIndex = 14;
     //
     // LblUm
     //
     this.LblUm.AutoSize = true;
     this.LblUm.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LblUm.ForeColor = System.Drawing.Color.CadetBlue;
     this.LblUm.Location = new System.Drawing.Point(328, 268);
     this.LblUm.Name = "LblUm";
     this.LblUm.Size = new System.Drawing.Size(24, 13);
     this.LblUm.TabIndex = 80;
     this.LblUm.Text = "UM";
     //
     // txtDescprod
     //
     this.txtDescprod.Location = new System.Drawing.Point(140, 284);
     this.txtDescprod.Name = "txtDescprod";
     this.txtDescprod.Size = new System.Drawing.Size(185, 20);
     this.txtDescprod.TabIndex = 13;
     //
     // LbDescProd
     //
     this.LbDescProd.AutoSize = true;
     this.LbDescProd.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.LbDescProd.ForeColor = System.Drawing.Color.CadetBlue;
     this.LbDescProd.Location = new System.Drawing.Point(137, 267);
     this.LbDescProd.Name = "LbDescProd";
     this.LbDescProd.Size = new System.Drawing.Size(95, 13);
     this.LbDescProd.TabIndex = 78;
     this.LbDescProd.Text = "Descrição Produto";
     //
     // lblCodProd
     //
     this.lblCodProd.AutoSize = true;
     this.lblCodProd.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCodProd.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblCodProd.Location = new System.Drawing.Point(44, 268);
     this.lblCodProd.Name = "lblCodProd";
     this.lblCodProd.Size = new System.Drawing.Size(94, 13);
     this.lblCodProd.TabIndex = 75;
     this.lblCodProd.Text = "Código Produto";
     //
     // dataGridViewImageColumn2
     //
     this.dataGridViewImageColumn2.HeaderText = "";
     this.dataGridViewImageColumn2.Name = "dataGridViewImageColumn2";
     this.dataGridViewImageColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.dataGridViewImageColumn2.Width = 25;
     //
     // pRODUTOBindingSource
     //
     this.pRODUTOBindingSource.DataMember = "PRODUTO";
     this.pRODUTOBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // iTEMPEDIDOBindingSource
     //
     this.iTEMPEDIDOBindingSource.DataMember = "ITEMPEDIDO";
     this.iTEMPEDIDOBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // tRANSPORTADORABindingSource
     //
     this.tRANSPORTADORABindingSource.DataMember = "TRANSPORTADORA";
     this.tRANSPORTADORABindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // cONDICAOPAGAMENTOBindingSource
     //
     this.cONDICAOPAGAMENTOBindingSource.DataMember = "CONDICAOPAGAMENTO";
     this.cONDICAOPAGAMENTOBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // pEDIDOTableAdapter
     //
     this.pEDIDOTableAdapter.ClearBeforeFill = true;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.ACESSOTableAdapter = null;
     this.tableAdapterManager.ATUCUBOTableAdapter = null;
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.CLIENTETableAdapter = null;
     this.tableAdapterManager.CONDICAOPAGAMENTOTableAdapter = null;
     this.tableAdapterManager.GRUPOPRODUTOTableAdapter = null;
     this.tableAdapterManager.ICMSTableAdapter = null;
     this.tableAdapterManager.ItemNotaFiscalTableAdapter = null;
     this.tableAdapterManager.ITEMPEDIDOTableAdapter = null;
     this.tableAdapterManager.MODULOTableAdapter = null;
     this.tableAdapterManager.NOTAFISCALTableAdapter = null;
     this.tableAdapterManager.PEDIDOTableAdapter = this.pEDIDOTableAdapter;
     this.tableAdapterManager.PRODUTOTableAdapter = null;
     this.tableAdapterManager.REGIAOTableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORATableAdapter = this.tRANSPORTADORATableAdapter;
     this.tableAdapterManager.TRANSPORTADORAVIATableAdapter = null;
     this.tableAdapterManager.UNIDADEMEDIDATableAdapter = null;
     this.tableAdapterManager.UpdateOrder = Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     this.tableAdapterManager.USUARIOTableAdapter = null;
     this.tableAdapterManager.VENDEDORTableAdapter = this.vENDEDORTableAdapter;
     this.tableAdapterManager.VIATRANSPORTETableAdapter = null;
     //
     // tRANSPORTADORATableAdapter
     //
     this.tRANSPORTADORATableAdapter.ClearBeforeFill = true;
     //
     // vENDEDORTableAdapter
     //
     this.vENDEDORTableAdapter.ClearBeforeFill = true;
     //
     // cLIENTETableAdapter
     //
     this.cLIENTETableAdapter.ClearBeforeFill = true;
     //
     // cONDICAOPAGAMENTOTableAdapter
     //
     this.cONDICAOPAGAMENTOTableAdapter.ClearBeforeFill = true;
     //
     // iTEMPEDIDOTableAdapter
     //
     this.iTEMPEDIDOTableAdapter.ClearBeforeFill = true;
     //
     // pRODUTOTableAdapter
     //
     this.pRODUTOTableAdapter.ClearBeforeFill = true;
     //
     // txtCodTransportadora
     //
     this.txtCodTransportadora.getText = "";
     this.txtCodTransportadora.Image = ((System.Drawing.Image)(resources.GetObject("txtCodTransportadora.Image")));
     this.txtCodTransportadora.Location = new System.Drawing.Point(14, 79);
     this.txtCodTransportadora.Name = "txtCodTransportadora";
     this.txtCodTransportadora.ShowButton = false;
     this.txtCodTransportadora.Size = new System.Drawing.Size(144, 25);
     this.txtCodTransportadora.TabIndex = 95;
     this.txtCodTransportadora.ButtonClick += new System.EventHandler(this.txtCodTransportadora_ButtonClick);
     //
     // txtCondPagto
     //
     this.txtCondPagto.getText = "";
     this.txtCondPagto.Image = ((System.Drawing.Image)(resources.GetObject("txtCondPagto.Image")));
     this.txtCondPagto.Location = new System.Drawing.Point(358, 78);
     this.txtCondPagto.Name = "txtCondPagto";
     this.txtCondPagto.ShowButton = false;
     this.txtCondPagto.Size = new System.Drawing.Size(71, 25);
     this.txtCondPagto.TabIndex = 92;
     this.txtCondPagto.ButtonClick += new System.EventHandler(this.txtCondPagto_ButtonClick);
     //
     // txtCodVendedor
     //
     this.txtCodVendedor.getText = "";
     this.txtCodVendedor.Image = ((System.Drawing.Image)(resources.GetObject("txtCodVendedor.Image")));
     this.txtCodVendedor.Location = new System.Drawing.Point(457, 34);
     this.txtCodVendedor.Name = "txtCodVendedor";
     this.txtCodVendedor.ShowButton = false;
     this.txtCodVendedor.Size = new System.Drawing.Size(132, 25);
     this.txtCodVendedor.TabIndex = 91;
     this.txtCodVendedor.ButtonClick += new System.EventHandler(this.txtCodVendedor_ButtonClick);
     //
     // txtcodCli
     //
     this.txtcodCli.getText = "";
     this.txtcodCli.Image = ((System.Drawing.Image)(resources.GetObject("txtcodCli.Image")));
     this.txtcodCli.Location = new System.Drawing.Point(100, 37);
     this.txtcodCli.Name = "txtcodCli";
     this.txtcodCli.ShowButton = false;
     this.txtcodCli.Size = new System.Drawing.Size(127, 25);
     this.txtcodCli.TabIndex = 90;
     this.txtcodCli.ButtonClick += new System.EventHandler(this.txtcodCli_ButtonClick);
     //
     // txtProduto
     //
     this.txtProduto.getText = "";
     this.txtProduto.Image = ((System.Drawing.Image)(resources.GetObject("txtProduto.Image")));
     this.txtProduto.Location = new System.Drawing.Point(45, 284);
     this.txtProduto.Name = "txtProduto";
     this.txtProduto.ShowButton = false;
     this.txtProduto.Size = new System.Drawing.Size(84, 25);
     this.txtProduto.TabIndex = 108;
     this.txtProduto.ButtonClick += new System.EventHandler(this.txtProduto_ButtonClick);
     //
     // Delete
     //
     this.Delete.HeaderText = "";
     this.Delete.Image = ((System.Drawing.Image)(resources.GetObject("Delete.Image")));
     this.Delete.Name = "Delete";
     this.Delete.ReadOnly = true;
     this.Delete.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.Delete.Width = 25;
     //
     // ClmItem
     //
     this.ClmItem.DataPropertyName = "ITEM";
     this.ClmItem.HeaderText = "Item";
     this.ClmItem.Name = "ClmItem";
     this.ClmItem.ReadOnly = true;
     this.ClmItem.Width = 35;
     //
     // ColProd
     //
     this.ColProd.DataPropertyName = "CODPRODUTO";
     this.ColProd.HeaderText = "Codigo Produto";
     this.ColProd.Name = "ColProd";
     this.ColProd.ReadOnly = true;
     //
     // ClmDescProd
     //
     this.ClmDescProd.DataPropertyName = "DESCRICAO";
     this.ClmDescProd.HeaderText = "Descrição Produto";
     this.ClmDescProd.Name = "ClmDescProd";
     this.ClmDescProd.ReadOnly = true;
     this.ClmDescProd.Width = 125;
     //
     // ClmQtde
     //
     this.ClmQtde.DataPropertyName = "QUANTIDADE";
     this.ClmQtde.HeaderText = "Quantidade";
     this.ClmQtde.Name = "ClmQtde";
     this.ClmQtde.ReadOnly = true;
     //
     // QUANTIDADELIB
     //
     this.QUANTIDADELIB.DataPropertyName = "QUANTIDADELIB";
     this.QUANTIDADELIB.HeaderText = "QtdeLib";
     this.QUANTIDADELIB.Name = "QUANTIDADELIB";
     this.QUANTIDADELIB.ReadOnly = true;
     this.QUANTIDADELIB.Visible = false;
     //
     // ClmPrcUnit
     //
     this.ClmPrcUnit.DataPropertyName = "VALOR";
     dataGridViewCellStyle1.Format = "C2";
     dataGridViewCellStyle1.NullValue = null;
     this.ClmPrcUnit.DefaultCellStyle = dataGridViewCellStyle1;
     this.ClmPrcUnit.HeaderText = "Preço Unitário";
     this.ClmPrcUnit.Name = "ClmPrcUnit";
     this.ClmPrcUnit.ReadOnly = true;
     //
     // ClmIPI
     //
     this.ClmIPI.DataPropertyName = "IPI";
     dataGridViewCellStyle2.Format = "N2";
     dataGridViewCellStyle2.NullValue = null;
     this.ClmIPI.DefaultCellStyle = dataGridViewCellStyle2;
     this.ClmIPI.HeaderText = "% IPI";
     this.ClmIPI.Name = "ClmIPI";
     this.ClmIPI.ReadOnly = true;
     //
     // ColDesconto
     //
     this.ColDesconto.DataPropertyName = "DESCONTO";
     this.ColDesconto.HeaderText = "Desconto";
     this.ColDesconto.Name = "ColDesconto";
     this.ColDesconto.ReadOnly = true;
     //
     // ColTotal
     //
     this.ColTotal.DataPropertyName = "VALORTOTAL";
     dataGridViewCellStyle3.Format = "C2";
     dataGridViewCellStyle3.NullValue = null;
     this.ColTotal.DefaultCellStyle = dataGridViewCellStyle3;
     this.ColTotal.HeaderText = "Valor Total";
     this.ColTotal.Name = "ColTotal";
     this.ColTotal.ReadOnly = true;
     //
     // Status
     //
     this.Status.DataPropertyName = "Status";
     this.Status.HeaderText = "Status";
     this.Status.Name = "Status";
     this.Status.ReadOnly = true;
     //
     // FrmCadPed
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.ClientSize = new System.Drawing.Size(1023, 548);
     this.Controls.Add(this.tbCntrlPedVend);
     this.ForeColor = System.Drawing.Color.WhiteSmoke;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmCadPed";
     this.Text = "FrmCadPed";
     this.Shown += new System.EventHandler(this.FrmCadPed_Shown);
     this.tbCntrlPedVend.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.grpBxPedVenda.ResumeLayout(false);
     this.grpBxPedVenda.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pEDIDOBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).EndInit();
     this.grpTipoPedido.ResumeLayout(false);
     this.grpTipoPedido.PerformLayout();
     this.grpBxSitPed.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.vENDEDORBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cLIENTEBindingSource)).EndInit();
     this.grpBxItPedVen.ResumeLayout(false);
     this.grpBxItPedVen.PerformLayout();
     this.pnlItenped.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dtgrdvItenspven)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pRODUTOBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.iTEMPEDIDOBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tRANSPORTADORABindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cONDICAOPAGAMENTOBindingSource)).EndInit();
     this.ResumeLayout(false);
 }
 /// <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(FrmCadProd));
     this.tbCntrlCadProd = new System.Windows.Forms.TabControl();
     this.tbPgCadProd = new System.Windows.Forms.TabPage();
     this.dESCRICAOTextBox = new System.Windows.Forms.TextBox();
     this.pRODUTOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cOMERCIALDataSet = new Comercial.COMERCIALDataSet();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.txtGrupo = new System.Windows.Forms.TextBox();
     this.lblGrupo = new System.Windows.Forms.Label();
     this.label28 = new System.Windows.Forms.Label();
     this.txtBtnCodGrp = new Comercial.TextButton();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.label30 = new System.Windows.Forms.Label();
     this.label31 = new System.Windows.Forms.Label();
     this.comboBox3 = new System.Windows.Forms.ComboBox();
     this.uNIDADEMEDIDABindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.txtPesoLiquido = new System.Windows.Forms.TextBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.label26 = new System.Windows.Forms.Label();
     this.mskedTxtBxEstMinimo = new System.Windows.Forms.MaskedTextBox();
     this.mskedTxtBxEstAtual = new System.Windows.Forms.MaskedTextBox();
     this.label27 = new System.Windows.Forms.Label();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.lblPrecoCusto = new System.Windows.Forms.Label();
     this.lblPrecoVenda = new System.Windows.Forms.Label();
     this.mskedTxtBxPrecoCusto = new System.Windows.Forms.MaskedTextBox();
     this.mskedTxtBxIpi = new System.Windows.Forms.MaskedTextBox();
     this.mskedTxtBxPrecoUnitario = new System.Windows.Forms.MaskedTextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.dtmPckrCadastro = new System.Windows.Forms.DateTimePicker();
     this.lblDtCadastro = new System.Windows.Forms.Label();
     this.lblDescricao = new System.Windows.Forms.Label();
     this.maskedTextBox2 = new System.Windows.Forms.MaskedTextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.maskedTextBox3 = new System.Windows.Forms.MaskedTextBox();
     this.maskedTextBox4 = new System.Windows.Forms.MaskedTextBox();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker();
     this.dateTimePicker2 = new System.Windows.Forms.DateTimePicker();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.textBox4 = new System.Windows.Forms.TextBox();
     this.maskedTextBox5 = new System.Windows.Forms.MaskedTextBox();
     this.label14 = new System.Windows.Forms.Label();
     this.maskedTextBox6 = new System.Windows.Forms.MaskedTextBox();
     this.maskedTextBox7 = new System.Windows.Forms.MaskedTextBox();
     this.comboBox2 = new System.Windows.Forms.ComboBox();
     this.dateTimePicker3 = new System.Windows.Forms.DateTimePicker();
     this.dateTimePicker4 = new System.Windows.Forms.DateTimePicker();
     this.label15 = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.textBox5 = new System.Windows.Forms.TextBox();
     this.label17 = new System.Windows.Forms.Label();
     this.label18 = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.textBox6 = new System.Windows.Forms.TextBox();
     this.label20 = new System.Windows.Forms.Label();
     this.label21 = new System.Windows.Forms.Label();
     this.label22 = new System.Windows.Forms.Label();
     this.label23 = new System.Windows.Forms.Label();
     this.label24 = new System.Windows.Forms.Label();
     this.textBox7 = new System.Windows.Forms.TextBox();
     this.label25 = new System.Windows.Forms.Label();
     this.textBox8 = new System.Windows.Forms.TextBox();
     this.pRODUTOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.PRODUTOTableAdapter();
     this.tableAdapterManager = new Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager();
     this.uNIDADEMEDIDATableAdapter = new Comercial.COMERCIALDataSetTableAdapters.UNIDADEMEDIDATableAdapter();
     this.textButton1 = new Comercial.TextButton();
     this.textButton2 = new Comercial.TextButton();
     this.textButton3 = new Comercial.TextButton();
     this.textButton4 = new Comercial.TextButton();
     this.tbCntrlCadProd.SuspendLayout();
     this.tbPgCadProd.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pRODUTOBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).BeginInit();
     this.groupBox4.SuspendLayout();
     this.groupBox3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.uNIDADEMEDIDABindingSource)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // tbCntrlCadProd
     //
     this.tbCntrlCadProd.Controls.Add(this.tbPgCadProd);
     this.tbCntrlCadProd.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbCntrlCadProd.Location = new System.Drawing.Point(12, 12);
     this.tbCntrlCadProd.Name = "tbCntrlCadProd";
     this.tbCntrlCadProd.SelectedIndex = 0;
     this.tbCntrlCadProd.Size = new System.Drawing.Size(658, 330);
     this.tbCntrlCadProd.TabIndex = 0;
     //
     // tbPgCadProd
     //
     this.tbPgCadProd.AutoScroll = true;
     this.tbPgCadProd.Controls.Add(this.dESCRICAOTextBox);
     this.tbPgCadProd.Controls.Add(this.groupBox4);
     this.tbPgCadProd.Controls.Add(this.groupBox3);
     this.tbPgCadProd.Controls.Add(this.groupBox1);
     this.tbPgCadProd.Controls.Add(this.groupBox2);
     this.tbPgCadProd.Controls.Add(this.dtmPckrCadastro);
     this.tbPgCadProd.Controls.Add(this.lblDtCadastro);
     this.tbPgCadProd.Controls.Add(this.lblDescricao);
     this.tbPgCadProd.Location = new System.Drawing.Point(4, 22);
     this.tbPgCadProd.Name = "tbPgCadProd";
     this.tbPgCadProd.Padding = new System.Windows.Forms.Padding(3);
     this.tbPgCadProd.Size = new System.Drawing.Size(650, 304);
     this.tbPgCadProd.TabIndex = 0;
     this.tbPgCadProd.Text = "Cadastro de Produtos";
     this.tbPgCadProd.UseVisualStyleBackColor = true;
     //
     // dESCRICAOTextBox
     //
     this.dESCRICAOTextBox.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pRODUTOBindingSource, "DESCRICAO", true));
     this.dESCRICAOTextBox.Location = new System.Drawing.Point(16, 33);
     this.dESCRICAOTextBox.Name = "dESCRICAOTextBox";
     this.dESCRICAOTextBox.Size = new System.Drawing.Size(487, 20);
     this.dESCRICAOTextBox.TabIndex = 1;
     //
     // pRODUTOBindingSource
     //
     this.pRODUTOBindingSource.DataMember = "PRODUTO";
     this.pRODUTOBindingSource.DataSource = this.cOMERCIALDataSet;
     this.pRODUTOBindingSource.PositionChanged += new System.EventHandler(this.pRODUTOBindingSource_PositionChanged);
     //
     // cOMERCIALDataSet
     //
     this.cOMERCIALDataSet.DataSetName = "COMERCIALDataSet";
     this.cOMERCIALDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // groupBox4
     //
     this.groupBox4.Controls.Add(this.txtGrupo);
     this.groupBox4.Controls.Add(this.lblGrupo);
     this.groupBox4.Controls.Add(this.label28);
     this.groupBox4.Controls.Add(this.txtBtnCodGrp);
     this.groupBox4.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.groupBox4.Location = new System.Drawing.Point(7, 65);
     this.groupBox4.Name = "groupBox4";
     this.groupBox4.Size = new System.Drawing.Size(618, 68);
     this.groupBox4.TabIndex = 2;
     this.groupBox4.TabStop = false;
     this.groupBox4.Text = "Grupo Produto";
     //
     // txtGrupo
     //
     this.txtGrupo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtGrupo.Location = new System.Drawing.Point(146, 32);
     this.txtGrupo.Name = "txtGrupo";
     this.txtGrupo.Size = new System.Drawing.Size(466, 20);
     this.txtGrupo.TabIndex = 112;
     //
     // lblGrupo
     //
     this.lblGrupo.AutoSize = true;
     this.lblGrupo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblGrupo.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblGrupo.Location = new System.Drawing.Point(6, 16);
     this.lblGrupo.Name = "lblGrupo";
     this.lblGrupo.Size = new System.Drawing.Size(50, 13);
     this.lblGrupo.TabIndex = 7;
     this.lblGrupo.Text = "Codigo:";
     //
     // label28
     //
     this.label28.AutoSize = true;
     this.label28.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label28.ForeColor = System.Drawing.Color.CadetBlue;
     this.label28.Location = new System.Drawing.Point(143, 16);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(64, 13);
     this.label28.TabIndex = 111;
     this.label28.Text = "Descricao";
     //
     // txtBtnCodGrp
     //
     this.txtBtnCodGrp.getText = "";
     this.txtBtnCodGrp.Image = ((System.Drawing.Image)(resources.GetObject("txtBtnCodGrp.Image")));
     this.txtBtnCodGrp.Location = new System.Drawing.Point(9, 32);
     this.txtBtnCodGrp.Name = "txtBtnCodGrp";
     this.txtBtnCodGrp.ShowButton = false;
     this.txtBtnCodGrp.Size = new System.Drawing.Size(111, 25);
     this.txtBtnCodGrp.TabIndex = 2;
     this.txtBtnCodGrp.ButtonClick += new System.EventHandler(this.txtCodProd_ButtonClick);
     //
     // groupBox3
     //
     this.groupBox3.Controls.Add(this.label30);
     this.groupBox3.Controls.Add(this.label31);
     this.groupBox3.Controls.Add(this.comboBox3);
     this.groupBox3.Controls.Add(this.txtPesoLiquido);
     this.groupBox3.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.groupBox3.Location = new System.Drawing.Point(339, 217);
     this.groupBox3.Name = "groupBox3";
     this.groupBox3.Size = new System.Drawing.Size(286, 69);
     this.groupBox3.TabIndex = 5;
     this.groupBox3.TabStop = false;
     this.groupBox3.Text = "Medidas";
     //
     // label30
     //
     this.label30.AutoSize = true;
     this.label30.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label30.ForeColor = System.Drawing.Color.CadetBlue;
     this.label30.Location = new System.Drawing.Point(158, 22);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(73, 13);
     this.label30.TabIndex = 17;
     this.label30.Text = "Peso Líquido:";
     //
     // label31
     //
     this.label31.AutoSize = true;
     this.label31.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label31.ForeColor = System.Drawing.Color.CadetBlue;
     this.label31.Location = new System.Drawing.Point(19, 22);
     this.label31.Name = "label31";
     this.label31.Size = new System.Drawing.Size(103, 13);
     this.label31.TabIndex = 11;
     this.label31.Text = "Unidade Medida:";
     //
     // comboBox3
     //
     this.comboBox3.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.pRODUTOBindingSource, "CODUNIDADEMEDIDA", true));
     this.comboBox3.DataSource = this.uNIDADEMEDIDABindingSource;
     this.comboBox3.DisplayMember = "DESCRICAO";
     this.comboBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox3.FormattingEnabled = true;
     this.comboBox3.Location = new System.Drawing.Point(22, 38);
     this.comboBox3.Name = "comboBox3";
     this.comboBox3.Size = new System.Drawing.Size(100, 21);
     this.comboBox3.TabIndex = 8;
     this.comboBox3.ValueMember = "CODUNIDADEMEDIDA";
     //
     // uNIDADEMEDIDABindingSource
     //
     this.uNIDADEMEDIDABindingSource.DataMember = "UNIDADEMEDIDA";
     this.uNIDADEMEDIDABindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // txtPesoLiquido
     //
     this.txtPesoLiquido.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pRODUTOBindingSource, "PESOLIQUIDO", true));
     this.txtPesoLiquido.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.txtPesoLiquido.Location = new System.Drawing.Point(161, 39);
     this.txtPesoLiquido.Name = "txtPesoLiquido";
     this.txtPesoLiquido.Size = new System.Drawing.Size(70, 20);
     this.txtPesoLiquido.TabIndex = 9;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.label26);
     this.groupBox1.Controls.Add(this.mskedTxtBxEstMinimo);
     this.groupBox1.Controls.Add(this.mskedTxtBxEstAtual);
     this.groupBox1.Controls.Add(this.label27);
     this.groupBox1.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.groupBox1.Location = new System.Drawing.Point(9, 217);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(287, 69);
     this.groupBox1.TabIndex = 4;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Estoque";
     //
     // label26
     //
     this.label26.AutoSize = true;
     this.label26.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label26.ForeColor = System.Drawing.Color.CadetBlue;
     this.label26.Location = new System.Drawing.Point(141, 23);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(97, 13);
     this.label26.TabIndex = 40;
     this.label26.Text = "Estoque mínimo";
     //
     // mskedTxtBxEstMinimo
     //
     this.mskedTxtBxEstMinimo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pRODUTOBindingSource, "ESTOQUEMIN", true));
     this.mskedTxtBxEstMinimo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mskedTxtBxEstMinimo.Location = new System.Drawing.Point(144, 39);
     this.mskedTxtBxEstMinimo.Name = "mskedTxtBxEstMinimo";
     this.mskedTxtBxEstMinimo.Size = new System.Drawing.Size(99, 20);
     this.mskedTxtBxEstMinimo.TabIndex = 7;
     //
     // mskedTxtBxEstAtual
     //
     this.mskedTxtBxEstAtual.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pRODUTOBindingSource, "ESTOQUEATUAL", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged, null, "N0"));
     this.mskedTxtBxEstAtual.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mskedTxtBxEstAtual.Location = new System.Drawing.Point(7, 38);
     this.mskedTxtBxEstAtual.Name = "mskedTxtBxEstAtual";
     this.mskedTxtBxEstAtual.Size = new System.Drawing.Size(96, 20);
     this.mskedTxtBxEstAtual.TabIndex = 6;
     //
     // label27
     //
     this.label27.AutoSize = true;
     this.label27.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label27.ForeColor = System.Drawing.Color.CadetBlue;
     this.label27.Location = new System.Drawing.Point(4, 22);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(86, 13);
     this.label27.TabIndex = 42;
     this.label27.Text = "Estoque Atual";
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.lblPrecoCusto);
     this.groupBox2.Controls.Add(this.lblPrecoVenda);
     this.groupBox2.Controls.Add(this.mskedTxtBxPrecoCusto);
     this.groupBox2.Controls.Add(this.mskedTxtBxIpi);
     this.groupBox2.Controls.Add(this.mskedTxtBxPrecoUnitario);
     this.groupBox2.Controls.Add(this.label1);
     this.groupBox2.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.groupBox2.Location = new System.Drawing.Point(7, 139);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(618, 68);
     this.groupBox2.TabIndex = 3;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Preços";
     //
     // lblPrecoCusto
     //
     this.lblPrecoCusto.AutoSize = true;
     this.lblPrecoCusto.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblPrecoCusto.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblPrecoCusto.Location = new System.Drawing.Point(143, 16);
     this.lblPrecoCusto.Name = "lblPrecoCusto";
     this.lblPrecoCusto.Size = new System.Drawing.Size(80, 13);
     this.lblPrecoCusto.TabIndex = 21;
     this.lblPrecoCusto.Text = "Preço Custo:";
     //
     // lblPrecoVenda
     //
     this.lblPrecoVenda.AutoSize = true;
     this.lblPrecoVenda.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblPrecoVenda.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblPrecoVenda.Location = new System.Drawing.Point(6, 16);
     this.lblPrecoVenda.Name = "lblPrecoVenda";
     this.lblPrecoVenda.Size = new System.Drawing.Size(102, 13);
     this.lblPrecoVenda.TabIndex = 9;
     this.lblPrecoVenda.Text = "Preço de Venda:";
     //
     // mskedTxtBxPrecoCusto
     //
     this.mskedTxtBxPrecoCusto.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pRODUTOBindingSource, "PRECOCUSTO", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "C2"));
     this.mskedTxtBxPrecoCusto.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mskedTxtBxPrecoCusto.Location = new System.Drawing.Point(146, 32);
     this.mskedTxtBxPrecoCusto.Name = "mskedTxtBxPrecoCusto";
     this.mskedTxtBxPrecoCusto.Size = new System.Drawing.Size(100, 20);
     this.mskedTxtBxPrecoCusto.TabIndex = 4;
     //
     // mskedTxtBxIpi
     //
     this.mskedTxtBxIpi.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pRODUTOBindingSource, "IPI", true));
     this.mskedTxtBxIpi.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mskedTxtBxIpi.Location = new System.Drawing.Point(268, 32);
     this.mskedTxtBxIpi.Name = "mskedTxtBxIpi";
     this.mskedTxtBxIpi.Size = new System.Drawing.Size(55, 20);
     this.mskedTxtBxIpi.TabIndex = 5;
     //
     // mskedTxtBxPrecoUnitario
     //
     this.mskedTxtBxPrecoUnitario.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pRODUTOBindingSource, "PRECOVENDA", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, null, "C2"));
     this.mskedTxtBxPrecoUnitario.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.mskedTxtBxPrecoUnitario.Location = new System.Drawing.Point(9, 32);
     this.mskedTxtBxPrecoUnitario.Name = "mskedTxtBxPrecoUnitario";
     this.mskedTxtBxPrecoUnitario.Size = new System.Drawing.Size(100, 20);
     this.mskedTxtBxPrecoUnitario.TabIndex = 3;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.CadetBlue;
     this.label1.Location = new System.Drawing.Point(265, 16);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(40, 13);
     this.label1.TabIndex = 38;
     this.label1.Text = "% IPI:";
     //
     // dtmPckrCadastro
     //
     this.dtmPckrCadastro.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.pRODUTOBindingSource, "DATACADASTRO", true));
     this.dtmPckrCadastro.Enabled = false;
     this.dtmPckrCadastro.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dtmPckrCadastro.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dtmPckrCadastro.Location = new System.Drawing.Point(518, 33);
     this.dtmPckrCadastro.Name = "dtmPckrCadastro";
     this.dtmPckrCadastro.Size = new System.Drawing.Size(107, 20);
     this.dtmPckrCadastro.TabIndex = 2;
     //
     // lblDtCadastro
     //
     this.lblDtCadastro.AutoSize = true;
     this.lblDtCadastro.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDtCadastro.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblDtCadastro.Location = new System.Drawing.Point(515, 17);
     this.lblDtCadastro.Name = "lblDtCadastro";
     this.lblDtCadastro.Size = new System.Drawing.Size(110, 13);
     this.lblDtCadastro.TabIndex = 5;
     this.lblDtCadastro.Text = "Data de Cadastro:";
     //
     // lblDescricao
     //
     this.lblDescricao.AutoSize = true;
     this.lblDescricao.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDescricao.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblDescricao.Location = new System.Drawing.Point(13, 17);
     this.lblDescricao.Name = "lblDescricao";
     this.lblDescricao.Size = new System.Drawing.Size(68, 13);
     this.lblDescricao.TabIndex = 3;
     this.lblDescricao.Text = "Descrição:";
     //
     // maskedTextBox2
     //
     this.maskedTextBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maskedTextBox2.Location = new System.Drawing.Point(32, 194);
     this.maskedTextBox2.Name = "maskedTextBox2";
     this.maskedTextBox2.Size = new System.Drawing.Size(55, 20);
     this.maskedTextBox2.TabIndex = 39;
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.ForeColor = System.Drawing.Color.CadetBlue;
     this.label2.Location = new System.Drawing.Point(29, 178);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(40, 13);
     this.label2.TabIndex = 38;
     this.label2.Text = "% IPI:";
     //
     // maskedTextBox3
     //
     this.maskedTextBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maskedTextBox3.Location = new System.Drawing.Point(227, 137);
     this.maskedTextBox3.Name = "maskedTextBox3";
     this.maskedTextBox3.Size = new System.Drawing.Size(100, 20);
     this.maskedTextBox3.TabIndex = 35;
     //
     // maskedTextBox4
     //
     this.maskedTextBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maskedTextBox4.Location = new System.Drawing.Point(362, 137);
     this.maskedTextBox4.Name = "maskedTextBox4";
     this.maskedTextBox4.Size = new System.Drawing.Size(116, 20);
     this.maskedTextBox4.TabIndex = 34;
     //
     // comboBox1
     //
     this.comboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(227, 85);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(100, 21);
     this.comboBox1.TabIndex = 32;
     //
     // dateTimePicker1
     //
     this.dateTimePicker1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker1.Location = new System.Drawing.Point(493, 86);
     this.dateTimePicker1.Name = "dateTimePicker1";
     this.dateTimePicker1.Size = new System.Drawing.Size(107, 20);
     this.dateTimePicker1.TabIndex = 29;
     //
     // dateTimePicker2
     //
     this.dateTimePicker2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimePicker2.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker2.Location = new System.Drawing.Point(493, 33);
     this.dateTimePicker2.Name = "dateTimePicker2";
     this.dateTimePicker2.Size = new System.Drawing.Size(107, 20);
     this.dateTimePicker2.TabIndex = 28;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.ForeColor = System.Drawing.Color.CadetBlue;
     this.label3.Location = new System.Drawing.Point(27, 69);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(71, 13);
     this.label3.TabIndex = 27;
     this.label3.Text = "Fabricante:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.ForeColor = System.Drawing.Color.CadetBlue;
     this.label4.Location = new System.Drawing.Point(488, 121);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(67, 13);
     this.label4.TabIndex = 25;
     this.label4.Text = "% Desconto:";
     //
     // textBox1
     //
     this.textBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox1.Location = new System.Drawing.Point(491, 137);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(64, 20);
     this.textBox1.TabIndex = 24;
     //
     // label5
     //
     this.label5.AutoSize = true;
     this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label5.ForeColor = System.Drawing.Color.CadetBlue;
     this.label5.Location = new System.Drawing.Point(490, 70);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(65, 13);
     this.label5.TabIndex = 23;
     this.label5.Text = "Ult. Compra:";
     //
     // label6
     //
     this.label6.AutoSize = true;
     this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label6.ForeColor = System.Drawing.Color.CadetBlue;
     this.label6.Location = new System.Drawing.Point(359, 121);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(80, 13);
     this.label6.TabIndex = 21;
     this.label6.Text = "Preço Custo:";
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.CadetBlue;
     this.label7.Location = new System.Drawing.Point(362, 69);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(73, 13);
     this.label7.TabIndex = 17;
     this.label7.Text = "Peso Líquido:";
     //
     // textBox2
     //
     this.textBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox2.Location = new System.Drawing.Point(365, 86);
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(113, 20);
     this.textBox2.TabIndex = 16;
     //
     // label8
     //
     this.label8.AutoSize = true;
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.ForeColor = System.Drawing.Color.CadetBlue;
     this.label8.Location = new System.Drawing.Point(224, 69);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(103, 13);
     this.label8.TabIndex = 11;
     this.label8.Text = "Unidade Medida:";
     //
     // label9
     //
     this.label9.AutoSize = true;
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.ForeColor = System.Drawing.Color.CadetBlue;
     this.label9.Location = new System.Drawing.Point(224, 121);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(92, 13);
     this.label9.TabIndex = 9;
     this.label9.Text = "Preço Unitário:";
     //
     // label10
     //
     this.label10.AutoSize = true;
     this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.ForeColor = System.Drawing.Color.CadetBlue;
     this.label10.Location = new System.Drawing.Point(29, 121);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(41, 13);
     this.label10.TabIndex = 7;
     this.label10.Text = "Grupo";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.ForeColor = System.Drawing.Color.CadetBlue;
     this.label11.Location = new System.Drawing.Point(490, 17);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(110, 13);
     this.label11.TabIndex = 5;
     this.label11.Text = "Data de Cadastro:";
     //
     // label12
     //
     this.label12.AutoSize = true;
     this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label12.ForeColor = System.Drawing.Color.CadetBlue;
     this.label12.Location = new System.Drawing.Point(100, 17);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(68, 13);
     this.label12.TabIndex = 3;
     this.label12.Text = "Descrição:";
     //
     // textBox3
     //
     this.textBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox3.Location = new System.Drawing.Point(103, 33);
     this.textBox3.Name = "textBox3";
     this.textBox3.Size = new System.Drawing.Size(375, 20);
     this.textBox3.TabIndex = 2;
     //
     // label13
     //
     this.label13.AutoSize = true;
     this.label13.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label13.ForeColor = System.Drawing.Color.CadetBlue;
     this.label13.Location = new System.Drawing.Point(27, 17);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(50, 13);
     this.label13.TabIndex = 1;
     this.label13.Text = "Código:";
     //
     // textBox4
     //
     this.textBox4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox4.Location = new System.Drawing.Point(30, 33);
     this.textBox4.Name = "textBox4";
     this.textBox4.Size = new System.Drawing.Size(57, 20);
     this.textBox4.TabIndex = 0;
     //
     // maskedTextBox5
     //
     this.maskedTextBox5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maskedTextBox5.Location = new System.Drawing.Point(32, 194);
     this.maskedTextBox5.Name = "maskedTextBox5";
     this.maskedTextBox5.Size = new System.Drawing.Size(55, 20);
     this.maskedTextBox5.TabIndex = 39;
     //
     // label14
     //
     this.label14.AutoSize = true;
     this.label14.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label14.ForeColor = System.Drawing.Color.CadetBlue;
     this.label14.Location = new System.Drawing.Point(29, 178);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(40, 13);
     this.label14.TabIndex = 38;
     this.label14.Text = "% IPI:";
     //
     // maskedTextBox6
     //
     this.maskedTextBox6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maskedTextBox6.Location = new System.Drawing.Point(227, 137);
     this.maskedTextBox6.Name = "maskedTextBox6";
     this.maskedTextBox6.Size = new System.Drawing.Size(100, 20);
     this.maskedTextBox6.TabIndex = 35;
     //
     // maskedTextBox7
     //
     this.maskedTextBox7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.maskedTextBox7.Location = new System.Drawing.Point(362, 137);
     this.maskedTextBox7.Name = "maskedTextBox7";
     this.maskedTextBox7.Size = new System.Drawing.Size(116, 20);
     this.maskedTextBox7.TabIndex = 34;
     //
     // comboBox2
     //
     this.comboBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.comboBox2.FormattingEnabled = true;
     this.comboBox2.Location = new System.Drawing.Point(227, 85);
     this.comboBox2.Name = "comboBox2";
     this.comboBox2.Size = new System.Drawing.Size(100, 21);
     this.comboBox2.TabIndex = 32;
     //
     // dateTimePicker3
     //
     this.dateTimePicker3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimePicker3.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker3.Location = new System.Drawing.Point(493, 86);
     this.dateTimePicker3.Name = "dateTimePicker3";
     this.dateTimePicker3.Size = new System.Drawing.Size(107, 20);
     this.dateTimePicker3.TabIndex = 29;
     //
     // dateTimePicker4
     //
     this.dateTimePicker4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.dateTimePicker4.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.dateTimePicker4.Location = new System.Drawing.Point(493, 33);
     this.dateTimePicker4.Name = "dateTimePicker4";
     this.dateTimePicker4.Size = new System.Drawing.Size(107, 20);
     this.dateTimePicker4.TabIndex = 28;
     //
     // label15
     //
     this.label15.AutoSize = true;
     this.label15.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label15.ForeColor = System.Drawing.Color.CadetBlue;
     this.label15.Location = new System.Drawing.Point(27, 69);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(71, 13);
     this.label15.TabIndex = 27;
     this.label15.Text = "Fabricante:";
     //
     // label16
     //
     this.label16.AutoSize = true;
     this.label16.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label16.ForeColor = System.Drawing.Color.CadetBlue;
     this.label16.Location = new System.Drawing.Point(488, 121);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(67, 13);
     this.label16.TabIndex = 25;
     this.label16.Text = "% Desconto:";
     //
     // textBox5
     //
     this.textBox5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox5.Location = new System.Drawing.Point(491, 137);
     this.textBox5.Name = "textBox5";
     this.textBox5.Size = new System.Drawing.Size(64, 20);
     this.textBox5.TabIndex = 24;
     //
     // label17
     //
     this.label17.AutoSize = true;
     this.label17.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label17.ForeColor = System.Drawing.Color.CadetBlue;
     this.label17.Location = new System.Drawing.Point(490, 70);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(65, 13);
     this.label17.TabIndex = 23;
     this.label17.Text = "Ult. Compra:";
     //
     // label18
     //
     this.label18.AutoSize = true;
     this.label18.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label18.ForeColor = System.Drawing.Color.CadetBlue;
     this.label18.Location = new System.Drawing.Point(359, 121);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(80, 13);
     this.label18.TabIndex = 21;
     this.label18.Text = "Preço Custo:";
     //
     // label19
     //
     this.label19.AutoSize = true;
     this.label19.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label19.ForeColor = System.Drawing.Color.CadetBlue;
     this.label19.Location = new System.Drawing.Point(362, 69);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(73, 13);
     this.label19.TabIndex = 17;
     this.label19.Text = "Peso Líquido:";
     //
     // textBox6
     //
     this.textBox6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox6.Location = new System.Drawing.Point(365, 86);
     this.textBox6.Name = "textBox6";
     this.textBox6.Size = new System.Drawing.Size(113, 20);
     this.textBox6.TabIndex = 16;
     //
     // label20
     //
     this.label20.AutoSize = true;
     this.label20.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label20.ForeColor = System.Drawing.Color.CadetBlue;
     this.label20.Location = new System.Drawing.Point(224, 69);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(103, 13);
     this.label20.TabIndex = 11;
     this.label20.Text = "Unidade Medida:";
     //
     // label21
     //
     this.label21.AutoSize = true;
     this.label21.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label21.ForeColor = System.Drawing.Color.CadetBlue;
     this.label21.Location = new System.Drawing.Point(224, 121);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(92, 13);
     this.label21.TabIndex = 9;
     this.label21.Text = "Preço Unitário:";
     //
     // label22
     //
     this.label22.AutoSize = true;
     this.label22.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label22.ForeColor = System.Drawing.Color.CadetBlue;
     this.label22.Location = new System.Drawing.Point(29, 121);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(41, 13);
     this.label22.TabIndex = 7;
     this.label22.Text = "Grupo";
     //
     // label23
     //
     this.label23.AutoSize = true;
     this.label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label23.ForeColor = System.Drawing.Color.CadetBlue;
     this.label23.Location = new System.Drawing.Point(490, 17);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(110, 13);
     this.label23.TabIndex = 5;
     this.label23.Text = "Data de Cadastro:";
     //
     // label24
     //
     this.label24.AutoSize = true;
     this.label24.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label24.ForeColor = System.Drawing.Color.CadetBlue;
     this.label24.Location = new System.Drawing.Point(100, 17);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(68, 13);
     this.label24.TabIndex = 3;
     this.label24.Text = "Descrição:";
     //
     // textBox7
     //
     this.textBox7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox7.Location = new System.Drawing.Point(103, 33);
     this.textBox7.Name = "textBox7";
     this.textBox7.Size = new System.Drawing.Size(375, 20);
     this.textBox7.TabIndex = 2;
     //
     // label25
     //
     this.label25.AutoSize = true;
     this.label25.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label25.ForeColor = System.Drawing.Color.CadetBlue;
     this.label25.Location = new System.Drawing.Point(27, 17);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(50, 13);
     this.label25.TabIndex = 1;
     this.label25.Text = "Código:";
     //
     // textBox8
     //
     this.textBox8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.textBox8.Location = new System.Drawing.Point(30, 33);
     this.textBox8.Name = "textBox8";
     this.textBox8.Size = new System.Drawing.Size(57, 20);
     this.textBox8.TabIndex = 0;
     //
     // pRODUTOTableAdapter
     //
     this.pRODUTOTableAdapter.ClearBeforeFill = true;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.ACESSOTableAdapter = null;
     this.tableAdapterManager.ATUCUBOTableAdapter = null;
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.CLIENTETableAdapter = null;
     this.tableAdapterManager.CONDICAOPAGAMENTOTableAdapter = null;
     this.tableAdapterManager.GRUPOPRODUTOTableAdapter = null;
     this.tableAdapterManager.ICMSTableAdapter = null;
     this.tableAdapterManager.ItemNotaFiscalTableAdapter = null;
     this.tableAdapterManager.ITEMPEDIDOTableAdapter = null;
     this.tableAdapterManager.MODULOTableAdapter = null;
     this.tableAdapterManager.NOTAFISCALTableAdapter = null;
     this.tableAdapterManager.PEDIDOTableAdapter = null;
     this.tableAdapterManager.PRODUTOTableAdapter = this.pRODUTOTableAdapter;
     this.tableAdapterManager.REGIAOTableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORATableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORAVIATableAdapter = null;
     this.tableAdapterManager.UNIDADEMEDIDATableAdapter = this.uNIDADEMEDIDATableAdapter;
     this.tableAdapterManager.UpdateOrder = Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     this.tableAdapterManager.USUARIOTableAdapter = null;
     this.tableAdapterManager.VENDEDORTableAdapter = null;
     this.tableAdapterManager.VIATRANSPORTETableAdapter = null;
     //
     // uNIDADEMEDIDATableAdapter
     //
     this.uNIDADEMEDIDATableAdapter.ClearBeforeFill = true;
     //
     // textButton1
     //
     this.textButton1.getText = "";
     this.textButton1.Image = global::Comercial.Properties.Resources.search1;
     this.textButton1.Location = new System.Drawing.Point(30, 137);
     this.textButton1.Name = "textButton1";
     this.textButton1.ShowButton = false;
     this.textButton1.Size = new System.Drawing.Size(144, 25);
     this.textButton1.TabIndex = 37;
     //
     // textButton2
     //
     this.textButton2.getText = "";
     this.textButton2.Image = global::Comercial.Properties.Resources.search1;
     this.textButton2.Location = new System.Drawing.Point(30, 86);
     this.textButton2.Name = "textButton2";
     this.textButton2.ShowButton = false;
     this.textButton2.Size = new System.Drawing.Size(146, 25);
     this.textButton2.TabIndex = 36;
     //
     // textButton3
     //
     this.textButton3.getText = "";
     this.textButton3.Image = global::Comercial.Properties.Resources.search1;
     this.textButton3.Location = new System.Drawing.Point(30, 137);
     this.textButton3.Name = "textButton3";
     this.textButton3.ShowButton = false;
     this.textButton3.Size = new System.Drawing.Size(144, 25);
     this.textButton3.TabIndex = 37;
     //
     // textButton4
     //
     this.textButton4.getText = "";
     this.textButton4.Image = global::Comercial.Properties.Resources.search1;
     this.textButton4.Location = new System.Drawing.Point(30, 86);
     this.textButton4.Name = "textButton4";
     this.textButton4.ShowButton = false;
     this.textButton4.Size = new System.Drawing.Size(146, 25);
     this.textButton4.TabIndex = 36;
     //
     // FrmCadProd
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor = System.Drawing.Color.WhiteSmoke;
     this.ClientSize = new System.Drawing.Size(680, 350);
     this.ControlBox = false;
     this.Controls.Add(this.tbCntrlCadProd);
     this.ForeColor = System.Drawing.Color.Black;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "FrmCadProd";
     this.ShowIcon = false;
     this.Text = "Cadastro de Produtos";
     this.Load += new System.EventHandler(this.FrmCadProd_Load);
     this.Shown += new System.EventHandler(this.FrmCadProd_Shown);
     this.tbCntrlCadProd.ResumeLayout(false);
     this.tbPgCadProd.ResumeLayout(false);
     this.tbPgCadProd.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.pRODUTOBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).EndInit();
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.uNIDADEMEDIDABindingSource)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <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.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Criar Usúario");
     System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("Alterar Senha");
     System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("Controle Usúario", new System.Windows.Forms.TreeNode[] {
     treeNode1,
     treeNode2});
     System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("Backup");
     System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("Calculadora");
     System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("Notepad");
     System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("Excel");
     System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("Utilitários", new System.Windows.Forms.TreeNode[] {
     treeNode5,
     treeNode6,
     treeNode7});
     System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("Arquivo", new System.Windows.Forms.TreeNode[] {
     treeNode3,
     treeNode4,
     treeNode8});
     System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("Cliente");
     System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("Produto");
     System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("Pedido");
     System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("Vendedor");
     System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("Unidade Medida");
     System.Windows.Forms.TreeNode treeNode15 = new System.Windows.Forms.TreeNode("Condição Pagamento");
     System.Windows.Forms.TreeNode treeNode16 = new System.Windows.Forms.TreeNode("Transportadora");
     System.Windows.Forms.TreeNode treeNode17 = new System.Windows.Forms.TreeNode("Grupo de produto");
     System.Windows.Forms.TreeNode treeNode18 = new System.Windows.Forms.TreeNode("Ajustes", new System.Windows.Forms.TreeNode[] {
     treeNode14,
     treeNode15,
     treeNode16,
     treeNode17});
     System.Windows.Forms.TreeNode treeNode19 = new System.Windows.Forms.TreeNode("Cadastros", new System.Windows.Forms.TreeNode[] {
     treeNode10,
     treeNode11,
     treeNode12,
     treeNode13,
     treeNode18});
     System.Windows.Forms.TreeNode treeNode20 = new System.Windows.Forms.TreeNode("Cliente");
     System.Windows.Forms.TreeNode treeNode21 = new System.Windows.Forms.TreeNode("Produto");
     System.Windows.Forms.TreeNode treeNode22 = new System.Windows.Forms.TreeNode("Pedido");
     System.Windows.Forms.TreeNode treeNode23 = new System.Windows.Forms.TreeNode("Vendedor");
     System.Windows.Forms.TreeNode treeNode24 = new System.Windows.Forms.TreeNode("Consultas", new System.Windows.Forms.TreeNode[] {
     treeNode20,
     treeNode21,
     treeNode22,
     treeNode23});
     System.Windows.Forms.TreeNode treeNode25 = new System.Windows.Forms.TreeNode("Gerar NF");
     System.Windows.Forms.TreeNode treeNode26 = new System.Windows.Forms.TreeNode("Devolução NF");
     System.Windows.Forms.TreeNode treeNode27 = new System.Windows.Forms.TreeNode("Liberação Pedido");
     System.Windows.Forms.TreeNode treeNode28 = new System.Windows.Forms.TreeNode("Gerar Modelo");
     System.Windows.Forms.TreeNode treeNode29 = new System.Windows.Forms.TreeNode("Consultar");
     System.Windows.Forms.TreeNode treeNode30 = new System.Windows.Forms.TreeNode("Mineração Dados", new System.Windows.Forms.TreeNode[] {
     treeNode28,
     treeNode29});
     System.Windows.Forms.TreeNode treeNode31 = new System.Windows.Forms.TreeNode("Processos", new System.Windows.Forms.TreeNode[] {
     treeNode25,
     treeNode26,
     treeNode27,
     treeNode30});
     System.Windows.Forms.TreeNode treeNode32 = new System.Windows.Forms.TreeNode("Sistema Comercial", new System.Windows.Forms.TreeNode[] {
     treeNode9,
     treeNode19,
     treeNode24,
     treeNode31});
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmCadUsu));
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.grpBxMenu = new System.Windows.Forms.GroupBox();
     this.trVwMenu = new System.Windows.Forms.TreeView();
     this.btnDesAll = new System.Windows.Forms.Button();
     this.btnMarAll = new System.Windows.Forms.Button();
     this.grpBxInfor = new System.Windows.Forms.GroupBox();
     this.txtBxSenhaAntiga = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.chckBxPriv = new System.Windows.Forms.CheckBox();
     this.txtUsu = new Comercial.TextButton();
     this.chckBxUsublq = new System.Windows.Forms.CheckBox();
     this.txtConSenha = new System.Windows.Forms.TextBox();
     this.lblConSenha = new System.Windows.Forms.Label();
     this.txtSenha = new System.Windows.Forms.TextBox();
     this.lblUsua = new System.Windows.Forms.Label();
     this.lblSenha = new System.Windows.Forms.Label();
     this.tbCntrlCtrUsu = new System.Windows.Forms.TabControl();
     this.cOMERCIALDataSet = new Comercial.COMERCIALDataSet();
     this.uSUARIOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.uSUARIOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.USUARIOTableAdapter();
     this.tableAdapterManager = new Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager();
     this.tabPage1.SuspendLayout();
     this.grpBxMenu.SuspendLayout();
     this.grpBxInfor.SuspendLayout();
     this.tbCntrlCtrUsu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.uSUARIOBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // tabPage1
     //
     this.tabPage1.AutoScroll = true;
     this.tabPage1.Controls.Add(this.grpBxMenu);
     this.tabPage1.Controls.Add(this.grpBxInfor);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(529, 277);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Identificação";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // grpBxMenu
     //
     this.grpBxMenu.Controls.Add(this.trVwMenu);
     this.grpBxMenu.Controls.Add(this.btnDesAll);
     this.grpBxMenu.Controls.Add(this.btnMarAll);
     this.grpBxMenu.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxMenu.Location = new System.Drawing.Point(273, 6);
     this.grpBxMenu.Name = "grpBxMenu";
     this.grpBxMenu.Size = new System.Drawing.Size(250, 265);
     this.grpBxMenu.TabIndex = 3;
     this.grpBxMenu.TabStop = false;
     this.grpBxMenu.Text = "Menu";
     //
     // trVwMenu
     //
     this.trVwMenu.CheckBoxes = true;
     this.trVwMenu.Cursor = System.Windows.Forms.Cursors.Default;
     this.trVwMenu.Location = new System.Drawing.Point(6, 13);
     this.trVwMenu.Name = "trVwMenu";
     treeNode1.Name = "criarSenha";
     treeNode1.Text = "Criar Usúario";
     treeNode2.Name = "altSenha";
     treeNode2.Text = "Alterar Senha";
     treeNode3.Name = "controle usuario";
     treeNode3.Text = "Controle Usúario";
     treeNode4.Name = "backup";
     treeNode4.Text = "Backup";
     treeNode5.Name = "Nó14";
     treeNode5.Text = "Calculadora";
     treeNode6.Name = "Nó15";
     treeNode6.Text = "Notepad";
     treeNode7.Name = "Nó16";
     treeNode7.Text = "Excel";
     treeNode8.Name = "utilitario";
     treeNode8.Text = "Utilitários";
     treeNode9.Name = "arquivo";
     treeNode9.Text = "Arquivo";
     treeNode10.Name = "cadcli";
     treeNode10.Text = "Cliente";
     treeNode11.Name = "cadprod";
     treeNode11.Text = "Produto";
     treeNode12.Name = "cadped";
     treeNode12.Text = "Pedido";
     treeNode13.Name = "cadven";
     treeNode13.Text = "Vendedor";
     treeNode14.Name = "cadmed";
     treeNode14.Text = "Unidade Medida";
     treeNode15.Name = "cadcondpag";
     treeNode15.Text = "Condição Pagamento";
     treeNode16.Name = "cadtransp";
     treeNode16.Text = "Transportadora";
     treeNode17.Name = "cadgrupoprod";
     treeNode17.Text = "Grupo de produto";
     treeNode18.Name = "ajustes";
     treeNode18.Text = "Ajustes";
     treeNode19.Name = "cadastros";
     treeNode19.Text = "Cadastros";
     treeNode20.Name = "concli";
     treeNode20.Text = "Cliente";
     treeNode21.Name = "conprod";
     treeNode21.Text = "Produto";
     treeNode22.Name = "conped";
     treeNode22.Text = "Pedido";
     treeNode23.Name = "conven";
     treeNode23.Text = "Vendedor";
     treeNode24.Name = "consultas";
     treeNode24.Text = "Consultas";
     treeNode25.Name = "Gerar NF";
     treeNode25.Text = "Gerar NF";
     treeNode26.Name = "Dev NF";
     treeNode26.Text = "Devolução NF";
     treeNode27.Name = "LibPedido";
     treeNode27.Text = "Liberação Pedido";
     treeNode28.Name = "gerar min";
     treeNode28.Text = "Gerar Modelo";
     treeNode29.Name = "consultar min";
     treeNode29.Text = "Consultar";
     treeNode30.Name = "Min";
     treeNode30.Text = "Mineração Dados";
     treeNode31.Name = "processos";
     treeNode31.Text = "Processos";
     treeNode32.Name = "todos";
     treeNode32.Text = "Sistema Comercial";
     this.trVwMenu.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
     treeNode32});
     this.trVwMenu.Size = new System.Drawing.Size(238, 217);
     this.trVwMenu.TabIndex = 3;
     //
     // btnDesAll
     //
     this.btnDesAll.ForeColor = System.Drawing.Color.Black;
     this.btnDesAll.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.btnDesAll.Location = new System.Drawing.Point(134, 236);
     this.btnDesAll.Name = "btnDesAll";
     this.btnDesAll.Size = new System.Drawing.Size(110, 23);
     this.btnDesAll.TabIndex = 2;
     this.btnDesAll.Text = "Desmarcar Todos";
     this.btnDesAll.UseVisualStyleBackColor = true;
     this.btnDesAll.Click += new System.EventHandler(this.btnDesAll_Click);
     //
     // btnMarAll
     //
     this.btnMarAll.ForeColor = System.Drawing.Color.Black;
     this.btnMarAll.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.btnMarAll.Location = new System.Drawing.Point(6, 236);
     this.btnMarAll.Name = "btnMarAll";
     this.btnMarAll.Size = new System.Drawing.Size(122, 23);
     this.btnMarAll.TabIndex = 1;
     this.btnMarAll.Text = "Marcar Todos";
     this.btnMarAll.UseVisualStyleBackColor = true;
     this.btnMarAll.Click += new System.EventHandler(this.btnMarAll_Click);
     //
     // grpBxInfor
     //
     this.grpBxInfor.Controls.Add(this.txtBxSenhaAntiga);
     this.grpBxInfor.Controls.Add(this.label1);
     this.grpBxInfor.Controls.Add(this.chckBxPriv);
     this.grpBxInfor.Controls.Add(this.txtUsu);
     this.grpBxInfor.Controls.Add(this.chckBxUsublq);
     this.grpBxInfor.Controls.Add(this.txtConSenha);
     this.grpBxInfor.Controls.Add(this.lblConSenha);
     this.grpBxInfor.Controls.Add(this.txtSenha);
     this.grpBxInfor.Controls.Add(this.lblUsua);
     this.grpBxInfor.Controls.Add(this.lblSenha);
     this.grpBxInfor.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxInfor.Location = new System.Drawing.Point(6, 6);
     this.grpBxInfor.Name = "grpBxInfor";
     this.grpBxInfor.Size = new System.Drawing.Size(261, 265);
     this.grpBxInfor.TabIndex = 0;
     this.grpBxInfor.TabStop = false;
     this.grpBxInfor.Text = "Informação";
     //
     // txtBxSenhaAntiga
     //
     this.txtBxSenhaAntiga.Location = new System.Drawing.Point(11, 74);
     this.txtBxSenhaAntiga.Name = "txtBxSenhaAntiga";
     this.txtBxSenhaAntiga.PasswordChar = '*';
     this.txtBxSenhaAntiga.Size = new System.Drawing.Size(100, 20);
     this.txtBxSenhaAntiga.TabIndex = 47;
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.CadetBlue;
     this.label1.Location = new System.Drawing.Point(11, 58);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(90, 13);
     this.label1.TabIndex = 46;
     this.label1.Text = "Senha antiga: ";
     this.label1.Click += new System.EventHandler(this.label1_Click);
     //
     // chckBxPriv
     //
     this.chckBxPriv.AutoSize = true;
     this.chckBxPriv.ForeColor = System.Drawing.Color.CadetBlue;
     this.chckBxPriv.Location = new System.Drawing.Point(11, 213);
     this.chckBxPriv.Name = "chckBxPriv";
     this.chckBxPriv.Size = new System.Drawing.Size(80, 17);
     this.chckBxPriv.TabIndex = 45;
     this.chckBxPriv.Text = "Privilegiado";
     this.chckBxPriv.UseVisualStyleBackColor = true;
     //
     // txtUsu
     //
     this.txtUsu.getText = "";
     this.txtUsu.Image = ((System.Drawing.Image)(resources.GetObject("txtUsu.Image")));
     this.txtUsu.Location = new System.Drawing.Point(11, 35);
     this.txtUsu.Name = "txtUsu";
     this.txtUsu.ShowButton = false;
     this.txtUsu.Size = new System.Drawing.Size(181, 25);
     this.txtUsu.TabIndex = 44;
     this.txtUsu.ButtonClick += new System.EventHandler(this.txtBtnUsu_ButtonClick);
     //
     // chckBxUsublq
     //
     this.chckBxUsublq.AutoSize = true;
     this.chckBxUsublq.ForeColor = System.Drawing.Color.CadetBlue;
     this.chckBxUsublq.Location = new System.Drawing.Point(11, 184);
     this.chckBxUsublq.Name = "chckBxUsublq";
     this.chckBxUsublq.Size = new System.Drawing.Size(116, 17);
     this.chckBxUsublq.TabIndex = 43;
     this.chckBxUsublq.Text = "Usuário Bloqueado";
     this.chckBxUsublq.UseVisualStyleBackColor = true;
     //
     // txtConSenha
     //
     this.txtConSenha.Location = new System.Drawing.Point(11, 152);
     this.txtConSenha.Name = "txtConSenha";
     this.txtConSenha.PasswordChar = '*';
     this.txtConSenha.Size = new System.Drawing.Size(100, 20);
     this.txtConSenha.TabIndex = 42;
     //
     // lblConSenha
     //
     this.lblConSenha.AutoSize = true;
     this.lblConSenha.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblConSenha.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblConSenha.Location = new System.Drawing.Point(11, 136);
     this.lblConSenha.Name = "lblConSenha";
     this.lblConSenha.Size = new System.Drawing.Size(108, 13);
     this.lblConSenha.TabIndex = 41;
     this.lblConSenha.Text = "Confirmar Senha :";
     //
     // txtSenha
     //
     this.txtSenha.Location = new System.Drawing.Point(11, 113);
     this.txtSenha.Name = "txtSenha";
     this.txtSenha.PasswordChar = '*';
     this.txtSenha.Size = new System.Drawing.Size(100, 20);
     this.txtSenha.TabIndex = 40;
     //
     // lblUsua
     //
     this.lblUsua.AutoSize = true;
     this.lblUsua.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblUsua.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblUsua.Location = new System.Drawing.Point(11, 19);
     this.lblUsua.Name = "lblUsua";
     this.lblUsua.Size = new System.Drawing.Size(58, 13);
     this.lblUsua.TabIndex = 36;
     this.lblUsua.Text = "Usuário :";
     //
     // lblSenha
     //
     this.lblSenha.AutoSize = true;
     this.lblSenha.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblSenha.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblSenha.Location = new System.Drawing.Point(11, 97);
     this.lblSenha.Name = "lblSenha";
     this.lblSenha.Size = new System.Drawing.Size(55, 13);
     this.lblSenha.TabIndex = 31;
     this.lblSenha.Text = "Senha : ";
     //
     // tbCntrlCtrUsu
     //
     this.tbCntrlCtrUsu.Controls.Add(this.tabPage1);
     this.tbCntrlCtrUsu.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbCntrlCtrUsu.Location = new System.Drawing.Point(12, 12);
     this.tbCntrlCtrUsu.Name = "tbCntrlCtrUsu";
     this.tbCntrlCtrUsu.SelectedIndex = 0;
     this.tbCntrlCtrUsu.Size = new System.Drawing.Size(537, 303);
     this.tbCntrlCtrUsu.TabIndex = 0;
     //
     // cOMERCIALDataSet
     //
     this.cOMERCIALDataSet.DataSetName = "COMERCIALDataSet";
     this.cOMERCIALDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // uSUARIOBindingSource
     //
     this.uSUARIOBindingSource.DataMember = "USUARIO";
     this.uSUARIOBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // uSUARIOTableAdapter
     //
     this.uSUARIOTableAdapter.ClearBeforeFill = true;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.ACESSOTableAdapter = null;
     this.tableAdapterManager.ATUCUBOTableAdapter = null;
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.CLIENTETableAdapter = null;
     this.tableAdapterManager.CONDICAOPAGAMENTOTableAdapter = null;
     this.tableAdapterManager.GRUPOPRODUTOTableAdapter = null;
     this.tableAdapterManager.ICMSTableAdapter = null;
     this.tableAdapterManager.ItemNotaFiscalTableAdapter = null;
     this.tableAdapterManager.ITEMPEDIDOTableAdapter = null;
     this.tableAdapterManager.modeloCampoTableAdapter = null;
     this.tableAdapterManager.modeloTableAdapter = null;
     this.tableAdapterManager.MODULOTableAdapter = null;
     this.tableAdapterManager.NOTAFISCALTableAdapter = null;
     this.tableAdapterManager.PEDIDOTableAdapter = null;
     this.tableAdapterManager.PRODUTOTableAdapter = null;
     this.tableAdapterManager.REGIAOTableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORATableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORAVIATableAdapter = null;
     this.tableAdapterManager.UNIDADEMEDIDATableAdapter = null;
     this.tableAdapterManager.UpdateOrder = Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     this.tableAdapterManager.USUARIOTableAdapter = this.uSUARIOTableAdapter;
     this.tableAdapterManager.VENDEDORTableAdapter = null;
     this.tableAdapterManager.VIATRANSPORTETableAdapter = null;
     //
     // FrmCadUsu
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(589, 348);
     this.Controls.Add(this.tbCntrlCtrUsu);
     this.Name = "FrmCadUsu";
     this.Text = "Controle de usuários";
     this.Load += new System.EventHandler(this.FrmCadUsu_Load);
     this.Shown += new System.EventHandler(this.FrmCadUsu_Shown);
     this.Leave += new System.EventHandler(this.FrmCadUsu_Leave);
     this.tabPage1.ResumeLayout(false);
     this.grpBxMenu.ResumeLayout(false);
     this.grpBxInfor.ResumeLayout(false);
     this.grpBxInfor.PerformLayout();
     this.tbCntrlCtrUsu.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.uSUARIOBindingSource)).EndInit();
     this.ResumeLayout(false);
 }
 /// <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(FrmConPDV));
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = 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.tbCntrlConPDV = new System.Windows.Forms.TabControl();
     this.tbPgConCli = new System.Windows.Forms.TabPage();
     this.grpSituacao = new System.Windows.Forms.GroupBox();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.lblteztoPendente = new System.Windows.Forms.Label();
     this.lblPendente = new System.Windows.Forms.Label();
     this.lblCancelado = new System.Windows.Forms.Label();
     this.lblEfetivado = new System.Windows.Forms.Label();
     this.grpBxFiltro = new System.Windows.Forms.GroupBox();
     this.grpBxTpRel = new System.Windows.Forms.GroupBox();
     this.rdbProd = new System.Windows.Forms.RadioButton();
     this.rdbped = new System.Windows.Forms.RadioButton();
     this.grpBxCli = new System.Windows.Forms.GroupBox();
     this.txtCodProd = new Comercial.TextButton();
     this.txtDesc = new System.Windows.Forms.TextBox();
     this.lblNome = new System.Windows.Forms.Label();
     this.lblCodCli = new System.Windows.Forms.Label();
     this.grpBxPedido = new System.Windows.Forms.GroupBox();
     this.txtCodPed = new System.Windows.Forms.TextBox();
     this.cmBxTipoPed = new System.Windows.Forms.ComboBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.rdbtnCancelado = new System.Windows.Forms.RadioButton();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.rdbtnPendente = new System.Windows.Forms.RadioButton();
     this.rdbtnEfetivado = new System.Windows.Forms.RadioButton();
     this.dttmDataPedidoate = new System.Windows.Forms.DateTimePicker();
     this.dttmDataPedido = new System.Windows.Forms.DateTimePicker();
     this.lblDataate = new System.Windows.Forms.Label();
     this.lblDataPed = new System.Windows.Forms.Label();
     this.lblCod = new System.Windows.Forms.Label();
     this.lblTipoPed = new System.Windows.Forms.Label();
     this.dtGrdConPDV = new System.Windows.Forms.DataGridView();
     this.iTEMPEDIDOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.cOMERCIALDataSet = new Comercial.COMERCIALDataSet();
     this.iTEMPEDIDOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.ITEMPEDIDOTableAdapter();
     this.tableAdapterManager = new Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager();
     this.pEDIDOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.PEDIDOTableAdapter();
     this.pEDIDOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.ColStatus = new System.Windows.Forms.DataGridViewImageColumn();
     this.ClmnCodPed = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmnDtPed = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColSituacao = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Cliente = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.DtEmissão = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColDtEntrega = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColCodProd = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColDescricao = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColQuantidade = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColQtdeLib = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ClmnValPed = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColValorTotal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColVALORFRETE = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ColDesconto = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tbCntrlConPDV.SuspendLayout();
     this.tbPgConCli.SuspendLayout();
     this.grpSituacao.SuspendLayout();
     this.grpBxFiltro.SuspendLayout();
     this.grpBxTpRel.SuspendLayout();
     this.grpBxCli.SuspendLayout();
     this.grpBxPedido.SuspendLayout();
     this.groupBox2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtGrdConPDV)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.iTEMPEDIDOBindingSource)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pEDIDOBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // tbCntrlConPDV
     //
     this.tbCntrlConPDV.Controls.Add(this.tbPgConCli);
     this.tbCntrlConPDV.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbCntrlConPDV.Location = new System.Drawing.Point(12, 12);
     this.tbCntrlConPDV.Name = "tbCntrlConPDV";
     this.tbCntrlConPDV.SelectedIndex = 0;
     this.tbCntrlConPDV.Size = new System.Drawing.Size(1000, 464);
     this.tbCntrlConPDV.TabIndex = 1;
     //
     // tbPgConCli
     //
     this.tbPgConCli.AutoScroll = true;
     this.tbPgConCli.Controls.Add(this.grpSituacao);
     this.tbPgConCli.Controls.Add(this.grpBxFiltro);
     this.tbPgConCli.Controls.Add(this.dtGrdConPDV);
     this.tbPgConCli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbPgConCli.ForeColor = System.Drawing.Color.CadetBlue;
     this.tbPgConCli.Location = new System.Drawing.Point(4, 22);
     this.tbPgConCli.Name = "tbPgConCli";
     this.tbPgConCli.Padding = new System.Windows.Forms.Padding(3);
     this.tbPgConCli.Size = new System.Drawing.Size(992, 438);
     this.tbPgConCli.TabIndex = 0;
     this.tbPgConCli.Text = "Consulta Pedido de Venda - Pedido / Cliente";
     this.tbPgConCli.UseVisualStyleBackColor = true;
     this.tbPgConCli.Click += new System.EventHandler(this.tbPgConCli_Click);
     //
     // grpSituacao
     //
     this.grpSituacao.Controls.Add(this.label2);
     this.grpSituacao.Controls.Add(this.label1);
     this.grpSituacao.Controls.Add(this.lblteztoPendente);
     this.grpSituacao.Controls.Add(this.lblPendente);
     this.grpSituacao.Controls.Add(this.lblCancelado);
     this.grpSituacao.Controls.Add(this.lblEfetivado);
     this.grpSituacao.ForeColor = System.Drawing.Color.CadetBlue;
     this.grpSituacao.Location = new System.Drawing.Point(858, 113);
     this.grpSituacao.Name = "grpSituacao";
     this.grpSituacao.Size = new System.Drawing.Size(123, 91);
     this.grpSituacao.TabIndex = 5;
     this.grpSituacao.TabStop = false;
     this.grpSituacao.Text = "Legenda";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(33, 65);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(58, 13);
     this.label2.TabIndex = 7;
     this.label2.Text = "Cancelado";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(33, 43);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(52, 13);
     this.label1.TabIndex = 6;
     this.label1.Text = "Efetivado";
     //
     // lblteztoPendente
     //
     this.lblteztoPendente.AutoSize = true;
     this.lblteztoPendente.Location = new System.Drawing.Point(33, 20);
     this.lblteztoPendente.Name = "lblteztoPendente";
     this.lblteztoPendente.Size = new System.Drawing.Size(53, 13);
     this.lblteztoPendente.TabIndex = 5;
     this.lblteztoPendente.Text = "Pendente";
     //
     // lblPendente
     //
     this.lblPendente.AutoSize = true;
     this.lblPendente.Image = global::Comercial.Properties.Resources.BolaAmarela;
     this.lblPendente.Location = new System.Drawing.Point(6, 20);
     this.lblPendente.MaximumSize = new System.Drawing.Size(30, 30);
     this.lblPendente.MinimumSize = new System.Drawing.Size(30, 0);
     this.lblPendente.Name = "lblPendente";
     this.lblPendente.Size = new System.Drawing.Size(30, 13);
     this.lblPendente.TabIndex = 2;
     //
     // lblCancelado
     //
     this.lblCancelado.AutoSize = true;
     this.lblCancelado.Image = global::Comercial.Properties.Resources.BolaVermelho;
     this.lblCancelado.Location = new System.Drawing.Point(6, 65);
     this.lblCancelado.MaximumSize = new System.Drawing.Size(30, 30);
     this.lblCancelado.MinimumSize = new System.Drawing.Size(30, 0);
     this.lblCancelado.Name = "lblCancelado";
     this.lblCancelado.Size = new System.Drawing.Size(30, 13);
     this.lblCancelado.TabIndex = 4;
     //
     // lblEfetivado
     //
     this.lblEfetivado.AutoSize = true;
     this.lblEfetivado.Image = global::Comercial.Properties.Resources.BolaVerde;
     this.lblEfetivado.Location = new System.Drawing.Point(6, 43);
     this.lblEfetivado.MaximumSize = new System.Drawing.Size(30, 30);
     this.lblEfetivado.MinimumSize = new System.Drawing.Size(30, 0);
     this.lblEfetivado.Name = "lblEfetivado";
     this.lblEfetivado.Size = new System.Drawing.Size(30, 13);
     this.lblEfetivado.TabIndex = 3;
     //
     // grpBxFiltro
     //
     this.grpBxFiltro.Controls.Add(this.grpBxTpRel);
     this.grpBxFiltro.Controls.Add(this.grpBxCli);
     this.grpBxFiltro.Controls.Add(this.grpBxPedido);
     this.grpBxFiltro.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grpBxFiltro.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxFiltro.Location = new System.Drawing.Point(6, 6);
     this.grpBxFiltro.Name = "grpBxFiltro";
     this.grpBxFiltro.Size = new System.Drawing.Size(648, 198);
     this.grpBxFiltro.TabIndex = 1;
     this.grpBxFiltro.TabStop = false;
     this.grpBxFiltro.Text = "Filtros:";
     //
     // grpBxTpRel
     //
     this.grpBxTpRel.Controls.Add(this.rdbProd);
     this.grpBxTpRel.Controls.Add(this.rdbped);
     this.grpBxTpRel.ForeColor = System.Drawing.Color.CadetBlue;
     this.grpBxTpRel.Location = new System.Drawing.Point(318, 101);
     this.grpBxTpRel.Name = "grpBxTpRel";
     this.grpBxTpRel.Size = new System.Drawing.Size(195, 53);
     this.grpBxTpRel.TabIndex = 10;
     this.grpBxTpRel.TabStop = false;
     this.grpBxTpRel.Text = "Tipo Relatório";
     //
     // rdbProd
     //
     this.rdbProd.AutoSize = true;
     this.rdbProd.ForeColor = System.Drawing.Color.CadetBlue;
     this.rdbProd.Location = new System.Drawing.Point(93, 28);
     this.rdbProd.Name = "rdbProd";
     this.rdbProd.Size = new System.Drawing.Size(65, 17);
     this.rdbProd.TabIndex = 1;
     this.rdbProd.Text = "Poduto";
     this.rdbProd.UseVisualStyleBackColor = true;
     //
     // rdbped
     //
     this.rdbped.AutoSize = true;
     this.rdbped.Checked = true;
     this.rdbped.ForeColor = System.Drawing.Color.CadetBlue;
     this.rdbped.Location = new System.Drawing.Point(10, 28);
     this.rdbped.Name = "rdbped";
     this.rdbped.Size = new System.Drawing.Size(64, 17);
     this.rdbped.TabIndex = 0;
     this.rdbped.TabStop = true;
     this.rdbped.Text = "Pedido";
     this.rdbped.UseVisualStyleBackColor = true;
     //
     // grpBxCli
     //
     this.grpBxCli.Controls.Add(this.txtCodProd);
     this.grpBxCli.Controls.Add(this.txtDesc);
     this.grpBxCli.Controls.Add(this.lblNome);
     this.grpBxCli.Controls.Add(this.lblCodCli);
     this.grpBxCli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.grpBxCli.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxCli.Location = new System.Drawing.Point(318, 19);
     this.grpBxCli.Name = "grpBxCli";
     this.grpBxCli.Size = new System.Drawing.Size(324, 76);
     this.grpBxCli.TabIndex = 9;
     this.grpBxCli.TabStop = false;
     this.grpBxCli.Text = "Dados Produto:";
     //
     // txtCodProd
     //
     this.txtCodProd.getText = "";
     this.txtCodProd.Image = ((System.Drawing.Image)(resources.GetObject("txtCodProd.Image")));
     this.txtCodProd.Location = new System.Drawing.Point(15, 35);
     this.txtCodProd.Name = "txtCodProd";
     this.txtCodProd.ShowButton = false;
     this.txtCodProd.Size = new System.Drawing.Size(98, 25);
     this.txtCodProd.TabIndex = 109;
     this.txtCodProd.ButtonClick += new System.EventHandler(this.txtCodProd_ButtonClick);
     //
     // txtDesc
     //
     this.txtDesc.Location = new System.Drawing.Point(123, 36);
     this.txtDesc.Name = "txtDesc";
     this.txtDesc.Size = new System.Drawing.Size(187, 20);
     this.txtDesc.TabIndex = 23;
     //
     // lblNome
     //
     this.lblNome.AutoSize = true;
     this.lblNome.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblNome.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblNome.Location = new System.Drawing.Point(120, 19);
     this.lblNome.Name = "lblNome";
     this.lblNome.Size = new System.Drawing.Size(58, 13);
     this.lblNome.TabIndex = 22;
     this.lblNome.Text = "Descrição:";
     //
     // lblCodCli
     //
     this.lblCodCli.AutoSize = true;
     this.lblCodCli.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCodCli.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblCodCli.Location = new System.Drawing.Point(12, 19);
     this.lblCodCli.Name = "lblCodCli";
     this.lblCodCli.Size = new System.Drawing.Size(43, 13);
     this.lblCodCli.TabIndex = 20;
     this.lblCodCli.Text = "Código:";
     //
     // grpBxPedido
     //
     this.grpBxPedido.Controls.Add(this.txtCodPed);
     this.grpBxPedido.Controls.Add(this.cmBxTipoPed);
     this.grpBxPedido.Controls.Add(this.groupBox2);
     this.grpBxPedido.Controls.Add(this.dttmDataPedidoate);
     this.grpBxPedido.Controls.Add(this.dttmDataPedido);
     this.grpBxPedido.Controls.Add(this.lblDataate);
     this.grpBxPedido.Controls.Add(this.lblDataPed);
     this.grpBxPedido.Controls.Add(this.lblCod);
     this.grpBxPedido.Controls.Add(this.lblTipoPed);
     this.grpBxPedido.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxPedido.Location = new System.Drawing.Point(6, 19);
     this.grpBxPedido.Name = "grpBxPedido";
     this.grpBxPedido.Size = new System.Drawing.Size(305, 170);
     this.grpBxPedido.TabIndex = 8;
     this.grpBxPedido.TabStop = false;
     this.grpBxPedido.Text = "Dados Pedido";
     //
     // txtCodPed
     //
     this.txtCodPed.Location = new System.Drawing.Point(10, 35);
     this.txtCodPed.Name = "txtCodPed";
     this.txtCodPed.Size = new System.Drawing.Size(92, 20);
     this.txtCodPed.TabIndex = 27;
     //
     // cmBxTipoPed
     //
     this.cmBxTipoPed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmBxTipoPed.FormattingEnabled = true;
     this.cmBxTipoPed.Items.AddRange(new object[] {
     "",
     "N = Normal",
     "C = Complemento de preço"});
     this.cmBxTipoPed.Location = new System.Drawing.Point(108, 35);
     this.cmBxTipoPed.Name = "cmBxTipoPed";
     this.cmBxTipoPed.Size = new System.Drawing.Size(173, 21);
     this.cmBxTipoPed.TabIndex = 13;
     //
     // groupBox2
     //
     this.groupBox2.Controls.Add(this.rdbtnCancelado);
     this.groupBox2.Controls.Add(this.checkBox1);
     this.groupBox2.Controls.Add(this.rdbtnPendente);
     this.groupBox2.Controls.Add(this.rdbtnEfetivado);
     this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.groupBox2.ForeColor = System.Drawing.Color.CadetBlue;
     this.groupBox2.Location = new System.Drawing.Point(18, 64);
     this.groupBox2.Name = "groupBox2";
     this.groupBox2.Size = new System.Drawing.Size(263, 42);
     this.groupBox2.TabIndex = 26;
     this.groupBox2.TabStop = false;
     this.groupBox2.Text = "Situação do Pedido:";
     //
     // rdbtnCancelado
     //
     this.rdbtnCancelado.AutoSize = true;
     this.rdbtnCancelado.Location = new System.Drawing.Point(180, 18);
     this.rdbtnCancelado.Name = "rdbtnCancelado";
     this.rdbtnCancelado.Size = new System.Drawing.Size(76, 17);
     this.rdbtnCancelado.TabIndex = 4;
     this.rdbtnCancelado.TabStop = true;
     this.rdbtnCancelado.Text = "Cancelado";
     this.rdbtnCancelado.UseVisualStyleBackColor = true;
     this.rdbtnCancelado.CheckedChanged += new System.EventHandler(this.rdbtnCancelado_CheckedChanged);
     //
     // checkBox1
     //
     this.checkBox1.AutoSize = true;
     this.checkBox1.Location = new System.Drawing.Point(6, 22);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(15, 14);
     this.checkBox1.TabIndex = 3;
     this.checkBox1.UseVisualStyleBackColor = true;
     this.checkBox1.CheckStateChanged += new System.EventHandler(this.checkBox1_CheckStateChanged);
     //
     // rdbtnPendente
     //
     this.rdbtnPendente.AutoSize = true;
     this.rdbtnPendente.Location = new System.Drawing.Point(103, 19);
     this.rdbtnPendente.Name = "rdbtnPendente";
     this.rdbtnPendente.Size = new System.Drawing.Size(71, 17);
     this.rdbtnPendente.TabIndex = 1;
     this.rdbtnPendente.TabStop = true;
     this.rdbtnPendente.Text = "Pendente";
     this.rdbtnPendente.UseVisualStyleBackColor = true;
     this.rdbtnPendente.CheckedChanged += new System.EventHandler(this.rdbtnPendente_CheckedChanged);
     //
     // rdbtnEfetivado
     //
     this.rdbtnEfetivado.AutoSize = true;
     this.rdbtnEfetivado.Location = new System.Drawing.Point(27, 20);
     this.rdbtnEfetivado.Name = "rdbtnEfetivado";
     this.rdbtnEfetivado.Size = new System.Drawing.Size(70, 17);
     this.rdbtnEfetivado.TabIndex = 0;
     this.rdbtnEfetivado.TabStop = true;
     this.rdbtnEfetivado.Text = "Efetivado";
     this.rdbtnEfetivado.UseVisualStyleBackColor = true;
     this.rdbtnEfetivado.CheckedChanged += new System.EventHandler(this.rdbtnEfetivado_CheckedChanged);
     //
     // dttmDataPedidoate
     //
     this.dttmDataPedidoate.Checked = false;
     this.dttmDataPedidoate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dttmDataPedidoate.Location = new System.Drawing.Point(133, 128);
     this.dttmDataPedidoate.Name = "dttmDataPedidoate";
     this.dttmDataPedidoate.ShowCheckBox = true;
     this.dttmDataPedidoate.Size = new System.Drawing.Size(115, 20);
     this.dttmDataPedidoate.TabIndex = 25;
     //
     // dttmDataPedido
     //
     this.dttmDataPedido.Checked = false;
     this.dttmDataPedido.Format = System.Windows.Forms.DateTimePickerFormat.Short;
     this.dttmDataPedido.Location = new System.Drawing.Point(12, 128);
     this.dttmDataPedido.Name = "dttmDataPedido";
     this.dttmDataPedido.ShowCheckBox = true;
     this.dttmDataPedido.Size = new System.Drawing.Size(115, 20);
     this.dttmDataPedido.TabIndex = 24;
     //
     // lblDataate
     //
     this.lblDataate.AutoSize = true;
     this.lblDataate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDataate.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblDataate.Location = new System.Drawing.Point(133, 112);
     this.lblDataate.Name = "lblDataate";
     this.lblDataate.Size = new System.Drawing.Size(51, 13);
     this.lblDataate.TabIndex = 22;
     this.lblDataate.Text = "Data até:";
     //
     // lblDataPed
     //
     this.lblDataPed.AutoSize = true;
     this.lblDataPed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblDataPed.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblDataPed.Location = new System.Drawing.Point(9, 112);
     this.lblDataPed.Name = "lblDataPed";
     this.lblDataPed.Size = new System.Drawing.Size(48, 13);
     this.lblDataPed.TabIndex = 20;
     this.lblDataPed.Text = "Data de:";
     //
     // lblCod
     //
     this.lblCod.AutoSize = true;
     this.lblCod.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblCod.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblCod.Location = new System.Drawing.Point(9, 19);
     this.lblCod.Name = "lblCod";
     this.lblCod.Size = new System.Drawing.Size(43, 13);
     this.lblCod.TabIndex = 16;
     this.lblCod.Text = "Código:";
     //
     // lblTipoPed
     //
     this.lblTipoPed.AutoSize = true;
     this.lblTipoPed.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTipoPed.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblTipoPed.Location = new System.Drawing.Point(105, 20);
     this.lblTipoPed.Name = "lblTipoPed";
     this.lblTipoPed.Size = new System.Drawing.Size(81, 13);
     this.lblTipoPed.TabIndex = 7;
     this.lblTipoPed.Text = "Tipo do pedido:";
     //
     // dtGrdConPDV
     //
     this.dtGrdConPDV.AllowUserToAddRows = false;
     this.dtGrdConPDV.AllowUserToDeleteRows = false;
     dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dtGrdConPDV.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
     this.dtGrdConPDV.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dtGrdConPDV.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.ColStatus,
     this.ClmnCodPed,
     this.ClmnDtPed,
     this.ColSituacao,
     this.Cliente,
     this.DtEmissão,
     this.ColDtEntrega,
     this.ColCodProd,
     this.ColDescricao,
     this.ColQuantidade,
     this.ColQtdeLib,
     this.ClmnValPed,
     this.ColValorTotal,
     this.ColVALORFRETE,
     this.ColDesconto});
     dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
     dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle6.ForeColor = System.Drawing.Color.CadetBlue;
     dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
     this.dtGrdConPDV.DefaultCellStyle = dataGridViewCellStyle6;
     this.dtGrdConPDV.Location = new System.Drawing.Point(6, 210);
     this.dtGrdConPDV.Name = "dtGrdConPDV";
     this.dtGrdConPDV.ReadOnly = true;
     dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
     dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
     dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
     dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
     dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
     dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
     this.dtGrdConPDV.RowHeadersDefaultCellStyle = dataGridViewCellStyle7;
     this.dtGrdConPDV.Size = new System.Drawing.Size(975, 222);
     this.dtGrdConPDV.TabIndex = 0;
     //
     // iTEMPEDIDOBindingSource
     //
     this.iTEMPEDIDOBindingSource.DataMember = "ITEMPEDIDO";
     this.iTEMPEDIDOBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // cOMERCIALDataSet
     //
     this.cOMERCIALDataSet.DataSetName = "COMERCIALDataSet";
     this.cOMERCIALDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // iTEMPEDIDOTableAdapter
     //
     this.iTEMPEDIDOTableAdapter.ClearBeforeFill = true;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.ACESSOTableAdapter = null;
     this.tableAdapterManager.ATUCUBOTableAdapter = null;
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.CLIENTETableAdapter = null;
     this.tableAdapterManager.CONDICAOPAGAMENTOTableAdapter = null;
     this.tableAdapterManager.GRUPOPRODUTOTableAdapter = null;
     this.tableAdapterManager.ICMSTableAdapter = null;
     this.tableAdapterManager.ItemNotaFiscalTableAdapter = null;
     this.tableAdapterManager.ITEMPEDIDOTableAdapter = this.iTEMPEDIDOTableAdapter;
     this.tableAdapterManager.modeloCampoTableAdapter = null;
     this.tableAdapterManager.modeloTableAdapter = null;
     this.tableAdapterManager.MODULOTableAdapter = null;
     this.tableAdapterManager.NOTAFISCALTableAdapter = null;
     this.tableAdapterManager.PEDIDOTableAdapter = this.pEDIDOTableAdapter;
     this.tableAdapterManager.PRODUTOTableAdapter = null;
     this.tableAdapterManager.REGIAOTableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORATableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORAVIATableAdapter = null;
     this.tableAdapterManager.UNIDADEMEDIDATableAdapter = null;
     this.tableAdapterManager.UpdateOrder = Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     this.tableAdapterManager.USUARIOTableAdapter = null;
     this.tableAdapterManager.VENDEDORTableAdapter = null;
     this.tableAdapterManager.VIATRANSPORTETableAdapter = null;
     //
     // pEDIDOTableAdapter
     //
     this.pEDIDOTableAdapter.ClearBeforeFill = true;
     //
     // pEDIDOBindingSource
     //
     this.pEDIDOBindingSource.DataMember = "PEDIDO";
     this.pEDIDOBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // ColStatus
     //
     this.ColStatus.DataPropertyName = "ImageStatus";
     this.ColStatus.HeaderText = "";
     this.ColStatus.Name = "ColStatus";
     this.ColStatus.ReadOnly = true;
     this.ColStatus.Resizable = System.Windows.Forms.DataGridViewTriState.True;
     this.ColStatus.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
     this.ColStatus.Width = 30;
     //
     // ClmnCodPed
     //
     this.ClmnCodPed.DataPropertyName = "NRPEDIDO";
     this.ClmnCodPed.HeaderText = "Num Ped.";
     this.ClmnCodPed.Name = "ClmnCodPed";
     this.ClmnCodPed.ReadOnly = true;
     //
     // ClmnDtPed
     //
     this.ClmnDtPed.DataPropertyName = "TIPO";
     this.ClmnDtPed.HeaderText = "Tipo Ped.";
     this.ClmnDtPed.Name = "ClmnDtPed";
     this.ClmnDtPed.ReadOnly = true;
     this.ClmnDtPed.Visible = false;
     this.ClmnDtPed.Width = 80;
     //
     // ColSituacao
     //
     this.ColSituacao.DataPropertyName = "SITUACAO";
     this.ColSituacao.HeaderText = "Situação";
     this.ColSituacao.Name = "ColSituacao";
     this.ColSituacao.ReadOnly = true;
     this.ColSituacao.Width = 80;
     //
     // Cliente
     //
     this.Cliente.DataPropertyName = "RAZAOSOCIAL";
     this.Cliente.HeaderText = "Cliente";
     this.Cliente.Name = "Cliente";
     this.Cliente.ReadOnly = true;
     //
     // DtEmissão
     //
     this.DtEmissão.DataPropertyName = "DATAEMISSAO";
     dataGridViewCellStyle2.Format = "d";
     dataGridViewCellStyle2.NullValue = null;
     this.DtEmissão.DefaultCellStyle = dataGridViewCellStyle2;
     this.DtEmissão.HeaderText = "Data Emissão";
     this.DtEmissão.Name = "DtEmissão";
     this.DtEmissão.ReadOnly = true;
     //
     // ColDtEntrega
     //
     this.ColDtEntrega.DataPropertyName = "DATAENTREGA";
     dataGridViewCellStyle3.Format = "d";
     this.ColDtEntrega.DefaultCellStyle = dataGridViewCellStyle3;
     this.ColDtEntrega.HeaderText = "Data Entrega";
     this.ColDtEntrega.Name = "ColDtEntrega";
     this.ColDtEntrega.ReadOnly = true;
     //
     // ColCodProd
     //
     this.ColCodProd.DataPropertyName = "CODPRODUTO";
     this.ColCodProd.HeaderText = "Código Produto";
     this.ColCodProd.Name = "ColCodProd";
     this.ColCodProd.ReadOnly = true;
     this.ColCodProd.Visible = false;
     //
     // ColDescricao
     //
     this.ColDescricao.DataPropertyName = "DESCRICAO";
     this.ColDescricao.HeaderText = "Descrição Produto";
     this.ColDescricao.Name = "ColDescricao";
     this.ColDescricao.ReadOnly = true;
     this.ColDescricao.Width = 120;
     //
     // ColQuantidade
     //
     this.ColQuantidade.DataPropertyName = "QUANTIDADE";
     this.ColQuantidade.HeaderText = "Quantidade";
     this.ColQuantidade.Name = "ColQuantidade";
     this.ColQuantidade.ReadOnly = true;
     //
     // ColQtdeLib
     //
     this.ColQtdeLib.DataPropertyName = "QUANTIDADELIB";
     this.ColQtdeLib.HeaderText = "Quant. Liberada";
     this.ColQtdeLib.Name = "ColQtdeLib";
     this.ColQtdeLib.ReadOnly = true;
     //
     // ClmnValPed
     //
     this.ClmnValPed.DataPropertyName = "VALOR";
     dataGridViewCellStyle4.Format = "C2";
     dataGridViewCellStyle4.NullValue = null;
     this.ClmnValPed.DefaultCellStyle = dataGridViewCellStyle4;
     this.ClmnValPed.HeaderText = "Preço Unitário";
     this.ClmnValPed.Name = "ClmnValPed";
     this.ClmnValPed.ReadOnly = true;
     this.ClmnValPed.Visible = false;
     //
     // ColValorTotal
     //
     this.ColValorTotal.DataPropertyName = "ValorTotal";
     dataGridViewCellStyle5.Format = "C2";
     dataGridViewCellStyle5.NullValue = null;
     this.ColValorTotal.DefaultCellStyle = dataGridViewCellStyle5;
     this.ColValorTotal.HeaderText = "Valor Total";
     this.ColValorTotal.Name = "ColValorTotal";
     this.ColValorTotal.ReadOnly = true;
     //
     // ColVALORFRETE
     //
     this.ColVALORFRETE.DataPropertyName = "VALORFRETE";
     this.ColVALORFRETE.HeaderText = "Valor Frete";
     this.ColVALORFRETE.Name = "ColVALORFRETE";
     this.ColVALORFRETE.ReadOnly = true;
     this.ColVALORFRETE.Visible = false;
     //
     // ColDesconto
     //
     this.ColDesconto.DataPropertyName = "DESCONTO";
     this.ColDesconto.HeaderText = "Desconto";
     this.ColDesconto.Name = "ColDesconto";
     this.ColDesconto.ReadOnly = true;
     this.ColDesconto.Visible = false;
     //
     // FrmConPDV
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(1014, 482);
     this.Controls.Add(this.tbCntrlConPDV);
     this.Name = "FrmConPDV";
     this.Text = "Consulta Pedido de Vendas";
     this.Load += new System.EventHandler(this.FrmConPDV_Load);
     this.Leave += new System.EventHandler(this.FrmConPDV_Leave);
     this.tbCntrlConPDV.ResumeLayout(false);
     this.tbPgConCli.ResumeLayout(false);
     this.grpSituacao.ResumeLayout(false);
     this.grpSituacao.PerformLayout();
     this.grpBxFiltro.ResumeLayout(false);
     this.grpBxTpRel.ResumeLayout(false);
     this.grpBxTpRel.PerformLayout();
     this.grpBxCli.ResumeLayout(false);
     this.grpBxCli.PerformLayout();
     this.grpBxPedido.ResumeLayout(false);
     this.grpBxPedido.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dtGrdConPDV)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.iTEMPEDIDOBindingSource)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pEDIDOBindingSource)).EndInit();
     this.ResumeLayout(false);
 }
 /// <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(FrmPermissoesUsu));
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.grpBxInfor = new System.Windows.Forms.GroupBox();
     this.chckBxPriv = new System.Windows.Forms.CheckBox();
     this.chckBxUsublq = new System.Windows.Forms.CheckBox();
     this.lblUsua = new System.Windows.Forms.Label();
     this.tbCntrlCtrUsu = new System.Windows.Forms.TabControl();
     this.cOMERCIALDataSet = new Comercial.COMERCIALDataSet();
     this.uSUARIOBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.uSUARIOTableAdapter = new Comercial.COMERCIALDataSetTableAdapters.USUARIOTableAdapter();
     this.tableAdapterManager = new Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager();
     this.txtUsu = new Comercial.TextButton();
     this.tabPage1.SuspendLayout();
     this.grpBxInfor.SuspendLayout();
     this.tbCntrlCtrUsu.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.uSUARIOBindingSource)).BeginInit();
     this.SuspendLayout();
     //
     // tabPage1
     //
     this.tabPage1.AutoScroll = true;
     this.tabPage1.Controls.Add(this.grpBxInfor);
     this.tabPage1.Location = new System.Drawing.Point(4, 22);
     this.tabPage1.Name = "tabPage1";
     this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     this.tabPage1.Size = new System.Drawing.Size(522, 212);
     this.tabPage1.TabIndex = 0;
     this.tabPage1.Text = "Permissões";
     this.tabPage1.UseVisualStyleBackColor = true;
     //
     // grpBxInfor
     //
     this.grpBxInfor.Controls.Add(this.chckBxPriv);
     this.grpBxInfor.Controls.Add(this.txtUsu);
     this.grpBxInfor.Controls.Add(this.chckBxUsublq);
     this.grpBxInfor.Controls.Add(this.lblUsua);
     this.grpBxInfor.ForeColor = System.Drawing.Color.CornflowerBlue;
     this.grpBxInfor.Location = new System.Drawing.Point(6, 6);
     this.grpBxInfor.Name = "grpBxInfor";
     this.grpBxInfor.Size = new System.Drawing.Size(443, 108);
     this.grpBxInfor.TabIndex = 0;
     this.grpBxInfor.TabStop = false;
     this.grpBxInfor.Text = "Informação";
     //
     // chckBxPriv
     //
     this.chckBxPriv.AutoSize = true;
     this.chckBxPriv.ForeColor = System.Drawing.Color.CadetBlue;
     this.chckBxPriv.Location = new System.Drawing.Point(198, 35);
     this.chckBxPriv.Name = "chckBxPriv";
     this.chckBxPriv.Size = new System.Drawing.Size(80, 17);
     this.chckBxPriv.TabIndex = 45;
     this.chckBxPriv.Text = "Privilegiado";
     this.chckBxPriv.UseVisualStyleBackColor = true;
     //
     // chckBxUsublq
     //
     this.chckBxUsublq.AutoSize = true;
     this.chckBxUsublq.ForeColor = System.Drawing.Color.CadetBlue;
     this.chckBxUsublq.Location = new System.Drawing.Point(284, 35);
     this.chckBxUsublq.Name = "chckBxUsublq";
     this.chckBxUsublq.Size = new System.Drawing.Size(116, 17);
     this.chckBxUsublq.TabIndex = 43;
     this.chckBxUsublq.Text = "Usuário Bloqueado";
     this.chckBxUsublq.UseVisualStyleBackColor = true;
     //
     // lblUsua
     //
     this.lblUsua.AutoSize = true;
     this.lblUsua.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblUsua.ForeColor = System.Drawing.Color.CadetBlue;
     this.lblUsua.Location = new System.Drawing.Point(11, 19);
     this.lblUsua.Name = "lblUsua";
     this.lblUsua.Size = new System.Drawing.Size(50, 13);
     this.lblUsua.TabIndex = 36;
     this.lblUsua.Text = "Usuário";
     //
     // tbCntrlCtrUsu
     //
     this.tbCntrlCtrUsu.Controls.Add(this.tabPage1);
     this.tbCntrlCtrUsu.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tbCntrlCtrUsu.Location = new System.Drawing.Point(12, 5);
     this.tbCntrlCtrUsu.Name = "tbCntrlCtrUsu";
     this.tbCntrlCtrUsu.SelectedIndex = 0;
     this.tbCntrlCtrUsu.Size = new System.Drawing.Size(530, 238);
     this.tbCntrlCtrUsu.TabIndex = 0;
     //
     // cOMERCIALDataSet
     //
     this.cOMERCIALDataSet.DataSetName = "COMERCIALDataSet";
     this.cOMERCIALDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
     //
     // uSUARIOBindingSource
     //
     this.uSUARIOBindingSource.DataMember = "USUARIO";
     this.uSUARIOBindingSource.DataSource = this.cOMERCIALDataSet;
     //
     // uSUARIOTableAdapter
     //
     this.uSUARIOTableAdapter.ClearBeforeFill = true;
     //
     // tableAdapterManager
     //
     this.tableAdapterManager.ACESSOTableAdapter = null;
     this.tableAdapterManager.ATUCUBOTableAdapter = null;
     this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
     this.tableAdapterManager.CLIENTETableAdapter = null;
     this.tableAdapterManager.CONDICAOPAGAMENTOTableAdapter = null;
     this.tableAdapterManager.GRUPOPRODUTOTableAdapter = null;
     this.tableAdapterManager.ICMSTableAdapter = null;
     this.tableAdapterManager.ItemNotaFiscalTableAdapter = null;
     this.tableAdapterManager.ITEMPEDIDOTableAdapter = null;
     this.tableAdapterManager.modeloCampoTableAdapter = null;
     this.tableAdapterManager.modeloTableAdapter = null;
     this.tableAdapterManager.MODULOTableAdapter = null;
     this.tableAdapterManager.NOTAFISCALTableAdapter = null;
     this.tableAdapterManager.PEDIDOTableAdapter = null;
     this.tableAdapterManager.PRODUTOTableAdapter = null;
     this.tableAdapterManager.REGIAOTableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORATableAdapter = null;
     this.tableAdapterManager.TRANSPORTADORAVIATableAdapter = null;
     this.tableAdapterManager.UNIDADEMEDIDATableAdapter = null;
     this.tableAdapterManager.UpdateOrder = Comercial.COMERCIALDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
     this.tableAdapterManager.USUARIOTableAdapter = this.uSUARIOTableAdapter;
     this.tableAdapterManager.VENDEDORTableAdapter = null;
     this.tableAdapterManager.VIATRANSPORTETableAdapter = null;
     //
     // txtUsu
     //
     this.txtUsu.getText = "";
     this.txtUsu.Image = ((System.Drawing.Image)(resources.GetObject("txtUsu.Image")));
     this.txtUsu.Location = new System.Drawing.Point(11, 35);
     this.txtUsu.Name = "txtUsu";
     this.txtUsu.ShowButton = false;
     this.txtUsu.Size = new System.Drawing.Size(181, 25);
     this.txtUsu.TabIndex = 44;
     this.txtUsu.ButtonClick += new System.EventHandler(this.txtBtnUsu_ButtonClick);
     //
     // FrmPermissoesUsu
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(589, 348);
     this.ControlBox = false;
     this.Controls.Add(this.tbCntrlCtrUsu);
     this.Name = "FrmPermissoesUsu";
     this.Text = "Controle de usuários";
     this.Load += new System.EventHandler(this.FrmPermissoesUsu_Load);
     this.Shown += new System.EventHandler(this.FrmPermissoesUsu_Shown);
     this.Leave += new System.EventHandler(this.FrmPermissoesUsu_Leave);
     this.tabPage1.ResumeLayout(false);
     this.grpBxInfor.ResumeLayout(false);
     this.grpBxInfor.PerformLayout();
     this.tbCntrlCtrUsu.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.cOMERCIALDataSet)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.uSUARIOBindingSource)).EndInit();
     this.ResumeLayout(false);
 }