日期:2014-05-17 浏览次数:20796 次
Form2 f2 = new Form2();
f2.Show();
//这里我需要使用Form2里的dateTimePicker控件里的设置好的时间值,
//
//请问需要怎么弄啊
using System;
using System.Windows.Forms;
namespace Demo
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
button1.Click += new EventHandler(button1_Click);
}
private void button1_Click(object sender, EventArgs e)
{
Form2 f2 = new Form2();