private void button2_Click(object sender, EventArgs e) { if (howto == null || howto.IsDisposed) { howto = new Howto(); } howto.Hide(); howto.Show(); }
public EditCookieForm(MainForm parent) { InitializeComponent(); howto = new Howto(); if (parent != null && !parent.IsDisposed) { this.parent = parent; user_session.Text = this.parent.GetCookie(); } }