Beispiel #1
0
        private void simpleButton3_Click(object sender, EventArgs e)
        {
            frmLayerGradeSave frmSave = new frmLayerGradeSave();

            frmSave.Text      = "请选择要修改到的分级。";
            frmSave.SymbolDoc = symbolDoc;
            frmSave.InitData2(id);

            if (frmSave.ShowDialog() == DialogResult.OK)
            {
                list = frmSave.GetSelectNode2();
                this.DialogResult = DialogResult.Retry;
                this.Close();
            }
        }
Beispiel #2
0
        public void SaveButton()
        {
            string[] strn = yearID.Split(",".ToCharArray());
            ArrayList ilist = new ArrayList();
            for (int i = 0; i < strn.Length; i++) {
                if (strn[i] != "''") {
                    ilist.Add(strn[i].Replace("'", ""));
                }
            }
            if (ilist.Count == 1) {
                //SaveID.Clear();
                SaveID = ilist;
                SaveAllLayer();
                Save();
            } else {
                frmLayerGradeSave frmSave = new frmLayerGradeSave();
                frmSave.SymbolDoc = tlVectorControl1.SVGDocument;
                frmSave.savelist = ilist;
                frmSave.InitData(tlVectorControl1.SVGDocument.SvgdataUid);

                if (frmSave.ShowDialog() == DialogResult.OK) {
                    //SaveID.Clear();
                    SaveID = frmSave.GetSelectNode2();
                    SaveAllLayer();
                    Save();
                }
            }
        }
Beispiel #3
0
        private void simpleButton3_Click(object sender, EventArgs e)
        {
            frmLayerGradeSave frmSave = new frmLayerGradeSave();
            frmSave.Text = "��ѡ��Ҫ�޸ĵ��ķּ���";
            frmSave.SymbolDoc = symbolDoc;
            frmSave.InitData2(id);

            if (frmSave.ShowDialog() == DialogResult.OK)
            {
                list = frmSave.GetSelectNode2();
                this.DialogResult = DialogResult.Retry;
                this.Close();
            }
        }