private void button1_Click(object sender, EventArgs e) { XYAxisViewTest obj = new XYAxisViewTest(); obj.Show(); }