예제 #1
0
        private void UpdateButton_Click(object sender, RoutedEventArgs e)
        {
            bufferData.EditMode = BufferData.EditModes.Update;

            try
            {
                EditWindowHandler.OpenWindow();
            }
            catch (DatabaseActionException ex)
            {
                MessageBox.Show(ex.Message);
            }

            SelectTable(bufferData.CurrentTableName);
        }
예제 #2
0
 private void AddButton_Click(object sender, RoutedEventArgs e)
 {
     bufferData.EditMode = BufferData.EditModes.Insert;
     EditWindowHandler.OpenWindow();
     SelectTable(bufferData.CurrentTableName);
 }