Example #1
0
        private void btnSelectAll_Click(object sender, EventArgs e)
        {
            string       columnName   = dgvQuerry.Columns["Select"].Name.ToString();
            AutoComplete autoComplete = new AutoComplete();

            autoComplete.AutoSelectAll(dgvSelected, columnName);
        }
Example #2
0
        private void btnSelectAll_Click(object sender, EventArgs e)
        {
            string       columnName   = dataGridView1.Columns["Select"].Name.ToString();
            AutoComplete autoComplete = new AutoComplete();

            autoComplete.AutoSelectAll(dataGridView2, columnName);
        }
Example #3
0
        public AddNewItem()
        {
            InitializeComponent();
            LoadData();
            AutoComplete auto = new AutoComplete();

            this.AutoScroll = true;
            //tring strAuto = "SELECT SN FROM Tai_san";
            //txtSN.AutoCompleteCustomSource = auto.AutoCompleteData1(strAuto);
            //AutoComplete1();
        }
Example #4
0
 private void btnSelectAll_Click(object sender, EventArgs e)
 {
     try
     {
         string       columnName = dgvSelected.Columns["Select"].Name.ToString();
         AutoComplete auto       = new AutoComplete();
         auto.AutoSelectAll(dgvSelected, columnName);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Example #5
0
 private void btnSelectAll_Click(object sender, EventArgs e)
 {
     try
     {
         string       ColumnName = dataGridView2.Columns["Select"].Name.ToString();
         AutoComplete complete   = new AutoComplete();
         complete.AutoSelectAll(dataGridView2, ColumnName);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }