private void FormNote_Load(object sender, EventArgs e) { crud = Tools_CRUD.instance; colorCodes = Tools_ColorCodes.instance; forms = Tools_Forms.instance; //Veritabanından renk idsi çekecek colorid = (int)note.ColorID; SetStickyColor(); frmMoveOlsunMu = true; txtMetin.Text = note.Note; Left = (int)note.KonumX; Top = (int)note.KonumY; }
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(); }