private void companyStockOutButton_Click(object sender, EventArgs e)
        {
            CompanyForm companyForm = new CompanyForm();

            this.Close();
            thread = new Thread(OpenCompanyForm);
            thread.SetApartmentState(ApartmentState.STA);
            thread.Start();
        }
Example #2
0
        private void addCompanyStockOutButton_Click(object sender, EventArgs e)
        {
            CompanyForm aCompanyForm = new CompanyForm();

            aCompanyForm.Show();
        }