예제 #1
0
        private void OpBtn_sto(object sender, RoutedEventArgs e)
        {
            double numStore = cs.SetVar();
            string numStr   = numStore.ToString();

            cs.MemoryStore(cs.i);
#if DEBUG
            MessageBox.Show(numStr);
#endif
            UpdateNumberField();
        }
예제 #2
0
        private void OpBtn_sto(object sender, RoutedEventArgs e)
        {
            string op = (sender as Button).Content.ToString();

            cs.SetVar(op);
        }