예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Lendings_Form LF = new Lendings_Form(role);

            LF.Show();
            this.Hide();
        }
예제 #2
0
        private void Main_menu_button_Click(object sender, EventArgs e)
        {
            if (isSubmit == false)
            {
                Record r;
                for (int i = 0; i < textBoxes.Count(); i = i + 4)
                {
                    if (textBoxes[i].Text != "")
                    {
                        r = Program.GetRecordByQR(int.Parse(textBoxes[i].Text));
                        r.setQuantityInStock(r.getQuantityInStock() + int.Parse(textBoxes[i + 3].Text));
                    }
                }
            }
            Lendings_Form LF = new Lendings_Form(role);

            LF.Show();
            this.Hide();
        }