public SignUp(SqlMng mng) { _utils = new Utils(); _validate = new Validate(); InitializeComponent(); sqlMng = mng; }
public AccountSettingsControl(SqlMng sqlmng, Admin admin) { InitializeComponent(); _admin = admin; _sqlMng = sqlmng; _utils = new Utils(); }
//Admin private void button2_Click(object sender, EventArgs e) { SqlMng = SqlMng.GetObject(); LoginAdmin loginAdmin = new LoginAdmin(SqlMng); loginAdmin.Show(); this.Hide(); }
public TimeSlots(SqlMng mng) { _validate = new Validate(); _utils = new Utils(); InitializeComponent(); _sqlMng = mng; _sql = new SQLConnection(); }
public static SqlMng GetObject() { if (sqlmng == null) { sqlmng = new SqlMng(); con = new SqlConnection("Server=10.0.9.100\\SQLEXPRESS;Database=ISDLabProject;Integrated Security = SSPI"); return(sqlmng); } return(sqlmng); }
public UDevice(SqlMng mng) { _validate = new Validate(); _utils = new Utils(); _sql = new SQLConnection(); InitializeComponent(); _sqlMng = mng; _utils.Load_DataGrid(dgv_Devices, _sqlMng, "sp_getDevices"); }
public DashboardAdmin(SqlMng mng, Admin admin) { InitializeComponent(); lbl_Header.Text = dash + " - " + "Home"; _sqlMng = mng; _admin = admin; _utils = new Utils(); _utils.Change_UserControl(new HomeAdmin(_admin), p_DashControl); }
public AdminReq(SqlMng sqlmng) { InitializeComponent(); _sqlMng = sqlmng; _utils = new Utils(); }
public AcceptedReservations(SqlMng mng) { _utils = new Utils(); InitializeComponent(); _sqlMng = mng; }
//Admin public void Load_DataGrid(DataGridView dgv, SqlMng sql, string sp_Name) { dgv.DataSource = sql.getTable(sp_Name); }
public LoginAdmin(SqlMng mng) { _validate = new Validate(); InitializeComponent(); _sqlmng = mng; }
public CPending(SqlMng mng) { _utils = new Utils(); InitializeComponent(); _sqlMng = mng; }
public CUserReq(SqlMng mng) { InitializeComponent(); _sqlMng = mng; _utils = new Utils(); }