示例#1
0
 public UsCont_Write()
 {
     InitializeComponent();
     dt              = new Database_Tools(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Adam\source\repos\UceniSlovicek\UceniSlovicek\dtb_slovicka.mdf;Integrated Security=True");
     List_AllWords   = new List <RowWord>();
     List_AllTextBox = new List <TextBox>()
     {
         tbox_Noun, tbox_Adjective, tbox_Verb
     };
 }
        public UsCont_Vypis()
        {
            InitializeComponent();


            dtb_t = new Database_Tools(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Adam\source\repos\UceniSlovicek\UceniSlovicek\dtb_slovicka.mdf;Integrated Security=True");
            UserControl_Edit.Visibility = Visibility.Hidden;
            InicializeDataGrid();

            InicializeDoubleClickEvent();
        }
 public UsCont_Edit_Word()
 {
     InitializeComponent();
     Dtb_Tools = new Database_Tools(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Adam\source\repos\UceniSlovicek\UceniSlovicek\dtb_slovicka.mdf;Integrated Security=True");
 }
 public UsCont_FlashCard()
 {
     InitializeComponent();
     dt            = new Database_Tools(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Adam\source\repos\UceniSlovicek\UceniSlovicek\dtb_slovicka.mdf;Integrated Security=True");
     List_AllWords = new List <RowWord>();
 }