public void openTests() { if (this.InvokeRequired) { this.BeginInvoke((MethodInvoker) delegate { openTests(); }); return; } TestProcesor tp = new TestProcesor(); tp.Show(); EnableAnimation(false); EmoticionsPictureBox.BackgroundImage = Resources.NotListening; lastState = TaskPanelState.NotListining; EmoticionsPictureBox.Refresh(); }
private void testProcesorToolStripMenuItem_Click(object sender, EventArgs e) { TestProcesor tp = new TestProcesor(); tp.Show(); }