private void моиЗаказыToolStripMenuItem_Click(object sender, EventArgs e) { if (currentaccount.type == "Покупатель") { CustomerOrders ord = new CustomerOrders(); ord.Show(); } if (currentaccount.type == "Иллюстратор") { IllustratorOrders ord = new IllustratorOrders(); ord.Show(); } }