コード例 #1
0
ファイル: DataBase.cs プロジェクト: Geliya94/oop
 public void ADD_Card(int id_algoritm, float save_summa, int current_procent)
 {
     Card a = new Card();
     a.id_algoritm = id_algoritm;
     a.summa_nakopl = save_summa;
     a.current_procent = current_procent;
     this.Card.InsertOnSubmit(a);
     this.SubmitChanges();
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: Geliya94/oop
 private void card_menu_Click_1(object sender, EventArgs e)
 {
     Card card = new Card();
     card.Show();
 }