예제 #1
0
        private void AddPosition_Clicked(object sender, RoutedEventArgs e)
        {
            SQLConnections sqlConnections = new SQLConnections();
            string         newPosition    = NewPosition.Text;

            sqlConnections.AddPosition(newPosition);
            int position = sqlConnections.FindPositionID(newPosition);

            this.Close();
            //@@identityscope
        }