コード例 #1
0
 public InformationModification(string id, Data.DAO DB)
 {
     InitializeComponent();
     this.DB = DB;
     this.id = id;
     Btn_modification.Click += Btn_modification_Click;
     Btn_delete.Click       += Btn_delete_Click;
 }
コード例 #2
0
        public MainWindow()
        {
            InitializeComponent();
            this.ResizeMode = ResizeMode.NoResize;

            DB = new Data.DAO();
            Init();
            MainGrid.Children.Add(login);
        }
コード例 #3
0
        public FindPWbyEmail(Data.DAO DB)
        {
            InitializeComponent();
            this.DB = DB;

            InitCbxEmail();
            txt_email.AddHandler(LostFocusEvent, new RoutedEventHandler(SetDefaultText));
            txt_email.AddHandler(GotFocusEvent, new RoutedEventHandler(SetBlank));
            Btn_certificate.Click += Btn_Certificate_Click;
            Btn_resubmit.Click    += Btn_resubmit_Click;
            Btn_submit.Click      += SendCheckMail;
        }
コード例 #4
0
        public FindID(Data.DAO DB)
        {
            InitializeComponent();
            this.DB = DB;
            InitComboBox();

            txt_email.AddHandler(LostFocusEvent, new RoutedEventHandler(SetDefaultText));
            txt_email.AddHandler(GotFocusEvent, new RoutedEventHandler(SetBlank));
            txt_answer.AddHandler(LostFocusEvent, new RoutedEventHandler(SetDefaultText));
            txt_answer.AddHandler(GotFocusEvent, new RoutedEventHandler(SetBlank));

            Btn_find.Click  += Btn_find_Click;
            Btn_input.Click += Btn_input_Click;
        }
コード例 #5
0
 public Registration(Data.DAO DB)
 {
     InitializeComponent();
     Init();
     this.DB = DB;
 }