Exemple #1
0
 /// <summary>
 /// Open load from another side other than the button
 /// </summary>
 public void OpenLoad()
 {
     DisableButtons();
     LoadFilesLabel.HorizontalAlignment = HorizontalAlignment.Right;
     LoadIco1.Visibility       = Visibility.Hidden;
     LoadIco2.Visibility       = Visibility.Visible;
     LoadPanel.Background      = new SolidColorBrush(RGBColors.color2);
     FormTitle.Text            = "Load Files";
     FormTitle.Foreground      = new SolidColorBrush(RGBColors.color2);
     LoadFilesLabel.Foreground = new SolidColorBrush(RGBColors.color2);
     FormIco.Source            = new BitmapImage(new Uri(@"images/File Color.png", UriKind.Relative));
     if (mapview.started == true)
     {
         mapform.Pause();
     }
     if (Loadstarted == false)
     {
         load = new LoadFiles();
         load.SetArchivo(Archivo);
         load.GetForm(this);
         Loadstarted = true;
     }
     PanelChildForm.Navigate(load);
 }
Exemple #2
0
 public void GetForm(LoadFiles Form)
 {
     this.Form = Form;
 }
Exemple #3
0
 public void GetLoadform(LoadFiles form)
 {
     this.form = form;
 }