public Form_EditUser(UC_Users uc, int rowIndex) { InitializeComponent(); (new Core.DropShaddow()).ApplyShadows(this); this.ucu = uc; if (rowIndex != -1) { curRowIndex = rowIndex; } }
private void BtnUsers_Click(object sender, EventArgs e) { UC_Users ucu = new UC_Users(); AddControlsToPanel(ucu); }
private void btnUser_Click(object sender, EventArgs e) { UC_Users uch = new UC_Users(); addControlToPanel(uch); }