4
I saw in a system a separation of methods in a partial
and the events in another in UserControl
and Window
as the example below:
"Pessoa.xaml.cs"
public partial class Pessoa: UserControl
{
//Construtor
//Somente Eventos Exp: Click dos botões
}
"Pessoa.cs"
public partial class Pessoa
{
//Somente Métodos Exp: Metodo Inserir
}
This is right to do?
Has some performance gain?
Or it must have been made for organization only?
Bigown thanks. Clarified.
– Mauricio Ferraz