示例#1
0
 public MainWindow()
 {
     InitializeComponent();
     categcol = new ObservableCollection <Category>();
     client   = new ServiceReference1.BLLClient();
     if (client != null)
     {
         SolidColorBrush myBrush = new SolidColorBrush(Colors.Green);
         connectstate.Fill = myBrush;
     }
 }
示例#2
0
        public MainWindow()
        {
            InitializeComponent();            
            categcol = new ObservableCollection<Category>();
            client = new ServiceReference1.BLLClient();
            if (client != null) {
                SolidColorBrush myBrush = new SolidColorBrush(Colors.Green);
                connectstate.Fill = myBrush;
            }


        }