private void button2_Click(object sender, EventArgs e) { stock newsStock = new stock(); this.Hide(); newsStock.Show(); }
private void linkLabel10_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { //accessing stock form here stock newStock = new stock(); this.Hide(); newStock.Show(); }
private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { // creating a stock event here to access stoc form stock newStock = new stock(); this.Hide(); newStock.Show(); }