Exemplo n.º 1
0
        static void Main(string[] Args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            if (Args.Length == 0)
            {
                Application.Run(new Form1());
            }
            else if (Args.Length == 1)
            {
                IsfDecoder.DecodeIsf(Args[0], null, false);
            }
            else if (Args.Length == 2)
            {
            }
        }
Exemplo n.º 2
0
        private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
        {
            string path = e.Argument.ToString();

            IsfDecoder.DecodeIsf(path, (BackgroundWorker)sender, checkBoxTime.Checked);
        }