private void btnExpense_Click(object sender, EventArgs e) { moveSlidpanel(btnExpense); UC_Expenses tt = new UC_Expenses(); Addcontrolstopanel(tt); }
public Form_AddExpense(UC_Expenses uc, int rowIndex = -1) { InitializeComponent(); (new Core.DropShaddow()).ApplyShadows(this); this.uce = uc; if (rowIndex != -1) { curRowIndex = rowIndex; } AutoFill(); this.ActiveControl = label; }
private void btnExpenses_Click(object sender, EventArgs e) { UC_Expenses uce = new UC_Expenses(); AddControlsToPanel(uce); }