[Telemetry] Reenable unused-import lint check for telemetry.
[chromium-blink-merge.git] / tools / stats_viewer / OpenDialog.cs
blob05ca03934fe6e3de85610cec50d4ded7cbd729cb
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 using System;
6 using System.Collections.Generic;
7 using System.ComponentModel;
8 using System.Data;
9 using System.Drawing;
10 using System.Text;
11 using System.Windows.Forms;
13 namespace StatsViewer
15 public partial class OpenDialog : Form
17 public OpenDialog()
19 InitializeComponent();
22 /// <summary>
23 /// Get the user selected filename
24 /// </summary>
25 public string FileName
27 get {
28 return this.name_box_.Text;
32 private void button1_Click(object sender, EventArgs e)
34 this.Close();
37 private void OnKeyUp(object sender, KeyEventArgs e)
39 if (e.KeyCode == Keys.Enter)
41 this.Close();