示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Employee = ((Patel_Tech.listofEmployee)(target));
                return;

            case 2:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));

            #line 10 "..\..\listofEmployee.xaml"
                this.dataGrid.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        private void listEmployeebtton_Click(object sender, RoutedEventArgs e)
        {
            listofEmployee listofemployee = new listofEmployee();

            listofemployee.Show();
        }