示例#1
0
        private void BAddMaterial_Click(object sender, RoutedEventArgs e)
        {
            MaterialW mw = new MaterialW();

            mw.Owner = this;
            mw.ShowDialog();
            GO();
        }
示例#2
0
        private void OnHyperlinkClick(object sender, RoutedEventArgs e)
        {
            if (DGMaterials.SelectedItem == null)
            {
                return;
            }

            M = DGMaterials.SelectedItem as Material;
            if (M == null)
            {
                return;
            }
            MaterialW mw = new MaterialW(M);

            mw.Owner = this;
            mw.ShowDialog();

            GO();
        }