コード例 #1
0
ファイル: UC_AccountInfo.cs プロジェクト: temeliev/SmartCRM
 private void LoadEmployee()
 {
     this.UCEmployee = UC_Employee.GetUserControl(this.controller.CurrentEmployee);
     this.UCEmployee.Size = this.layoutControlEmployeeInfo.Size;
     this.layoutControlEmployeeInfo.Controls.Clear();
     this.layoutControlEmployeeInfo.Controls.Add(this.UCEmployee);
 }
コード例 #2
0
ファイル: UC_Employee.cs プロジェクト: temeliev/SmartCRM
 public static UC_Employee GetUserControl(EmployeeModel employeeModel)
 {
     UC_Employee uc = new UC_Employee();
     uc.model = employeeModel;
     return uc;
 }