private void buyToolStripButton_Click(object sender, EventArgs e) { using (var rf = new RegisterForm()) rf.ShowDialog(); if (RegistryChecker.R[1] == 1) { buyToolStripButton.Visible = false; } }
private void OnRegister(object sender, EventArgs e) { using (var f = new RegisterForm()) f.ShowDialog(); }