コード例 #1
0
        public void LoadConfig()
        {
            MetaData.Metadata.Init(jString);
            if (UsbConfiguration.USB_DeviceConnected())
            {
                //if()
                //{
                //}


                if (UsbConfiguration.Usb_FilesStatus())
                {
                    Dpath = UsbConfiguration.directory;
                    InitializeComponent();
                    Switcher.pageSwitcher = this;
                    Switcher.Switch(new UILevel());
                }
                else
                {
                    System.Windows.MessageBox.Show("Your Subsrciption has been Expired :D");
                    this.Close();
                }
            }
            else
            {
                System.Windows.MessageBox.Show("BaryeMeharbani Exambite ki Usb connect karain.");
                this.Close();
            }
        }