FRBDK/AIEditor/AIEditor/AIEditor/Program.cs
/// <summary>
/// The main entry point for the application.
/// </summary>
The main entry point for the application.
The main entry point for the application .
[STAThread]
        static void Main(string[] args)
        {
            bool showPopupOnException = false;
            if (showPopupOnException)
            {
                try
                {
                    Form1 frm = new Form1();
                    if (frm.IsDisposed)
                        return;
                    frm.Run(args);
                }
                catch (Exception e)
                {
                    System.Windows.Forms.MessageBox.Show(e.ToString());
                }
            }
            else
            {
                Form1 frm = new Form1();
                if (frm.IsDisposed)
                    return;
                frm.Run(args);
            }
        }
[ STAThread ] static void Main ( string [ ] args ) { bool showPopupOnException = false ; if ( showPopupOnException ) { try { Form1 frm = new Form1 ( ) ; if ( frm . IsDisposed ) return ; frm . Run ( args ) ; } catch ( Exception e ) { System . Windows . Forms . MessageBox . Show ( e . ToString ( ) ) ; } } else { Form1 frm = new Form1 ( ) ; if ( frm . IsDisposed ) return ; frm . Run ( args ) ; } }
The main entry point for the application.
The main entry point for the application .
args
string[]