Android_UEFIInstaller.AndroidMaterial.AndroidMaterial C# (CSharp) Метод

AndroidMaterial() публичный Метод

public AndroidMaterial ( ) : System
Результат System
        public AndroidMaterial()
        {
            InitializeComponent();

            Version v = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
            this.Title += "v" + v.Major.ToString() + "." + v.Minor.ToString();
            #if ALPHA_TRIAL
            DateTime d = new DateTime(2015, 11, 6);
            if (d <= DateTime.Today)
            {
                MessageBox.Show("This is an expired alpha testing version\nPlease check for the latest release, Application will exit ");
                Environment.Exit(0);
            }
            #endif
            //
            //Update Version
            //
            txtVersion.Text = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
            //
            //Setup TxtLog for logging
            //
            Log.SetLogBuffer(txtlog);
            Log.SetStatuslabel(lblStatus);
            //
            //SetupGlobalExceptionHandler
            //
            SetupGlobalExceptionHandler();
            //
            //Log Some Info
            //
            Log.write("================Installer Info================");
            Log.write("Installer Directory:" + Environment.CurrentDirectory);
            Log.write("Installer Version:" + System.Reflection.Assembly.GetExecutingAssembly()
                                            .GetName()
                                            .Version
                                            .ToString());
            //
            // Machine Info
            //
            GetMachineInfo();
            //
            // Check if Requirements satisifed
            //
            if (!RequirementsCheck())
            {
                DisableUI();
                MessageBox.Show("Not all system requirements are met\nPlease check the installer log");
            }

            Log.write("==========================================");
        }