Example #1
0
        //private TrainingSessionController controller;
        //  private SavepointsWindow savepoints;
        //private TrainingOptionsWindow options;
        public TrainingSessionView(Workbench workbench, BackpropagationTrainingSession session)
            : base(workbench, session)
        {
            this.session = session;
            InitializeComponent();

               //     controller = new TrainingSessionController(session);
             //   savepoints = new SavepointsWindow(session.Savepoints);
              //      options = new TrainingOptionsWindow(session.Options);
        }
Example #2
0
        public StartPage(Workbench workbench)
            : base(workbench, null)
        {
            address = Path.Combine(Application.StartupPath,
                Sinapse.WinForms.Properties.Settings.Default.startpage_path);

            InitializeComponent();

            this.scriptingObject = new ScriptingObject(workbench);
            this.webBrowser1.Url = new Uri(address);
            this.webBrowser1.ObjectForScripting = scriptingObject;
        }
Example #3
0
        public WorkplaceExplorer(Workbench workbench)
            : base(workbench)
        {
            InitializeComponent();

            nodeWorkplace = new TreeNode("Workplace");
            nodeWorkplace.ImageKey = ".workplace";
            nodeWorkplace.SelectedImageKey = ".workplace";
            nodeWorkplace.ContextMenuStrip = workplaceContextMenu;

            Workbench.WorkplaceOpened += new EventHandler(Workbench_WorkplaceChanged);
            Workbench.WorkplaceClosed += new EventHandler(Workbench_WorkplaceChanged);
            SelectionChanged += new TreeViewEventHandler(WorkplaceExplorer_SelectionChanged);
        }
Example #4
0
        public NewDocumentDialog(Workbench workbench, Type type, String path)
        {
            if (!typeof(ISinapseConcept).IsAssignableFrom(type))
                throw new ArgumentException("Type must implement the ISinapseConcept interface", "type");

            this.directory = path ?? String.Empty;
            this.workbench = workbench;

            InitializeComponent();

            IconCache.CreateList(smallIcons, largeIcons);

            this.ViewMode = View.LargeIcon;

            createListView(type);
        }
Example #5
0
 public PropertyWindow(Workbench workbench)
     : base(workbench)
 {
     InitializeComponent();
 }
Example #6
0
 public TaskWindow(Workbench workbench)
     : base(workbench)
 {
     InitializeComponent();
 }
Example #7
0
 public HistoryWindow(Workbench workbench)
     : base(workbench)
 {
     InitializeComponent();
 }
Example #8
0
 public ScriptingObject(Workbench workbench)
 {
     this.workbench = workbench;
 }
Example #9
0
 public NewDocumentDialog(Workbench workbench)
     : this(workbench, typeof(ISinapseConcept))
 {
 }
Example #10
0
 public NewDocumentDialog(Workbench workbench, Type type)
     : this(workbench, type, String.Empty)
 {
 }
Example #11
0
 public ToolWindow(Workbench workbench)
 {
     this.workbench = workbench;
 }
Example #12
0
 public TableSourceView(Workbench workbench, ISinapseDocument document)
     : base(workbench, document)
 {
     InitializeComponent();
 }
Example #13
0
 public NetworkSystemView(Workbench workbench, ISinapseDocument document)
     : base(workbench, document)
 {
     InitializeComponent();
 }
Example #14
0
        public NewWorkplaceDialog(Workbench workbench)
        {
            InitializeComponent();

            this.workbench = workbench;
        }