예제 #1
0
        public void funLoad()
        {
            cControl control = new cControl();

            cbxItemType.DataSource    = control.cbxDocumentType();
            cbxItemType.DisplayMember = "Name";
            cbxItemType.ValueMember   = "Value";
        }
예제 #2
0
        private void funLoad()
        {
            cControl control = new cControl();

            cbxSectionType.DataSource    = control.cbxDocumentType();
            cbxSectionType.DisplayMember = "Name";
            cbxSectionType.ValueMember   = "Value";
        }
예제 #3
0
        public void funStart()
        {
            cControl control = new cControl();

            cbxType.DataSource    = control.cbxItemType();
            cbxType.DisplayMember = "Name";
            cbxType.ValueMember   = "Value";
        }
예제 #4
0
        private void funLoad()
        {
            cControl control = new cControl();

            cbxSectionType.DataSource    = control.cbxDocumentType();
            cbxSectionType.DisplayMember = "Name";
            cbxSectionType.ValueMember   = "Value";

            if (Command == "Edit")
            {
                xmlDoc = new XmlDocument();
                xmlDoc.LoadXml(docXML);
            }
            else
            {
                xmlDoc = new XmlDocument();
                xmlDoc.LoadXml(Config.DefaultDocument());
            }
            funDrawMainTree();
            funDrawData();
            funDrawProfile();
        }