Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (radioButton1.Checked)
            {
                ///Calendar モード
                SelectMen = new CtrlData();
                SelectMen.InDataByCalendar = monthCalendar1.SelectionStart.ToString();
            }
            else
            {
                //手書き
                if (textBox1.Text == "null")
                {
                    var hoge11 = new Form5();
                    hoge11.Show();
                    WindowState = FormWindowState.Minimized;
                    return;
                }
                SelectMen = new CtrlData();
                SelectMen.InDataByOther = textBox1.Text;
            }
            var hoge = new Form2(SelectMen);

            hoge.Show();
        }
Пример #2
0
 public Form2(CtrlData SelectMen)
 {
     SelectMenber = SelectMen;
     InitializeComponent();
 }
Пример #3
0
 //CtrlData member;
 public Form3(CtrlData a)
 {
     InitializeComponent();
     label3.Text += a.Out().Name;
     label2.Text += a.Out().Id;
 }