private void ViewMenu_OnClick(object sender, EventArgs e) { ViewMenuItem item = sender as ViewMenuItem; if (item == null || Sim == null) { return; } NetView view = null; if (!NetViews.ContainsKey(item.OpID)) { view = new NetView(this, item.OpID); NetViews[item.OpID] = view; } else { view = NetViews[item.OpID]; } view.Show(); view.BringToFront(); }
public TrackFile(NetView view) { InitializeComponent(); View = view; }