Esempio n. 1
0
        // CityTaxi, Mexaric, Yeni
        private void button4_Click(object sender, EventArgs e)
        {
            Form frm = new ItemForm("city", "mexaric");

            frm.Text         = "CityTaxi Məxaric";
            frm.FormClosing += new FormClosingEventHandler(this.Form2_FormClosing);
            frm.Show();
        }
Esempio n. 2
0
        private void btnEditBuku_Click(object sender, EventArgs e)
        {
            ItemForm mbform = new ItemForm(book_id, title, author, publisher, category, "Edit");

            if (mbform.ShowDialog() == DialogResult.OK)
            {
                bacaDataBuku();
            }
        }
Esempio n. 3
0
        private void btnAddBuku_Click(object sender, EventArgs e)
        {
            ItemForm mbform = new ItemForm();

            if (mbform.ShowDialog() == DialogResult.OK)
            {
                bacaDataBuku();
            }
        }
Esempio n. 4
0
        private void listView_ItemActivate(object sender, EventArgs e)
        {
            int rowid = 0;

            Int32.TryParse(((ListView)sender).SelectedItems[0].Text, out rowid);
            Form frm = new ItemForm(rowid);

            frm.Text         = "Düzəliş et @ " + ((ListView)sender).SelectedItems[0].SubItems[4].Text;
            frm.FormClosing += new FormClosingEventHandler(this.Form2_FormClosing);
            frm.Show();
        }