private void ADD_button_Click(object sender, EventArgs e)
        {
            if (Allfilled())
            {
                Genere g      = (Genere)Enum.Parse(typeof(Genere), comboBox4.SelectedItem.ToString());
                Record record = new Record(int.Parse(textBox1.Text), textBox2.Text, textBox3.Text, g,
                                           float.Parse(textBox5.Text), int.Parse(numericUpDown6.Value.ToString()), 0, true);
                form.getMap().Add(record, int.Parse(numericUpDown6.Value.ToString()));

                string s = "";
                s.Replace("\n", Environment.NewLine);

                recordlist.Text += "\n" + "Record name: " + textBox2.Text + " Quantity: " + numericUpDown6.Value.ToString();

                textBox1.Clear();
                textBox2.Clear();
                textBox3.Clear();
                textBox5.Clear();
                numericUpDown6.Value = 0;
            }
            else
            {
                string message = "Please fill all fields";
                string title   = "Error";
                MessageBox.Show(message, title);
            }
        }
        public Recieve_new_Inventiry_Form2(Recieve_new_inventiry_form3 f1, Recieve_new_Inventiry_Form1 f2, string r)
        {
            InitializeComponent();
            records_richTextBox2.ReadOnly = true;
            map       = f2.getMap();
            order     = f2.getorder();
            RTB       = f1.getTextBox();
            this.role = r;


            Fillbox();
        }