public void funLoad()
        {
            cControl control = new cControl();

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

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

            cbxType.DataSource    = control.cbxItemType();
            cbxType.DisplayMember = "Name";
            cbxType.ValueMember   = "Value";
        }
        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();
        }