File tree 6 files changed +20
-10
lines changed
DeclarativeForms/DeclarativeForms
6 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ public void Open()
387
387
if ( ! isWin )
388
388
{
389
389
process . StartInfo . FileName = DeclarativeForms . _nw ;
390
- process . StartInfo . Arguments = DeclarativeForms . pathStartupScript ;
390
+ process . StartInfo . Arguments = " \u0022 " + DeclarativeForms . pathStartupScript + " \u0022 " ;
391
391
System . Threading . Thread . Sleep ( 2000 ) ;
392
392
}
393
393
else
Original file line number Diff line number Diff line change 32
32
// Можно задать все значения или принять номера сборки и редакции по умолчанию
33
33
// используя "*", как показано ниже:
34
34
// [assembly: AssemblyVersion("1.0.*")]
35
- [ assembly: AssemblyVersion ( "2.4.0 .0" ) ]
36
- [ assembly: AssemblyFileVersion ( "2.4.0 .0" ) ]
35
+ [ assembly: AssemblyVersion ( "2.4.1 .0" ) ]
36
+ [ assembly: AssemblyFileVersion ( "2.4.1 .0" ) ]
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ public DfTimer()
11
11
{
12
12
ItemKey = "d" + Path . GetRandomFileName ( ) . Replace ( "." , "" ) ;
13
13
DeclarativeForms . AddToHashtable ( ItemKey , this ) ;
14
- Interval = 1000 ;
15
14
}
16
15
17
16
public PropertyInfo this [ string p1 ]
@@ -27,7 +26,7 @@ public string ItemKey
27
26
private set { itemKey = value ; }
28
27
}
29
28
30
- private int interval ;
29
+ public int interval { get ; set ; } = 1000 ;
31
30
[ ContextProperty ( "Интервал" , "Interval" ) ]
32
31
public int Interval
33
32
{
@@ -43,7 +42,7 @@ public bool Enabled
43
42
private set { enabled = value ; }
44
43
}
45
44
46
- public DfAction tick ;
45
+ public DfAction tick { get ; set ; }
47
46
[ ContextProperty ( "ПриСрабатыванииТаймера" , "Tick" ) ]
48
47
public DfAction Tick
49
48
{
Original file line number Diff line number Diff line change 24
24
< p style ="margin-left: 40px; "> Версия 0.3.0.0 библиотеки вышла 01 октября 2024 г. Её можно считать первой более менее наполненной версией.</ p >
25
25
< p style ="margin-left: 40px; "> Справку к версиям можно найти в каталоге ..\OSDFormsRu\, скачав соответствующий релиз с < a href ="https://github.com/ahyahy/OneScriptDeclarativeForms " target ="_blank "> GitHub.</ a > </ p >
26
26
27
+ < hr style ="border-color: lightgray; margin-left: 40px; margin-right: 40px; ">
28
+ < p style ="margin-left: 40px; "> Версия 2.4.1.0 - < a href ="OneScriptDeclarativeForms2_4_1_0.zip "> < big > < span style ="font-weight: bold; "> < button > скачать</ button > </ span > </ big > </ a > </ p >
29
+ < div style ="margin-left: 40px; "> </ div >
30
+ < div style ="margin-left: 40px; ">
31
+ < details > < summary > Описание</ summary >
32
+ < div style ="margin-left: 40px; ">
33
+ < br > - Исправлена ошибка при использовании пробела в полном имени стартового сценария (для linux)
34
+ < br > - Исправлена ошибка обработки события < B > Таймер.ПриСрабатыванииТаймера (Timer.Tick)</ B >
35
+ </ div >
36
+ </ details >
37
+ </ div >
38
+
27
39
< hr style ="border-color: lightgray; margin-left: 40px; margin-right: 40px; ">
28
40
< p style ="margin-left: 40px; "> Версия 2.4.0.0 - < a href ="OneScriptDeclarativeForms2_4_0_0.zip "> < big > < span style ="font-weight: bold; "> < button > скачать</ button > </ span > </ big > </ a > </ p >
29
41
< div style ="margin-left: 40px; "> </ div >
Original file line number Diff line number Diff line change 3523
3523
| {
3524
3524
| ItemKey = ""d"" + Path.GetRandomFileName().Replace(""."", """");
3525
3525
| DeclarativeForms.AddToHashtable(ItemKey, this);
3526
- | Interval = 1000;
3527
3526
| }
3528
3527
|
3529
3528
| public PropertyInfo this[string p1]
3539
3538
| private set { itemKey = value; }
3540
3539
| }
3541
3540
|
3542
- | private int interval;
3541
+ | public int interval { get; set; } = 1000 ;
3543
3542
| [ContextProperty(""Интервал"", ""Interval"")]
3544
3543
| public int Interval
3545
3544
| {
3555
3554
| private set { enabled = value; }
3556
3555
| }
3557
3556
|
3558
- | public DfAction tick;
3557
+ | public DfAction tick { get; set; }
3559
3558
| [ContextProperty(""ПриСрабатыванииТаймера"", ""Tick"")]
3560
3559
| public DfAction Tick
3561
3560
| {
16589
16588
| if (!isWin)
16590
16589
| {
16591
16590
| process.StartInfo.FileName = DeclarativeForms._nw;
16592
- | process.StartInfo.Arguments = DeclarativeForms.pathStartupScript;
16591
+ | process.StartInfo.Arguments = ""\u0022"" + DeclarativeForms.pathStartupScript + ""\u0022"";
16593
16592
| System.Threading.Thread.Sleep(2000);
16594
16593
| }
16595
16594
| else
You can’t perform that action at this time.
0 commit comments