예제 #1
0
 private void Form9_Load(object sender, EventArgs e)
 {
     dbc.BindUserName_Allocate(ddl_EmployeeName);
     dbc.BindBranch(ddlBranch, 1);
     dbc.Bindrole(cbo_UserRole);
     Bind_Main_Sub_Item();
     ddlBranch.SelectedIndex = 0;
     this.Text = "User Wise Access Settings";
     //this.WindowState = FormWindowState.Maximized;
 }
예제 #2
0
        private void Rework_Order_View_Load(object sender, EventArgs e)
        {
            dbc.BindUserName_Allocate(ddl_UserName);
            dbc.BindOrderStatus(ddl_Order_Status_Reallocate);
            Gridview_Bind_Assigned_Orders();
            btnFirst_Click(sender, e);

            lbl_Total.Text = dtuser.Rows.Count.ToString();


            //Create a DataSet with the existing DataTables
        }
예제 #3
0
 public User_Access_Control(string User_Role, string user_id, string User_name, string Password)
 {
     InitializeComponent();
     Cbo_Value = 0;
     dbc.BindUserName_Allocate(ddl_EmployeeName);
     userid        = int.Parse(user_id);
     User_Role_Id  = User_Role;
     username      = User_name;
     this.Password = Password;
 }
 private void Super_Qc_Order_View_Load(object sender, EventArgs e)
 {
     dbc.BindUserName_Allocate(ddl_UserName);
     Gridview_Bind_Assigned_Orders();
     btnFirst_Click(sender, e);
 }
 private void Rework_Search_Order_Load(object sender, EventArgs e)
 {
     dbc.BindUserName_Allocate(ddl_UserName);
     dbc.BindOrderStatus(ddl_Order_Status_Reallocate);
 }
 private void Super_Qc_Search_Order_Load(object sender, System.EventArgs e)
 {
     dbc.BindUserName_Allocate(ddl_UserName);
     dbc.BindOrderStatusforSuperQc(ddl_Order_Status_Reallocate);
     rbtn_Super_Qc_Order_Search_CheckedChanged(sender, e);
 }