private void addPart_Click(object sender, RoutedEventArgs e)
        {
            AddPart addPart = new AddPart();

            addPart.Show();
            this.Close();
        }
示例#2
0
        private void btnAddPart_Click(object sender, EventArgs e)
        {
            RefreshParts();
            lblGrid.Text = "Parts";
            var addPartWindow = new AddPart(this);

            addPartWindow.Show();
        }