private void btnUserLogin_Click_1(object sender, EventArgs e) { getUserID getID = new getUserID(); this.Hide(); frmUser frmNew = new frmUser(getID.Data(cmbUsers.SelectedItem.ToString()), cmbUsers.SelectedItem.ToString()); frmNew.ShowDialog(); this.Close(); }
private void cmbUyeler_SelectedIndexChanged(object sender, EventArgs e) { g_UyeAdi = cmbUyeler.GetItemText(cmbUyeler.SelectedItem); getUserID GU_ID = new getUserID(); g_UserId = GU_ID.Data(g_UyeAdi); foreach (var series in grafikOgrenilenKelime.Series) { series.Points.Clear(); } DrawPieGraph(); }
private void btnNewUser_Click(object sender, EventArgs e) { MySQLQuerryExecuter MyS = new MySQLQuerryExecuter(); string MySQuerry = "CALL ADD_NEW_USER('" + txtNewUser.Text + "')"; MyS.execute(MySQuerry); getUserID getID = new getUserID(); this.Hide(); frmUser frmNew = new frmUser(getID.Data(txtNewUser.Text), txtNewUser.Text); frmNew.ShowDialog(); this.Close(); }