Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace J13_Rouparia_CS
- {
- public partial class frmMain : Form
- {
- public static int LocPesq;
- public static string peqNume;
- public static string peqArti;
- public void UpdatePesquisa()
- {
- switch (LocPesq)
- {
- case 1:
- txtSRnum.Text = peqNume;
- txtSRartigo.Text = peqArti;
- break;
- case 2:
- txtELnum.Text = peqNume;
- txtELartigo.Text = peqArti;
- break;
- case 3:
- txtSLnum.Text = peqNume;
- txtSLartigo.Text = peqArti;
- break;
- }
- }
- }
- }
- public static void UpdatePesquisa()
- {
- switch (LocPesq)
- {
- case 1:
- txtSRnum.Text = peqNume;
- txtSRartigo.Text = peqArti;
- break;
- case 2:
- txtELnum.Text = peqNume;
- txtELartigo.Text = peqArti;
- break;
- case 3:
- txtSLnum.Text = peqNume;
- txtSLartigo.Text = peqArti;
- break;
- }
- }
Add Comment
Please, Sign In to add comment