private void btnBilling_Click(object sender, RoutedEventArgs e) { try { clientBillingHandler = new ClientBilling(); clientBillingHandler.HomePageHandler = this; clientBillingHandler.Show(); } catch (Exception ex) { Helper.LogException(ex); } }
private void btnBilling_Click(object sender, RoutedEventArgs e) { try { clientBillingHandler = new ClientBilling(); clientBillingHandler.HomePageHandler = this; clientBillingHandler.Show(); } catch (Exception ex) { Helper.LogException(ex); } }
private void btnClientBilling_Click(object sender, RoutedEventArgs e) { if (clientBillingHandler == null) { clientBillingHandler = new ClientBilling(); } if (clientBillingHandler.WindowState == System.Windows.WindowState.Minimized) { clientBillingHandler.WindowState = System.Windows.WindowState.Maximized; clientBillingHandler.Activate(); } clientBillingHandler.Show(); this.Close(); }