Beispiel #1
0
 public Reports()
 {
     db = new Dbconnect();
     InitializeComponent();
     this.Icon = BitmapFrame.Create(System.Windows.Application.GetResourceStream(new Uri("Hna_icon.ico", UriKind.RelativeOrAbsolute)).Stream);
     FillDataGrid();
 }
Beispiel #2
0
        private void tab_changed(object sender, SelectionChangedEventArgs e)
        {
            Dbconnect db1 = new Dbconnect();
            DataTable dt  = db1.getData();

            //dataGrid.IsHitTestVisible = false;
            dataGrid.ItemsSource = dt.DefaultView;
            NotifyService ns = new NotifyService();

            ns.notify("hi");
        }
Beispiel #3
0
        public MainWindow()
        {
            db = new Dbconnect();
            InitializeComponent();
            this.Icon = BitmapFrame.Create(System.Windows.Application.GetResourceStream(new Uri("Hna_icon.ico", UriKind.RelativeOrAbsolute)).Stream);
            Hide();
            Boolean b = false;

            while (b != true)
            {
                b = ldisplay();
                Debug.Write(b);
            }

            if (b)
            {
                Show();
            }
        }