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; }
public MainWindow() { InitializeComponent(); this.ResizeMode = ResizeMode.NoResize; DB = new Data.DAO(); Init(); MainGrid.Children.Add(login); }
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; }
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; }
public Registration(Data.DAO DB) { InitializeComponent(); Init(); this.DB = DB; }