Пример #1
0
 public void RaiseClosingalanceChanged(HedgeHogMainWindow Window, int ClosingBalance)
 {
     if (ClosingBalanceChanged != null)
     {
         ClosingBalanceChanged(Window, new ClosingBalanceChangedEventArgs(ClosingBalance));
     }
 }
Пример #2
0
        private void btnOpenMain_Click(object sender, RoutedEventArgs e)
        {
            var mw = app.MainWindows.FirstOrDefault(w => !w.IsVisible);

            if (mw == null)
            {
                mw = new HedgeHogMainWindow("MainWindow" + app.MainWindows.Count);
                app.MainWindows.Add(mw);
            }
            mw.Show();
        }