예제 #1
0
 public QueryResult(ViewerQueryGraph vqg, List<Match> matches)
 {
     InitializeComponent();
     InitializeFormLayout();
     m_Drawer = new SubgraphViewerDrawer(this.CreateGraphics());
     m_ViewerResult = new ViewerResult(m_Drawer, matches, vqg);
 }
예제 #2
0
 public Query()
 {
     InitializeComponent();
     IntializeFormLayout();
     m_GraphDrawer = new SubgraphViewerDrawer(this.CreateGraphics());
     SubgraphViewerDrawer toolBoxDrawer = new SubgraphViewerDrawer(panel_left.CreateGraphics());
     m_ViewerGraph = new ViewerQueryGraph(m_GraphDrawer);
     m_ToolBox = new ToolBox(toolBoxDrawer);
     m_IndexLoaded = false;
     textBoxSetLabel.Text = m_SetLabelHint;
     textBoxMaxMatchNum.Text = "1024";
     //m_ViewerGraph = SampleQueryGraph();
 }