private void BtnAllDmaPop_Click(object sender, EventArgs e) { FrmGridDetails.StrHeader = "All DMA BeakOut Scripts"; FrmGridDetails.StrScriptIdCol = "ScriptID_All"; FrmGridDetails.StrScriptPriceCol = "LastClosePrice"; FrmGridDetails.StrScriptName = "ScriptName"; FrmGridDetails Objfrm = new FrmGridDetails(DgvAllDma); Objfrm.ShowDialog(); }
private void BtnGoldenPop_Click(object sender, EventArgs e) { FrmGridDetails.StrHeader = "All Golden Cross Scripts"; FrmGridDetails.StrScriptIdCol = "ScriptID"; FrmGridDetails.StrScriptPriceCol = "LastClosePriceG"; FrmGridDetails.StrScriptName = "ScriptNameG"; FrmGridDetails Objfrm = new FrmGridDetails(DgvGCross); Objfrm.ShowDialog(); }
private void BtnPopOut_Click(object sender, EventArgs e) { if (CB50DMA.SelectedItem.ToString() == "50") { FrmGridDetails.StrHeader = "50 DMA BeakOut Scripts"; } else if (CB50DMA.SelectedItem.ToString() == "200") { FrmGridDetails.StrHeader = "200 DMA BeakOut Scripts"; } else { FrmGridDetails.StrHeader = "50 and 200 DMA BeakOut Scripts"; } FrmGridDetails.StrScriptIdCol = "ScriptId_200DMA"; FrmGridDetails.StrScriptPriceCol = "LastClosePrice_50"; FrmGridDetails.StrScriptName = "ScriptName_50"; FrmGridDetails Objfrm = new FrmGridDetails(Dgv50_200); Objfrm.ShowDialog(); }