private void btnCostumer_Click(object sender, EventArgs e) { if (costumer == null || !costumer.IsHandleCreated) { costumer = new FormCostumer(); } costumer.Show(); this.Hide(); }
private void linkMenu_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (costumer == null || !costumer.IsHandleCreated) { costumer = new FormCostumer(); } costumer.Show(); this.Hide(); }