예제 #1
0
 private void factorslist_CellDoubleClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
 {
     if (e.RowIndex != -1)
     {
         CompanyExpenseView fv = new CompanyExpenseView((Factor)fb.Current);
         fv.ShowDialog();
     }
 }
예제 #2
0
 private void create_Click(object sender, EventArgs e)
 {
     Factor f = new Factor();
     f.payer = "تیراکس";
     f.project = 0;
     new DAOs.FactorDAO(db).addOnSubmit(f);
     CompanyExpenseView fv = new CompanyExpenseView(f);
     fv.ShowDialog();
     updateTable();
 }