public AdminPreviewStockAdjustment(AdminStockAdjustDatePicker just) { InitializeComponent(); cn = new SqlConnection(dbcon.MyConnection()); adj = just; }
private void BtnStockAdjustedHistory_Click(object sender, EventArgs e) { AdminStockAdjustDatePicker adjpicker = new AdminStockAdjustDatePicker(); adjpicker.ShowDialog(); }