public QueryResult(ViewerQueryGraph vqg, List<Match> matches) { InitializeComponent(); InitializeFormLayout(); m_Drawer = new SubgraphViewerDrawer(this.CreateGraphics()); m_ViewerResult = new ViewerResult(m_Drawer, matches, vqg); }
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(); }