Exemple #1
0
 internal StateGraphEntry(StateGraphDocument parent)
 {
     _parent    = parent;
     _color     = new ColorValue(255, 255, 255);
     _stateName = "CHANGE ME";
     _sslConfig = null;
     _layers    = new INetworkLayerFactory[0];
 }
        private ListViewItem AddEntry(StateGraphDocument.StateGraphEntry entry)
        {
            ListViewItem item = new ListViewItem(entry.StateName);

            item.SubItems.Add(entry.Graph != null ? entry.Graph.Name : "None");
            item.Tag = entry;
            listViewStateEntries.Items.Add(item);

            return item;
        }
        public StateGraphDocumentControl(IDocumentObject document)
        {
            _document = (StateGraphDocument)document;

            InitializeComponent();

            checkGlobalMeta.Checked = _document.GlobalState;
            textBoxMetaName.Text = _document.MetaName;
            BuildComboBox();
            comboDefaultState.Text = _document.DefaultState;

            SetupEntries();
        }
Exemple #4
0
 internal StateGraphEntry(StateGraphDocument parent)
 {
     _parent = parent;
     _color = new ColorValue(255, 255, 255);
     _stateName = "CHANGE ME";
     _sslConfig = null;
     _layers = new INetworkLayerFactory[0];
 }