private void findBlockToolStripMenuItem_Click(object sender, EventArgs e) { FindBlock form = new FindBlock(_nodeTree.SelectedNode.Tag as DataNode); if (form.ShowDialog() == DialogResult.OK) { if (form.Result != null) { _controller.SelectNode(form.Result); _controller.ExpandSelectedNode(); _controller.ScrollNode(form.Result); } else { MessageBox.Show("チャンクがないぞ!"); } } }
private void findBlockToolStripMenuItem_Click (object sender, EventArgs e) { FindBlock form = new FindBlock(_nodeTree.SelectedNode.Tag as DataNode); if (form.ShowDialog() == DialogResult.OK) { if (form.Result != null) { _controller.SelectNode(form.Result); _controller.ExpandSelectedNode(); _controller.ScrollNode(form.Result); } else MessageBox.Show("Chunk not found."); } }