Пример #1
0
        public SubForm(int _nowSonCount)
        {
            buttonEvents.Add((sender, e) => momCallEvent(this.Text));
            buttonEvents.Add((sender, e) => SubFormManager.Create(new Action <string>(momCallEvent)));

            InitializeComponent();

            this.Text = _nowSonCount.ToString();
        }
Пример #2
0
 private void btn_MakeSubForm_Click(object sender, EventArgs e)
 {
     SubFormManager.Create(sonCount => txt_CallMonitor.Text = $"{sonCount}번 폼이 나를 호출하였습니다");
 }