コード例 #1
0
        private void Add_Btn_Click(object sender, RoutedEventArgs e)
        {
            salesOrder.Name = Name_Txt.Text;
            var result = iSalesOrder.InsertSalesOrder(salesOrder);

            if (result)
            {
                MessageBox.Show("Insert Success");
                Name_Txt.Text = "";
            }
            else
            {
                MessageBox.Show("Failed");
                Name_Txt.Text = "";
            }
        }