Exemple #1
0
 private void btnClientInformation_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         clientInfoHandler = new ClientInformation();
         clientInfoHandler.HomePageHandler = this;
         clientInfoHandler.Show();
     }
     catch (Exception ex)
     {
         Helper.LogException(ex);
     }
 }
Exemple #2
0
 private void btnClientInformation_Click(object sender, RoutedEventArgs e)
 {
     if (clientInfoHandler == null)
     {
         clientInfoHandler = new ClientInformation();
     }
     if (clientInfoHandler.WindowState == System.Windows.WindowState.Minimized)
     {
         clientInfoHandler.WindowState = System.Windows.WindowState.Maximized;
         clientInfoHandler.Activate();
     }
     clientInfoHandler.Show();
     this.Close();
 }
Exemple #3
0
        private void btnClientInformation_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (clientInfoHandler == null)
                {
                    clientInfoHandler = new ClientInformation();
                }
                clientInfoHandler.SelectedFileNumber = txtFileNo.Text;

                if (clientInfoHandler.WindowState == System.Windows.WindowState.Minimized)
                {
                    clientInfoHandler.WindowState = System.Windows.WindowState.Maximized;
                    clientInfoHandler.Activate();
                }
                clientInfoHandler.Show();
                this.Close();
            }
            catch (Exception ex)
            {
                Helper.LogException(ex);
            }
        }