private void ShowModelDetail() { string detail; bool success ; TryGetModelDetail(out success,out detail); if (success) { DetailForm form = new DetailForm(PointAnalyseResource.POINTANALYSE_MODEL_DETAIL, detail); form.ShowDialog(); } }
private void lvChannel_MouseDoubleClick(object sender, MouseEventArgs e) { if (e.Button == MouseButtons.Left) { ListViewItem item = lvChannel.GetItemAt(e.X, e.Y); string detail; if (item == m_downlinkItem) { detail = GetDownlinkDetail(); } else if (item == m_uplinkItem) { detail = GetUplinkDetail(); } else { return; } //DetailFrm frm = new DetailFrm(PointAnalyseResource.POINTANALYSE_ANALYSIS_DETAIL, detail); //frm.ShowDialog(); DetailForm frm = new DetailForm(PointAnalyseResource.POINTANALYSE_ANALYSIS_DETAIL, detail); frm.ShowDialog(); } }
private void ShowLinkBudget() { string detail = string.Empty; bool success = !IsValidateParameter(); TryGetLinkBudget(success, ref detail); if (success) { DetailForm form = new DetailForm(PointAnalyseResource.POINTANALYSE_LINKBUDGET, detail); form.ShowDialog(); } }