public AddVoca(ref Button Btntemp)
 {
     Data            = new DuLieuLichSu();
     btnTemp         = Btntemp;
     btnTemp.Enabled = false;
     InitializeComponent();
     meanVASOHA = new getDataSOHA();
 }
示例#2
0
 public Form1()
 {
     VoiceOX = new VoiceOX();
     InitializeComponent();
     Data = new DuLieuLichSu(ref dataGridView1);
     dataGridView1.Sort(dataGridView1.Columns[0], ListSortDirection.Descending);
     aTimer.Interval    = 100;
     aTimer.Elapsed    += new ElapsedEventHandler(OnTimedEvent);
     btnUpdata.Enabled  = btnDown.Enabled = false;
     this.ActiveControl = textBox1;
 }
示例#3
0
        public FormLogin(DuLieuLichSu data, Button Up, Button Down, Button DangNhap)
        {
            InitializeComponent();
            btnAcout = DangNhap;

            btnUp   = Up;
            btnDown = Down;
            ParseClient.Initialize("rJsGmzNY00iXnK2NqRPggOkTSJj3qzZfcJuLz6yx", "3Dnm8m0HEHufMQSfxhFRXHgS78iNk2Ry4pdf3ED8");
            this.data        = data;
            tbPass.Text      = Properties.Settings.Default.Password;
            tbUser.Text      = Properties.Settings.Default.Username;
            cbGhiNho.Checked = Properties.Settings.Default.cbGhiNho;
            if (Properties.Settings.Default.cbGhiNho)
            {
                Login(Properties.Settings.Default.Username, Properties.Settings.Default.Password);
            }
        }