보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.





- WPF Application - 윈도우즈 애플리케이션 (닷넷프레임워크 깔려있어야 함)
- WPF Browser Application - 웹 애플리케이션 (안쓰임, 실버라이트로 씀)






[MainWindow.xaml]



<Window x:Class="WpfHelloWorld.MainWindow"

        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

        Title="MainWindow" Height="350" Width="525">

    <Grid>

        <Grid.RowDefinitions>

            <RowDefinition Height="30"></RowDefinition>

            <RowDefinition Height="*"></RowDefinition>

            <RowDefinition Height="30"></RowDefinition>

        </Grid.RowDefinitions>

        <TextBox Name="txtMessage" Grid.Row="0" Margin="5, 5, 5, 5" />

        <Button Name="btnOK" Content="확인" Grid.Row="2" />

    </Grid>

</Window>

 

 







[MainWindow.xaml.cs]



using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Windows;

using System.Windows.Controls;

using System.Windows.Data;

using System.Windows.Documents;

using System.Windows.Input;

using System.Windows.Media;

using System.Windows.Media.Imaging;

using System.Windows.Navigation;

using System.Windows.Shapes;

 

namespace WpfHelloWorld

{

    /// <summary>

    /// Interaction logic for MainWindow.xaml

    /// </summary>

    public partial class MainWindow : Window

    {

        public MainWindow()

        {

            InitializeComponent();

 

            btnOK.Click += new RoutedEventHandler(btnOK_Click);

        }

 

        void btnOK_Click(object sender, RoutedEventArgs e)

        {

            MessageBox.Show(txtMessage.Text);

        }

    }

}

 

 















Posted by holland14
:




- http://windowsclient.net/


- "Learn 탭"에서 WPF 동영상 강좌 공부하면 됨.





'.NET프로그래밍 > WPF' 카테고리의 다른 글

(WPF로 만든) 주소록 프로그램 - WpfAddressBook  (0) 2010.01.05
WpfHelloWorld  (0) 2010.01.05
Posted by holland14
:

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

EduRoot

2009. 12. 29. 20:44

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.

답변형 게시판 - WebReply

2009. 12. 29. 20:13

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.



• http://www.silverlight.net
    – 공식 사이트
    – 오픈 소스를 다운로드 받아서 나에게 맞게 편집해서 그 안에 들어있는 기능을 연습한다.
























Posted by holland14
:

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.


폼인증 -> 쿠키인증 -> 세션인증 (보안 : 폼인증 > 세션인증 > 쿠키인증)

- FormsAuthentication.SetAuthCookie() : 인증값 부여
- FormsAuthentication.Signout() : 인증값 부여
- Page.User.Identity.Name : 인증이름 / 1,2,3 / RedPlus
- Page.User.Identity.IsAuthenticated : true(인증) / false(인증X)



* 참고 : SSO 인증방식에 관해 알아둘 것.




'.NET프로그래밍 > ASP.NET 3.5 SP1' 카테고리의 다른 글

EduRoot  (0) 2009.12.29
답변형 게시판 - WebReply  (0) 2009.12.29
DotNetBlogEngine (블로그 오픈소스)  (0) 2009.11.04
Market - 쇼핑몰  (0) 2009.11.03
Root - 개인 홈페이지  (0) 2009.11.03
Posted by holland14
:

실습 : 낙서장

2009. 12. 17. 13:49

보호되어 있는 글입니다.
내용을 보시려면 비밀번호를 입력하세요.