public MapPage() { InitializeComponent(); gps = new GetGps(); StartPosition(); gps.PositionChangedEventArgs += PositionChanged; }
private void ConfForm_Load(object sender, EventArgs e) { COMM2Set.DataSource = Enum.GetValues(typeof(SourceDataClass.DeviceAddr)); COMM3Set.DataSource = Enum.GetValues(typeof(SourceDataClass.DeviceAddr)); EmitTypeBox.DataSource = Enum.GetValues(typeof(SourceDataClass.EmitType)); NetCheck.SelectedIndex = 0; GetGps.PerformClick(); }
private void Start() { Instance = this; #if UNITY_EDITOR #else StartCoroutine(StartLocationService()); #endif }