Ejemplo n.º 1
0
 public static AddClient GetAddClient()
 {
     if (add_client == null)
     {
         add_client = new AddClient();
     }
     add_client.Activate();
     return(add_client);
 }
Ejemplo n.º 2
0
 private void Window_Closed(object sender, EventArgs e)
 {
     add_client = null;
 }
Ejemplo n.º 3
0
        private void Add_Click(object sender, RoutedEventArgs e)
        {
            AddClient window = new AddClient();

            window.Show();
        }
Ejemplo n.º 4
0
 //Клієнти
 private void AddClient_Click(object sender, RoutedEventArgs e)
 {
     add_client = AddClient.GetAddClient();
     add_client.Show();
 }