Beispiel #1
0
        private void btnKerko_Click(object sender, EventArgs e)
        {
            Forms.frmKerko frm = new frmKerko();
            frm.ShowDialog();
            string tekst = frm.txtKerkim.Text;

            Kerko(tekst);
        }
Beispiel #2
0
        private void btnKerkoNeGride_Click(object sender, EventArgs e)
        {
            Forms.frmKerko frm = new frmKerko();
            frm.ShowDialog();
            string tekst = frm.txtKerkim.Text;

            Janus.Windows.GridEX.ConditionOperator operatori = new Janus.Windows.GridEX.ConditionOperator();
            operatori = Janus.Windows.GridEX.ConditionOperator.BeginsWith;
            Janus.Windows.GridEX.GridEXFilterCondition kusht = new
                                                               Janus.Windows.GridEX.GridEXFilterCondition(gridFurnitoret.RootTable.Columns["EMRI"], operatori, tekst);
            gridFurnitoret.Find(kusht, 0, -1);
        }