private void InitializeComponent()
        {
            this.components    = new Container();
            this.AutoScaleMode = AutoScaleMode.Font;
            this.ClientSize    = new Size(170, 150);
            this.Text          = "Buscar Filme";

            this.labelId = new LabelPadrao("Digite o ID do Filme:", 190);
            this.inputId = new InputPadrao(70);

            this.inputIdError = new ErrorProvider();
            this.inputIdError.SetIconAlignment(this.inputId, ErrorIconAlignment.MiddleRight);
            this.inputIdError.BlinkStyle = ErrorBlinkStyle.NeverBlink;


            this.TablePadrao = new TablePadrao(this.Width, 50);

            this.buttonVoltar  = new ButtonsVoltar(this.Width / 3, this.TablePadrao.Height, this, this.parent);
            this.buttonsBuscar = new ButtonsBuscar(this.Width / 3, this.TablePadrao.Height, Buscar);

            this.TablePadrao.Controls.Add(labelId);
            this.TablePadrao.Controls.Add(inputId);
            this.Controls.Add(TablePadrao);
            this.Controls.Add(buttonVoltar);
            this.Controls.Add(buttonsBuscar);
        }
        public void InitializeComponent()
        {
            this.Text        = "Buscar Locacao";
            this.Height      = 250;
            this.TablePadrao = new TablePadrao(this.Width, 50);
            this.labelId     = new LabelPadrao("Digite o ID da Locação:", 200);
            this.inputId     = new InputPadrao(70);

            this.buttonVoltar  = new ButtonsVoltar(this.Width / 2, this.TablePadrao.Height, this, this.parent);
            this.buttonsBuscar = new ButtonsBuscar(this.Width / 3 + 40, 100, Buscar);

            this.TablePadrao.Controls.Add(labelId);
            this.TablePadrao.Controls.Add(inputId);
            this.Controls.Add(TablePadrao);
            this.Controls.Add(buttonVoltar);
            this.Controls.Add(buttonsBuscar);
        }
 public void InitializeComponent()
 {
     this.inputIdError = new ErrorProvider();
     this.inputIdError.SetIconAlignment(this.inputId, ErrorIconAlignment.MiddleRight);
     this.inputIdError.BlinkStyle = ErrorBlinkStyle.NeverBlink;
     this.TablePadrao             = new TablePadrao(this.Width, this.Height - 100);
     this.Text     = "Buscar Cliente";
     this.Height   = 250;
     labelId       = new LabelPadrao("Digite o ID do Cliente:", 200);
     inputId       = new InputPadrao(150);
     buttonVoltar  = new ButtonsVoltar(this.Width / 3, this.TablePadrao.Height, this, this.parent);
     buttonsBuscar = new ButtonsBuscar(this.Width / 3, this.TablePadrao.Height, Buscar);
     this.Controls.Add(buttonVoltar);
     this.Controls.Add(buttonsBuscar);
     this.TablePadrao.Controls.Add(labelId);
     this.TablePadrao.Controls.Add(inputId);
     this.Controls.Add(TablePadrao);
 }