Exemplo n.º 1
0
        private void lvCheck_MouseDoubleClick(object sender, MouseEventArgs e)
        {
            FileStream fs = new FileStream(this.fileName, FileMode.Open, FileAccess.Read);
            BinaryReader binReader = new BinaryReader(fs);

            PHYHeader header = PHYHelper.ReadPHYHeader(binReader);
            if (this.lvCheck.SelectedItems.Count > 0)
            {
                FaultInfo ff = this.lvCheck.SelectedItems[0].Tag as FaultInfo;
                if (ff != null)
                {
                    FormFaultDetail f = new FormFaultDetail(ff, this.mDataDT, header.GPSStartTime);
                    f.ShowDialog();
                }
            }
        }
Exemplo n.º 2
0
 private void button1_Click(object sender, EventArgs e)
 {
     FormFaultDetail f = new FormFaultDetail();
     f.ShowDialog();
 }