File tree Expand file tree Collapse file tree 6 files changed +20
-10
lines changed
DeclarativeForms/DeclarativeForms Expand file tree Collapse file tree 6 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ public void Open()
387387 if ( ! isWin )
388388 {
389389 process . StartInfo . FileName = DeclarativeForms . _nw ;
390- process . StartInfo . Arguments = DeclarativeForms . pathStartupScript ;
390+ process . StartInfo . Arguments = " \u0022 " + DeclarativeForms . pathStartupScript + " \u0022 " ;
391391 System . Threading . Thread . Sleep ( 2000 ) ;
392392 }
393393 else
Original file line number Diff line number Diff line change 3232// Можно задать все значения или принять номера сборки и редакции по умолчанию
3333// используя "*", как показано ниже:
3434// [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()
1111 {
1212 ItemKey = "d" + Path . GetRandomFileName ( ) . Replace ( "." , "" ) ;
1313 DeclarativeForms . AddToHashtable ( ItemKey , this ) ;
14- Interval = 1000 ;
1514 }
1615
1716 public PropertyInfo this [ string p1 ]
@@ -27,7 +26,7 @@ public string ItemKey
2726 private set { itemKey = value ; }
2827 }
2928
30- private int interval ;
29+ public int interval { get ; set ; } = 1000 ;
3130 [ ContextProperty ( "Интервал" , "Interval" ) ]
3231 public int Interval
3332 {
@@ -43,7 +42,7 @@ public bool Enabled
4342 private set { enabled = value ; }
4443 }
4544
46- public DfAction tick ;
45+ public DfAction tick { get ; set ; }
4746 [ ContextProperty ( "ПриСрабатыванииТаймера" , "Tick" ) ]
4847 public DfAction Tick
4948 {
Original file line number Diff line number Diff line change 2424 < p style ="margin-left: 40px; "> Версия 0.3.0.0 библиотеки вышла 01 октября 2024 г. Её можно считать первой более менее наполненной версией.</ p >
2525 < p style ="margin-left: 40px; "> Справку к версиям можно найти в каталоге ..\OSDFormsRu\, скачав соответствующий релиз с < a href ="https://github.com/ahyahy/OneScriptDeclarativeForms " target ="_blank "> GitHub.</ a > </ p >
2626
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+
2739 < hr style ="border-color: lightgray; margin-left: 40px; margin-right: 40px; ">
2840 < 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 >
2941 < div style ="margin-left: 40px; "> </ div >
Original file line number Diff line number Diff line change 35233523 | {
35243524 | ItemKey = ""d"" + Path.GetRandomFileName().Replace(""."", """");
35253525 | DeclarativeForms.AddToHashtable(ItemKey, this);
3526- | Interval = 1000;
35273526 | }
35283527 |
35293528 | public PropertyInfo this[string p1]
35393538 | private set { itemKey = value; }
35403539 | }
35413540 |
3542- | private int interval;
3541+ | public int interval { get; set; } = 1000 ;
35433542 | [ContextProperty(""Интервал"", ""Interval"")]
35443543 | public int Interval
35453544 | {
35553554 | private set { enabled = value; }
35563555 | }
35573556 |
3558- | public DfAction tick;
3557+ | public DfAction tick { get; set; }
35593558 | [ContextProperty(""ПриСрабатыванииТаймера"", ""Tick"")]
35603559 | public DfAction Tick
35613560 | {
1658916588 | if (!isWin)
1659016589 | {
1659116590 | process.StartInfo.FileName = DeclarativeForms._nw;
16592- | process.StartInfo.Arguments = DeclarativeForms.pathStartupScript;
16591+ | process.StartInfo.Arguments = ""\u0022"" + DeclarativeForms.pathStartupScript + ""\u0022"";
1659316592 | System.Threading.Thread.Sleep(2000);
1659416593 | }
1659516594 | else
You can’t perform that action at this time.
0 commit comments