Exemplo n.º 1
0
        private void btnPreview_Click(object sender, EventArgs e)
        {
            List <string> fList = listDataSet.Items.Cast <string>().ToList <string>();
            frmPreview    frm   = new frmPreview(fList);

            frm.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnPreview_Click(object sender, EventArgs e)
        {
            List <string> fList = new List <string>();

            if (!string.IsNullOrEmpty(cBEreaster.Text.TrimEnd()))
            {
                fList.Add(cBEreaster.Text.TrimEnd());
            }
            if (!string.IsNullOrEmpty(cBEvector.Text.TrimEnd()))
            {
                fList.Add(cBEvector.Text.TrimEnd());
            }
            frmPreview frm = new frmPreview(fList);

            //frm.AddAllLayers();
            frm.ShowDialog();
        }