Example #1
0
 private void RebuildBtn_Click(object sender, EventArgs e)
 {
     if (DialogResult.Yes != MessageBox.Show("Are you sure you wish to rebuild the container? (Overwriting File!)", "Replace Textures", MessageBoxButtons.YesNo))
     {
         return;
     }
     if (this._texFile.method_5())
     {
         this._texFile.method_6();
     }
     else
     {
         string     toolTipText = this.DataFolder_TreeView.SelectedNode.ToolTipText;
         zzPakNode2 @class      = File.Exists(toolTipText.Replace(".pak.xen", ".pab.xen")) ? new zzPabNode(toolTipText, toolTipText.Replace(".pak.xen", ".pab.xen"), false) : new zzPakNode2(toolTipText, false);
         @class.method_11((int)this.DataFolder_TreeView.SelectedNode.Tag).imethod_17(this._texFile.ToStream().ReadEverything());
         @class.vmethod_1();
         @class.Dispose();
     }
     this.ImgList.Items.Clear();
     this.method_2();
 }