private void button2_Click(object sender, EventArgs e) { bookLog bl = new bookLog(name, selectedBook, getStatus, true, "p"); this.Hide(); bl.Show(); }
private void BL_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { string q = "select bookLog from book_log inner join user where book_log.u_id = user.id"; string[] col = new[] { "bookLog" }; result = instance.selectSearch(q, col); foreach (List <string> s in result) { foreach (string r in s) { bl = r; } } Boolean bookLog = Convert.ToBoolean(bl); bookLog blg = new bookLog(name, null, null, bookLog, "m"); this.Hide(); blg.Show(); }