Пример #1
0
 public ViewCountData(int child, Globals global)
 {
     this.global = global;
     this.child = child;
     db = new My();
     InitializeComponent();
 }
Пример #2
0
 public TicketAccemble(string[,] D,string id, Globals global)
 {
     this.D = D;
     this.global = global;
     this.id = id;
     this.settings = new Settings1();
 }
Пример #3
0
 private void button1_KeyDown(object sender, KeyEventArgs e)
 {
     Globals global = new Globals();
     if (global.KeysCodes(e, "Close"))
     {
         this.Close();
     }
 }
Пример #4
0
        public Auth(Globals global)
        {
            InitializeComponent();
            settings = new Settings1();

            this.global = global;
            textboxInput.Text = "- - - - - - -";
        }
Пример #5
0
        public TicketSumCount(Globals global)
        {
            InitializeComponent();
            settings = new Settings1();

            this.global = global;
            textboxInput.Text = "000.00";

            if (settings.configInputRtoL == "0")
                InputString = "00";
        }
Пример #6
0
        ////////////////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////////////////
        public HardKKM(string[,] D, string id, double sumEntered, Globals global)
        {
            this.D = D;
            this.id = id;
            this.way = 1;
            this.sumEntered = sumEntered;
            this.global = global;
            this.settings = new Settings1();

            PrintFromDataTicket();
        }
Пример #7
0
        ////////////////////////////////////////////////////////////////////////
        ////////////////////////////////////////////////////////////////////////
        public Register(Globals global)
        {
            InitializeComponent();
            this.global = global;
            settings = new Settings1();
            SettingIncremet("data");
            TicketIdUpdate();
            InitCodePort();
            SetDoubleBuffered(dataGrid);

            if (settings.configInputRtoL == "0")
                InputString = "00";
        }
Пример #8
0
        public ViewTicketMeta(string data1,string data2,string data3)
        {
            InitializeComponent();
            this.data1 = data1;
            this.data2 = data2;
            this.data3 = data3;

            label4.Text = data1;
            label5.Text = data2;
            label6.Text = data3;

            global = new Globals();
        }
Пример #9
0
        public TicketCount(int way, Globals global,string title)
        {
            InitializeComponent();
            settings = new Settings1();
            this.Text = title;
            this.way = way;
            this.global = global;
            if (way == 0)
            {
                textboxInput.Text = "0";
            }
            else
            {
                textboxInput.Text = "00.000";
            }

            if (settings.configInputRtoL == "0" && way == 1)
                InputString = "000";
        }
Пример #10
0
 public Settings(Globals global)
 {
     this.global = global;
     InitializeComponent();
 }
Пример #11
0
 public void Form1_Load(object sender, EventArgs e)
 {
     global = new Globals();
 }
Пример #12
0
 public ViewCountData(Globals global)
 {
     this.global = global;
     db = new My();
     InitializeComponent();
 }