Пример #1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            UnmanagedUtility.SendMessage(txtChallenge.Handle, UnmanagedUtility.EM_SETCUEBANNER, 0, "Enter seed data here");

            if (!Directory.Exists(Program.GetLibraryPath()))
            {
                Directory.CreateDirectory(Program.GetLibraryPath());
                MessageBox.Show("A library folder to contain DLL files was not found, so an empty folder has been created for you.\r\nThis application requires DLL files that match your ECU to operate.", "Notice");
            }

            LoadLibraryMetadata();
            TryRefreshKey();
        }
Пример #2
0
 private void LibrarySelector_Load(object sender, EventArgs e)
 {
     UnmanagedUtility.SendMessage(txtFilter.Handle, UnmanagedUtility.EM_SETCUEBANNER, 0, "Filter library by file name or ECU name..");
     EnableDoubleBuffer(dgvResponse, true);
     DrawDatagrid();
 }