private void ReferenceBookBtn_Click(object sender, EventArgs e) { ReferenceBook RB = new ReferenceBook(); IReferenceBookViewRef = RB; ReferenceBook_Click?.Invoke(this, EventArgs.Empty); RB.Show(); }
private void button3_Click(object sender, EventArgs e) { ReferenceBook RB = new ReferenceBook(true); RB.Owner = this; IReferenceBookViewRef = RB; ReferenceBook_Click?.Invoke(this, EventArgs.Empty); RB.ShowDialog(); }