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

            this.workbench = workbench;
        }