コード例 #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new DealingController_CV());
     DealingControllerConfig.getInstance();
 }
コード例 #2
0
 public DealingController_Barcode()
 {
     InitializeComponent();
     web_client = new WebClient();
     try
     {
         conf = DealingControllerConfig.getInstance();
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         this.Close();
         this.Dispose();
         Environment.Exit(0);
     }
     tableID    = conf.tableID;
     server_url = "http://" + conf.server_url + "/";
 }