Exemple #1
0
        private void CompleteFilter()
        {
            _socket.Send(BitConverter.GetBytes(1234));

            int response = BitConverter.ToInt32(_socket.Receive(), 0);

            if (response != 1234)
            {
                throw new Exception("Error getting completeion response from server: output writers reported failure.");
            }
            GpfProjectFile project = GpfProjectFile.Deserialize(CaptureProgram.ProjectPath);

            LaunchViewForm(project);
        }
Exemple #2
0
        private void btnTimeline_Click(object sender, EventArgs e)
        {
            OpenFileDialog dlg = new OpenFileDialog();

            dlg.Filter     = "GPF Project File (*.gpf_project)|*.gpf_project";
            dlg.DefaultExt = "gpf_project";

            if (dlg.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            GpfProjectFile project = GpfProjectFile.Deserialize(dlg.FileName);

            LaunchViewForm(project);
        }