프로그램/C# 2013. 3. 8. 01:48

C# 폼 상속

1
2
3
4
5
6
7
8
9
10
11
12
13
14
폼2
 public partial class charextract : Form
    {
        Form1 f1;
        public charextract(Form1 frm)
        {
            InitializeComponent();
            f1 = frm;
        }
 
 
폼1
charextract frm = new charextract(this);
            frm.Show();

'프로그램 > C#' 카테고리의 다른 글

C# 끌어놓기 드래그 앤 드롭 (수정 필요)  (0) 2013.03.08
C# 외부 프로그램 실행  (0) 2013.03.08
C# 난수 생성 , rand Random  (0) 2013.03.08
C# 폼스타일 , FormBorderStyle  (0) 2013.03.08
C# 접근 수정자  (0) 2013.03.08