tBox1) ;. Controls.Add (panel) ;. KeyPreview=true; .KeyPress +=KeyPressEventHandler (Form1_KeyPress) ;. KeyPress +=KeyPressEventHandler (TextBox1_KeyPress);
} void maskedTextBox2_MaskInputRejected (object sender, MaskInputRejectedEventArgs e)
{TextBox2=new TextBox ();
[STAThread] static void Main ()
{. EnableVisualStyles () ;. Run (new Form1 ());
} Form1 ()
{. AutoSize=true; panel=new FlowLayoutPanel () ;. AutoSize=true; .FlowDirection=FlowDirection.TopDown; .Controls.Add (TextBox2) ;. Controls.Add (panel) ;. KeyPreview=true; .KeyPress +=KeyPressEventHandler (Form1_KeyPress) ;. KeyPress +=KeyPressEventHandler (TextBox2_KeyPress);
} void maskedTextBox3_MaskInputRejected (object sender, MaskInputRejectedEventArgs e)
{
}
................................. void textBox31_TextChanged (object sender, EventArgs e)
{TextBox31=new TextBox ();
[STAThread] static void Main ()
{. EnableVisualStyles () ;. Run (new Form1 ());
} Form1 ()
{. AutoSize=true; panel=new FlowLayoutPanel () ;. AutoSize=true; .FlowDirection=FlowDirection.TopDown; .Controls.Add (TextBox31) ;. Controls.Add (panel) ;. KeyPreview=true; .KeyPress +=KeyPressEventHandler (Form1_KeyPress) ;. KeyPress +=KeyPressEventHandler (TextBox31_KeyPress);
} void numericUpDown1_ValueChanged (object sender, EventArgs e)//параметри для кол-ва людина в групі (максимальне значненіе=150umericUpDown1_ValueChanged (object sender, KeyPressEventArgs e)
{(e.KeyChar gt;=48 amp; amp; e.KeyChar lt;=57)
{. Show ( umericUpDown1_ValueChanged ' + .KeyChar.ToString () + umericUpDown1_ValueChanged. ); (e.KeyChar)
{(char) 150: .Show ( Control.KeyPress: .KeyChar.ToString () + " ) ;. Handled=true ;;
}
} void domainUpDown1_SelectedItemChanged (object sender, EventArgs e)//випадаючий список дисциплін
{(CultureInfo ci in domainUpDown1_SelectedItemChangeds(CultureTypes.WindowsOnlyCultures))_SelectedItemChanged.Items.Add(ci.NativeName);
} void button3_Click (object sender, EventArgs e)//обробка кнопки закрити
{
[BrowsableAttribute (false)] event CancelEventHandler Closing; void button2_Click (object sender, EventArgs e)//обробка кнопки очистити
{_ Click.Controls.Cleare ();
} void textBox63_TextChanged (object sender, EventArgs e)//висновок загального кол-ва осіб в групах
{inWord=textBox63.Text; [] separators={. raquo ;, ! raquo ;, ? }; [] Sentences=File.ReadAllText (, Encoding.Default) .Split (separators, StringSplitOptions.RemoveEmptyEntries) ;. Text= raquo ;; (string sentence in sentences) .Text +=sentence +
+ sentence.Split ( ). Where (a= gt; a == inWord) .Count () + raquo ;;
}
}