Beispiel #1
0
        private void btnNewNote_Click(object sender, EventArgs e)
        {
            Tbl_Note note     = crud.Insert_Not();
            FormNote formNote = forms.AddForm(note);

            forms.ShowForm(formNote);
        }
Beispiel #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            WindowState = FormWindowState.Minimized;

            crud      = Tools_CRUD.instance;
            note_List = crud.Select_Notums;
            if (note_List.Count == 0)
            {
                crud.Insert_Not();
                note_List = crud.Select_Notums;
            }
            foreach (Tbl_Note item in note_List)
            {
                FormNote frm = new FormNote(item);
                frm.Show();
            }
            //Veri tabanından notları çek
            //Formları oluştur
            //FormNote frm = new FormNote();
            //frm.Show();
        }