static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); FormNavigator.TransitionSpeed = Properties.Settings.Default.TransitionSpeed; FormNavigator.OpenForm <LoginFrm>(null); Application.Run(); }
void Start() { formNavigator = GameObject.Find("FormNavigator").GetComponent <FormNavigator> (); copy = CopyFormatter.AddWrongPronounsToString(EmailCopy.emailCopy); GetWidthMeasurements(); GetWords(); GenerateWords(); Pronoun.OnPronounCaught += this.GenerateGrid; }
internal void MoveToDialog(string dest) { if (string.IsNullOrEmpty(dest)) { MessageBox.Show( @"Местоположение неизвестно." + Environment.NewLine + @"Сначала посмотрите на карту!", AppVars.AppVersion.ProductShortVersion, MessageBoxButtons.OK, MessageBoxIcon.Stop); return; } if (buttonNavigator.Checked) { buttonNavigator.Checked = false; AppVars.AutoMoving = false; try { if (AppVars.MainForm != null) { AppVars.MainForm.BeginInvoke( new ReloadMainPhpInvokeDelegate(AppVars.MainForm.ReloadMainPhpInvoke), new object[] { }); } } catch (InvalidOperationException) { } } else { using (var ff = new FormNavigator(dest, null, null, null)) { if (ff.ShowDialog() != DialogResult.OK) { return; } buttonNavigator.Checked = true; UpdateFishOff(); try { if (AppVars.MainForm != null) { AppVars.MainForm.BeginInvoke( new ReloadMainPhpInvokeDelegate(AppVars.MainForm.ReloadMainPhpInvoke), new object[] { }); } } catch (InvalidOperationException) { } } } }
public void ExecuteBackClick() { FormNavigator.OpenForm <MainFrm>(this); }
public NavScriptManager(FormNavigator form) { _formnavigator = form; }
private void btn_Tables_Click(object sender, EventArgs e) { FormNavigator.OpenForm <RoboDesk.TablesFrm>(this); }
private void backArrowControl1_Click(object sender, EventArgs e) { FormNavigator.OpenForm <RoboDesk.LoginFrm>(this); }
// Start is called before the first frame update void Start() { formNavigator = GameObject.Find("FormNavigator").GetComponent <FormNavigator> (); GenerateSpeech(); }