Exemplo n.º 1
0
        private async void button6_Click(object sender, EventArgs e)
        {
            info = dataGridView1.DataSource = await ApıDal <Orders> .GetInfo("orders");

            which = "orders";
            islem = "Listeleme";
            sonuc = JsonConvert.SerializeObject(info);
            logInfo.AddLog(islem, sonuc, "basarili", Form1.which);
            kolonAdet = dataGridView1.ColumnCount;
        }
Exemplo n.º 2
0
        public async void button1_Click(object sender, EventArgs e)
        {
            info = dataGridView1.DataSource = await ApıDal <Employess> .GetInfo("employess");

            which = "employess";
            islem = " Listeleme";
            sonuc = JsonConvert.SerializeObject(info);
            logInfo.AddLog(islem, sonuc, "basarili", Form1.which); //response sonucuna göre basarili olma durumu değiştirilebilir.
            kolonAdet = dataGridView1.ColumnCount;
        }
Exemplo n.º 3
0
 private async void button7_Click(object sender, EventArgs e)
 {
     dataGridView1.DataSource = await ApıDal <Categories> .GetInfo("categories");
 }
Exemplo n.º 4
0
 private async void button6_Click(object sender, EventArgs e)
 {
     dataGridView1.DataSource = await ApıDal <Orders> .GetInfo("orders");
 }
Exemplo n.º 5
0
 private async void button2_Click(object sender, EventArgs e)
 {
     dataGridView1.DataSource = await ApıDal <Products> .GetInfo("products");
 }
Exemplo n.º 6
0
 public async void button1_Click(object sender, EventArgs e)
 {
     dataGridView1.DataSource = await ApıDal <Employess> .GetInfo("employess");
 }