前田稔(Maeda Minoru)の超初心者のプログラム入門
![]()
![]()
// FormLoad は Form がロードされる時に一度だけ呼ばれる
private void FormLoad(object sender, EventArgs e)
{
richTextBox1.Width = this.Width - 16;
richTextBox1.Height = this.Height - 36;
}
|
// Form のサイズが変更されたときに呼ばれる
private void FormResize(object sender, EventArgs e)
{
richTextBox1.Width = this.Width - 16;
richTextBox1.Height = this.Height - 36;
}
|
![]()