Exemple #1
0
 private void refreshButton_Click(object sender, EventArgs e)
 {
     dniModifyClientTextBox.Text     = "";
     nameModifyClientTextBox.Text    = "";
     surnameModifyClientTextBox.Text = "";
     dataGridView1.DataSource        = naturalClientBL.listNaturalClients("", "", "");
 }
Exemple #2
0
 public SearchNaturalClient()
 {
     InitializeComponent();
     this.CenterToScreen();
     textBox3.Text   = Constants.CurrentUserText;
     naturalClientBL = new NaturalClientBL();
     dataGridView1.AutoGenerateColumns = false;
     dataGridView1.DataSource          = naturalClientBL.listNaturalClients("", "", "");
 }
Exemple #3
0
        public ClientManagement()
        {
            dniModify = nameModify = surnameModify = 0;
            InitializeComponent();

            naturalClientBL = new NaturalClientBL();

            this.CenterToScreen();

            textBox4.Text = Constants.CurrentUserText;

            dataGridView1.AutoGenerateColumns = false;
            dataGridView1.DataSource          = naturalClientBL.listNaturalClients("", "", "");
            dgvFlag = true;
        }
Exemple #4
0
 private void dniModifyClientTextBox_TextChanged(object sender, EventArgs e)
 {
     dataGridView1.DataSource = naturalClientBL.listNaturalClients(dniModifyClientTextBox.Text, textBox1.Text, textBox2.Text);
 }