조건부 서식 사용하기
728x90
조건부 서식 사용하기
원문: qastack.kr/superuser/978877/how-can-i-reinstall-windows-10s-calculator-app
#요약
1. power shell을 관리자모드로 실행한다.
2. 설치를 위한 앱검색
get-appxpackage -allusers | Select Name, PackageFullName
3. 설치하려는 앱정보를 조회한다.
Get-AppxPackage *windowscalculator*
Name : Microsoft.WindowsCalculator
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
Architecture : X64
ResourceId :
Version : 10.1906.55.0
PackageFullName : Microsoft.WindowsCalculator_10.1906.55.0_x64__8wekyb3d8bbwe
InstallLocation : C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1906.55.0_x64__8wekyb3d8bbwe
IsFramework : False
PackageFamilyName : Microsoft.WindowsCalculator_8wekyb3d8bbwe
PublisherId : 8wekyb3d8bbwe
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
Dependencies : {Microsoft.UI.Xaml.2.0_2.1810.18004.0_x64__8wekyb3d8bbwe, Microsoft.VCLibs.140.00_14.0.27323.0_x64_
_8wekyb3d8bbwe, Microsoft.WindowsCalculator_10.1906.55.0_neutral_split.language-ko_8wekyb3d8bbwe, M
icrosoft.WindowsCalculator_10.1906.55.0_neutral_split.scale-125_8wekyb3d8bbwe}
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
4. Add-AppxPackage -register 명령으로 설치한다.
- 설치경로는 3.에서 "InstallLocation"정보를 참조한다.
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsCalculator_10.1906.55.0_x64__8wekyb3d8bbwe\appxmanifest.xml" -DisableDevelopmentMode
end.
end.
windows11 탐색기에서 "더 많은 옵션 표시" 제거하기 (0) | 2023.10.03 |
---|---|
windows service 모니터 후 restart 하기 (2) | 2023.07.19 |
mac 2011 early 버전에 windows 10 인스톨 (0) | 2020.01.17 |
offline .net 3.5 설치
원문: https://extrememanual.net/11904
요약
1. window10 iso 파일을 받는다.
2. iso를 마운트(탑재)한다.
3. power shell 을 관리자 모드로 실행한다.
4. power shell 에 아래 명령으로 .net 3.5를 설치한다. (d:는 iso 마운트 driver)
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs
5. iso가 마운트된 driver를 unmount(꺼내기)한다.
end.
[grapecity/spread] insert a spread chart at run time (0) | 2021.04.01 |
---|---|
C#, TeeChart에 ToolTip 표시하기 (0) | 2021.04.01 |
[grapecity/farpoint] ComboBoxCellType 처리. (0) | 2020.07.08 |
[grapecity/farpoint] fix spread column size (0) | 2020.07.08 |
spread 에서 sheet 복사 (0) | 2020.06.18 |
1. initGrid() 에서는 동적이지 않은 컬럼에 ComboBox 설정하는 경우.
2. paraGrid_CellClick 은 ComboBox가 동적으로 변경이 필요한 경우.
// 초기화
private void initGrid() {
// 컬럼을 자동생성하지 않기 위해 설정.
grid.ActiveSheet.AutoGenerateColumns = false;
// ComboBox 적용을 위해서 false 설정. 풀면, ComboBox 적용이 안되고, Text로 작동함.
grid.ActiveSheet.DataAutoCellTypes = false;
// add 컬럼
// 중략
// 컬럼중에 콤보셀 설정
ComboBoxCellType sumtyp = new ComboBoxCellType {
Items = (from DataRow row in _SumTypDT.Rows select row["ITEM_CD"].ToString()).ToArray()
};
grid.ActiveSheet.Columns[2].CellType = sumtyp;
}
// 셀선택 시 콤보박스를 동적을 변경함.
private void paraGrid_CellClick(object sender, CellClickEventArgs e)
{
if (e.Column == 1 && e.View.Owner.DataSource != null) // AnalType 설정
{
DataTable dataTable = (DataTable) e.View.Owner.DataSource;
DataRow row = dataTable.Rows[e.Row];
string grp1 = Convert.ToString(row["컬럼A"]);
ComboBoxCellType sumtyp = null;
if ("값A".Equals(grp1))
{
sumtyp = new ComboBoxCellType {
Items = (from DataRow dr in _AnalTypDT.Rows where dr.Field<string>("ITEM_CD") == "LOT" select dr["ITEM_CD"].ToString()).ToArray()
};
}
else
{
sumtyp = new ComboBoxCellType {
Items = (from DataRow dr in _AnalTypDT.Rows select dr["ITEM_CD"].ToString()).ToArray()
};
}
e.View.Owner.ActiveSheet.Cells[e.Row, e.Column].CellType = sumtyp;
}
}
end.
C#, TeeChart에 ToolTip 표시하기 (0) | 2021.04.01 |
---|---|
offline .net 3.5 설치 (0) | 2020.07.30 |
[grapecity/farpoint] fix spread column size (0) | 2020.07.08 |
spread 에서 sheet 복사 (0) | 2020.06.18 |
DataTable의 DataRow값을 빠르게 변경하기. (0) | 2020.06.05 |