コード例 #1
0
 private void EndReplenishmentRes(int ResId, string ResStr, int Summ)
 {
     //  CurrentMesagefrm.Close();
     if (ResId == CFCCApi.FCC_SUCCESS)
     {
         MainClass2.RaiseOnReplenish(Summ);
         Utils.ToMoneyCountLog(MoneyChangeCommands.ReplenishEnd, Summ);
         GhangeConnectionState(ConnectonState_EndReplSuccess);
     }
     else
     {
         GhangeConnectionState(ConnectonState_EndReplError, ResStr, Colors.Black);
     }
 }
コード例 #2
0
        static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            Variabiles();
            IfStatement();
            Arrays();
            ListCreation();
            MyDictionary();
            StringFormatting();
            ForLoop();
            WhileLoop();
            //Prerequisites for Methods:
            int x = 2;
            int y = 2;
            int a = foo(x, y);

            Console.WriteLine("\n" + a);
            MainClass2.Main2();
            MainClass3.Main3();
        }
コード例 #3
0
 private void btnReport_Click(object sender, RoutedEventArgs e)
 {
     //ctrlShowOrders1.InitData(Utils.GetOrders());
     //ctrlShowOrders1.Visibility = System.Windows.Visibility.Visible;
     MainClass2.RaiseOnGetMoneyLog(DateTime.Now.AddDays(-3), DateTime.Now.AddDays(1));
 }
コード例 #4
0
 private void btnReset_Click(object sender, RoutedEventArgs e)
 {
     MainClass2.Reset();
 }