Exemple #1
0
        public void reset()
        {
            PRMapping newPRM = new PRMapping(m);

            this.Close();
            newPRM.Show();
            //itemList.Update();
            //itemList.Refresh();
            //radioButton1.Checked = false;
            //radioButton2.Checked = false;
            //radioButton3.Checked = false;
            //radioButton4.Checked = false;
            //requestList.Update();
            //requestList.Refresh();
        }
Exemple #2
0
        private void btn2_Click(object sender, EventArgs e)
        {
            switch (deptCode)
            {
            case "PM":
                this.Hide();
                PRMapping prm = new PRMapping(this);
                prm.Show();
                break;

            case "RM":
                this.Hide();
                ViewDeliveryNoteMenu vDN = new ViewDeliveryNoteMenu(this, "RM", restNo);
                vDN.Show();
                break;

            case "AD":
            case "WC":
                this.Hide();
                ViewDeliveryNoteMenu WHvDN = new ViewDeliveryNoteMenu(this, "WC");
                WHvDN.Show();
                break;

            case "AM":
                this.Hide();
                EditMenu em = new EditMenu(this, 1);
                em.Show();
                break;

            case "CM":
                this.Hide();
                Item itm = new Item(this);
                itm.Show();
                break;
            }
        }