@@ -781,7 +781,6 @@ private void ToggleSwitch33_Click(object sender, EventArgs e)
781781 public MainForm ( SplashForm _splashForm , bool disableIndicium = false , bool disableHostsEditor = false , bool disableCommonApps = false , bool disableUWPApps = false , bool disableStartups = false , bool disableCleaner = false , bool disableIntegrator = false , bool disablePinger = false )
782782 {
783783 InitializeComponent ( ) ;
784- WindowState = FormWindowState . Maximized ;
785784
786785 CultureInfo . DefaultThreadCurrentCulture = new CultureInfo ( "en-US" ) ;
787786 CultureInfo . DefaultThreadCurrentUICulture = new CultureInfo ( "en-US" ) ;
@@ -1064,6 +1063,8 @@ public MainForm(SplashForm _splashForm, bool disableIndicium = false, bool disab
10641063 //InitNetworkMonitoring();
10651064 LoadTranslation ( ) ;
10661065 EnableToggleEvents ( ) ;
1066+
1067+ WindowState = FormWindowState . Maximized ;
10671068 }
10681069
10691070 private void LoadAvailableFonts ( )
@@ -1274,6 +1275,10 @@ private void LoadTranslation()
12741275 {
12751276 boxLang . Text = Constants . PERSIAN ;
12761277 }
1278+ if ( Options . CurrentOptions . LanguageCode == LanguageCode . NE )
1279+ {
1280+ boxLang . Text = Constants . NEPALI ;
1281+ }
12771282 }
12781283
12791284 private void GetHardwareSpecs ( )
@@ -2304,6 +2309,10 @@ private void LoadWindowsXIToggleStates()
23042309 private void Main_Load ( object sender , EventArgs e )
23052310 {
23062311 FixTabHeaderWidth ( ) ;
2312+ if ( Options . CurrentOptions . AutoStart && Options . CurrentOptions . EnableTray )
2313+ {
2314+ this . Hide ( ) ;
2315+ }
23072316 }
23082317
23092318 private void GetDesktopItems ( )
@@ -4418,6 +4427,11 @@ private void boxLang_SelectedIndexChanged(object sender, EventArgs e)
44184427 picFlag . Image = Properties . Resources . iran ;
44194428 Options . CurrentOptions . LanguageCode = LanguageCode . FA ;
44204429 }
4430+ else if ( boxLang . Text == Constants . NEPALI )
4431+ {
4432+ picFlag . Image = Properties . Resources . nepal ;
4433+ Options . CurrentOptions . LanguageCode = LanguageCode . NE ;
4434+ }
44214435
44224436 Options . SaveSettings ( ) ;
44234437 Options . LoadTranslation ( ) ;
0 commit comments