Exemplo n.º 1
0
 // Token: 0x06001AE0 RID: 6880
 // RVA: 0x00085728 File Offset: 0x00083928
 protected override void OnShown(EventArgs e)
 {
     this.editor_0 = Editor.editor_0;
     if (Class341.class606_25)
     {
         this.editor_0.bool_2 = true;
     }
     this.editor_0.method_16(false);
     if (this.editor_0.class371_0.list_1.Count == 1)
     {
         Class304 class = this.editor_0.class371_0.list_1[0];
Exemplo n.º 2
0
 // Token: 0x06001B17 RID: 6935
 // RVA: 0x000886D8 File Offset: 0x000868D8
 protected override void OnShown(EventArgs e)
 {
     this.editor_0 = Editor.editor_0;
     List<Class704> list_ = this.editor_0.class872_0.list_2;
     foreach (Class704 current in list_)
     {
         this.lb_sample.Items.Add(current);
         if (current.int_2 == Class331.int_7)
         {
             this.lb_sample.SetSelected(this.lb_sample.Items.Count - 1, true);
         }
     }
     base.OnShown(e);
 }
Exemplo n.º 3
0
 // Token: 0x06001ACD RID: 6861
 // RVA: 0x00084A04 File Offset: 0x00082C04
 internal ConvertToStream(Class321 class321_1)
 {
     this.editor_0 = Editor.editor_0;
     this.InitializeComponent();
     this.class321_0 = class321_1;
     this.bool_1 = true;
     int int_ = this.editor_0.int_6;
     if (int_ != 3)
     {
         if (int_ != 6)
         {
             this.domainBeatSnap.SelectedIndex = 3;
             goto IL_55;
         }
     }
     this.domainBeatSnap.SelectedIndex = 2;
     IL_55:
     this.bool_1 = false;
 }
Exemplo n.º 4
0
 // Token: 0x060032BF RID: 12991
 // RVA: 0x00025804 File Offset: 0x00023A04
 protected override void Dispose(bool disposing)
 {
     this.editor_0 = null;
     Class115.editorControl_0 = null;
     if (disposing && this.icontainer_0 != null)
     {
         this.icontainer_0.Dispose();
     }
     base.Dispose(disposing);
 }
Exemplo n.º 5
0
 // Token: 0x0600325B RID: 12891
 // RVA: 0x0002518E File Offset: 0x0002338E
 internal void method_8()
 {
     this.editor_0 = null;
 }
Exemplo n.º 6
0
 // Token: 0x0600325A RID: 12890
 // RVA: 0x00025185 File Offset: 0x00023385
 internal void method_7(Editor editor_1)
 {
     this.editor_0 = editor_1;
 }
Exemplo n.º 7
0
 // Token: 0x06003257 RID: 12887
 // RVA: 0x00025137 File Offset: 0x00023337
 internal void method_4(Editor.GridSizes gridSizes_0)
 {
     this.mostSparseToolStripMenuItem.Checked = (gridSizes_0 == Editor.GridSizes.Large);
     this.gridSize2ToolStripMenuItem.Checked = (gridSizes_0 == Editor.GridSizes.Medium);
     this.gridSize3ToolStripMenuItem.Checked = (gridSizes_0 == Editor.GridSizes.Small);
     this.mostPreciseToolStripMenuItem.Checked = (gridSizes_0 == Editor.GridSizes.Tiny);
 }
Exemplo n.º 8
0
 // Token: 0x06002700 RID: 9984
 // RVA: 0x0001E2CE File Offset: 0x0001C4CE
 internal Class375(Editor editor_1)
     : base(editor_1)
 {
     this.class911_1 = new Class911();
 }
Exemplo n.º 9
0
 // Token: 0x06001AAC RID: 6828
 // RVA: 0x000833E4 File Offset: 0x000815E4
 internal Class368(Editor editor_1)
 {
     this.editor_0 = editor_1;
     this.class301_0 = (editor_1.class297_0 as Class301);
     this.class872_0 = editor_1.class872_0;
     this.dictionary_0 = new Dictionary<string, string>();
     this.dictionary_1 = new Dictionary<string, double>();
     this.dictionary_2 = new Dictionary<string, bool>();
     this.dictionary_3 = new Dictionary<string, bool>();
     this.list_0 = new List<Class367>();
     this.list_1 = new List<string>();
     this.class305_0 = new Class305[10];
 }
 // Token: 0x060032D5 RID: 13013
 // RVA: 0x00154F74 File Offset: 0x00153174
 internal BeatmapSubmissionSystem(Editor editor_1, bool bool_8, bool bool_9)
 {
     this.editor_0 = editor_1;
     this.bool_1 = bool_8;
     this.bool_2 = bool_9;
     this.InitializeComponent();
     Editor.smethod_3(true);
     this.checkLoad.Checked = Class341.class606_35;
     this.checkNotify.Checked = Class341.class606_48;
     List<Class296> arg_8F_0 = Class466.list_3;
     if (BeatmapSubmissionSystem.predicate_0 == null)
     {
         BeatmapSubmissionSystem.predicate_0 = new Predicate<Class296>(BeatmapSubmissionSystem.smethod_3);
     }
     this.list_0 = arg_8F_0.FindAll(BeatmapSubmissionSystem.predicate_0);
     Class809.smethod_37(bStatus.Submitting, false);
     this.backgroundWorker_0.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.backgroundWorker_0_RunWorkerCompleted);
     this.backgroundWorker_0.DoWork += new DoWorkEventHandler(this.backgroundWorker_0_DoWork);
     this.backgroundWorker_0.RunWorkerAsync();
 }
Exemplo n.º 11
0
 // Token: 0x060026D0 RID: 9936
 // RVA: 0x000EB84C File Offset: 0x000E9A4C
 internal AiModWindow(Editor editor_1)
 {
     this.editor_0 = editor_1;
     this.InitializeComponent();
     base.StartPosition = FormStartPosition.CenterScreen;
     base.method_4(new EventHandler<EventArgs12>(this.method_12));
     base.method_5(new EventHandler(this.method_15));
     this.pnlTop.method_0(true);
     this.method_15(this, EventArgs.Empty);
     this.dataGridView1.ColumnHeadersHeight = (int)(23f * Class611.smethod_0(this, false) / 96f);
 }
Exemplo n.º 12
0
 // Token: 0x06001B05 RID: 6917
 // RVA: 0x0008779C File Offset: 0x0008599C
 protected override void OnShown(EventArgs e)
 {
     this.editor_0 = Editor.editor_0;
     if (SampleImport.list_0 == null)
     {
         SampleImport.list_0 = Class331.smethod_40();
     }
     this.lb_sample.Items.Add("None");
     this.lb_sample.Items.AddRange(SampleImport.list_0.ToArray());
     base.OnShown(e);
 }
Exemplo n.º 13
0
 // Token: 0x060032C6 RID: 12998
 // RVA: 0x00154884 File Offset: 0x00152A84
 internal OpenDialog(bool bool_2)
 {
     this.editor_0 = Editor.editor_0;
     this.InitializeComponent();
     this.bool_1 = bool_2;
     if (bool_2)
     {
         this.checkBoxAutosave.Visible = false;
     }
     base.TopLevel = true;
     this.class26_0 = new Class26<Class865>();
     List<string> list = new List<string>(Class466.Current.bool_10 ? Class466.Current.method_44().method_16() : Directory.GetFiles(Class466.Current.method_3(), "*.osu"));
     if (Class466.Current.method_8() != null)
     {
         string[] files = Directory.GetFiles(Class466.Current.method_8(), "*.osu");
         string[] array = files;
         for (int i = 0; i < array.Length; i++)
         {
             string string_0 = array[i];
             if (!list.Exists((string string_1) => string_1.EndsWith(Path.GetFileName(string_0))))
             {
                 list.Add(string_0);
             }
         }
     }
     if (Class466.Current.method_8() != null)
     {
         Class466.smethod_14(Class466.Current.method_8());
     }
     foreach (string current in list)
     {
         Class865 class2 = new Class865();
         Class296 class3 = Class466.smethod_24(Path.GetFileName(current));
         if (class3 == null)
         {
             class2.string_1 = "?NEW? " + Path.GetFileName(current);
             class2.string_0 = Path.GetFileName(current);
             class2.double_0 = 10.0;
         }
         else
         {
             class2.class296_0 = class3;
             class2.string_0 = class3.string_9;
             class2.string_1 = string.Format("{0}", class3.string_14);
             class2.double_0 = class3.method_27();
         }
         this.class26_0.method_0(class2);
     }
     foreach (Class865 current2 in this.class26_0)
     {
         this.listBox1.Items.Add(current2);
     }
     if (!bool_2)
     {
         this.method_9(Class466.Current);
         return;
     }
     Class865 class4 = new Class865();
     class4.string_1 = "None";
     this.class26_0.Insert(0, class4);
     this.listBox1.Items.Insert(0, class4);
     if (this.editor_0.class371_0.class297_1 == null)
     {
         this.listBox1.SelectedIndex = 0;
         return;
     }
     this.method_9(this.editor_0.class371_0.class297_1.class296_0);
 }
Exemplo n.º 14
0
 // Token: 0x0600321E RID: 12830
 // RVA: 0x00149384 File Offset: 0x00147584
 internal SongSetup(bool bool_7, bool bool_8)
 {
     this.bool_1 = bool_7;
     this.bool_2 = bool_8;
     this.editor_0 = Editor.editor_0;
     this.InitializeComponent();
     if (Application.RenderWithVisualStyles)
     {
         foreach (TabPage tabPage in this.tabControl1.TabPages)
         {
             tabPage.BackColor = SystemColors.ControlLightLight;
         }
         foreach (Control control in base.Controls)
         {
             if (control is TrackBar)
             {
                 TrackBar trackBar = (TrackBar)control;
                 trackBar.BackColor = SystemColors.ControlLightLight;
             }
         }
     }
     base.DialogResult = DialogResult.Cancel;
 }
Exemplo n.º 15
0
 // Token: 0x06001B39 RID: 6969
 // RVA: 0x00016D17 File Offset: 0x00014F17
 protected override void OnShown(EventArgs e)
 {
     this.editor_0 = Editor.editor_0;
     this.amount.SelectAll();
     base.OnShown(e);
 }
Exemplo n.º 16
0
 // Token: 0x06001B2D RID: 6957
 // RVA: 0x000895B4 File Offset: 0x000877B4
 protected override void OnShown(EventArgs e)
 {
     this.editor_0 = Editor.editor_0;
     if (Class341.class606_25)
     {
         this.editor_0.bool_2 = true;
     }
     this.editor_0.method_16(false);
     this.editor_0.bool_3 = true;
     this.nudCount.Select();
     this.trDS.Value = (int)(Class341.class607_2 * 10.0);
     if (this.trDS.Value < 1)
     {
         this.trDS.Value = 1;
     }
     this.nudCount.Maximum = this.editor_0.class371_0.method_39((double)this.trDS.Value / 10.0);
     this.lblDSVal.Text = string.Format("{0:0.0#}×", Class341.class607_2);
     this.editor_0.class371_0.vmethod_17();
     this.editor_0.class371_0.method_48(Class371.Enum42.const_0);
     this.editor_0.bool_3 = false;
     base.OnShown(e);
     this.method_9();
 }
Exemplo n.º 17
0
 // Token: 0x06002748 RID: 10056
 // RVA: 0x000F2FB0 File Offset: 0x000F11B0
 public Class376(Editor editor_1)
     : base(editor_1)
 {
 }
Exemplo n.º 18
0
 // Token: 0x06001B69 RID: 7017
 // RVA: 0x0008AA50 File Offset: 0x00088C50
 public Class371(Editor editor_1)
     : base(editor_1)
 {
     this.list_1 = new List<Class304>();
     this.list_0 = new List<Class304>();
     this.bool_19 = (editor_1.playModes_0 == PlayModes.Taiko);
     Class570.smethod_2(new Class570.Delegate44(this.method_28));
 }
Exemplo n.º 19
0
 // Token: 0x06001B49 RID: 6985
 // RVA: 0x00016DAD File Offset: 0x00014FAD
 internal Class370(Editor editor_1)
 {
     this.editor_0 = editor_1;
     this.class297_0 = editor_1.class297_0;
     this.class911_0 = new Class911(true);
 }
Exemplo n.º 20
0
 // Token: 0x06002669 RID: 9833
 // RVA: 0x000E737C File Offset: 0x000E557C
 internal Editor(Class114 class114_1)
     : base(class114_1)
 {
     if (Class115.editorControl_0 == null)
     {
         Class115.editorControl_0 = new EditorControl();
     }
     Editor.editor_0 = this;
 }
Exemplo n.º 21
0
 // Token: 0x06001B1D RID: 6941
 // RVA: 0x00088A88 File Offset: 0x00086C88
 protected override void OnShown(EventArgs e)
 {
     this.editor_0 = Editor.editor_0;
     if (Class341.class606_25)
     {
         this.editor_0.bool_2 = true;
     }
     this.editor_0.method_16(false);
     this.float_0 = 1f;
     this.method_3(1f, true);
     this.txtScale.SelectAll();
     base.OnShown(e);
 }
Exemplo n.º 22
0
 // Token: 0x06001ACE RID: 6862
 // RVA: 0x00084A70 File Offset: 0x00082C70
 protected override void OnShown(EventArgs e)
 {
     this.editor_0 = Editor.editor_0;
     if (Class341.class606_25)
     {
         this.editor_0.bool_2 = true;
     }
     this.editor_0.method_16(false);
     this.editor_0.method_65();
     this.editor_0.class297_0.Remove(this.class321_0, false);
     this.method_11();
     base.OnShown(e);
 }