DEIXAR MEU SISTEMA MAIS [Ô]LIMPO[Ô]

SEGUE AQUI UM CÓDIGO DE UM DOS BOTOES PARA CASO PRECIISEM
Private Sub btnnovo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnnovo.Click
If Me.PedidosBindingSource.Count = 0 Then
Me.PedidosBindingSource.AddNew()
novo = 1
primeiro = 1
txtcodigo2.Text = [Ô]0[Ô]
txtrazao.Focus()
TratarBotoes()
TratarEdits()
Else
novo = 1
Me.PedidosBindingSource.AddNew()
txtcodigo2.Text = [Ô]0[Ô]
txtrazao.Focus()
TratarBotoes()
TratarEdits()
End If
End Sub
Bom, vc já considerou o uso do Entity Framework pra cuidar dessa parte enfadonha?
NAO CARA..COMO FUNCIONA ?
Tópico encerrado , respostas não são mais permitidas