티스토리 뷰
using System;
using System.Windows.Forms;
namespace SmartDeviceProject1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.tabControl1.Height = this.Height;
}
private void inputPanel1_EnabledChanged(object sender, EventArgs e)
{
this.SuspendLayout();
if (this.inputPanel1.Enabled)
{
this.tabControl1.Height = this.Height - this.inputPanel1.Bounds.Height;
}
else
{
this.tabControl1.Height = this.Height;
}
this.ResumeLayout();
}
private void button1_Click(object sender, EventArgs e)
{
this.textBox1.Text = "Hi guys and girls!";
}
private void button2_Click(object sender, EventArgs e)
{
this.textBox1.Text = "Where do you want to go today?";
}
}
}
using System.Windows.Forms;
namespace SmartDeviceProject1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
this.tabControl1.Height = this.Height;
}
private void inputPanel1_EnabledChanged(object sender, EventArgs e)
{
this.SuspendLayout();
if (this.inputPanel1.Enabled)
{
this.tabControl1.Height = this.Height - this.inputPanel1.Bounds.Height;
}
else
{
this.tabControl1.Height = this.Height;
}
this.ResumeLayout();
}
private void button1_Click(object sender, EventArgs e)
{
this.textBox1.Text = "Hi guys and girls!";
}
private void button2_Click(object sender, EventArgs e)
{
this.textBox1.Text = "Where do you want to go today?";
}
}
}
'Code > C#' 카테고리의 다른 글
| [C#] Object Binding Sample Project (0) | 2008.12.20 |
|---|---|
| [C#] ADO.NET XML and DataGridView Binding Sample Project (0) | 2008.12.20 |
| Cursor.Position, SetCursorPos, mouse_event 샘플코드 (0) | 2008.04.18 |
| Process : Thread를 이용한 메모장에 키 입력하기 (0) | 2008.04.18 |
| Process : 메모장에 키 입력하기 (0) | 2008.04.17 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- iText
- AdSense감추기
- AdSense숨기기
- ScreenHunter
- windows
- DotNetMagic
- Service pack
- Microsoft
- 스크린캡쳐
- READYSTATE_COMPLETE
- Phalanger
- 유틸리티
- WinAutomation
- Regular Expressions
- download.com
- AxWebBrowser
- tagREADYSTATE
- c#
- jre
- Automation
- iTextSharp
- autohotkey
- Sample Code
- java
- 애드센스숨기기
- Rollback Rx
- .net framework
- 애드센스감추기
- registry
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
글 보관함
invalid-file