C# Class DiabloApp.Form1

Datei anzeigen Open project: Afkbio/diabloitemcapture

Public Properties

Property Type Description
folderBrowserDialog1 System.Windows.Forms.FolderBrowserDialog
listBox1 System.Windows.Forms.ListBox
richTextBox3 System.Windows.Forms.RichTextBox
textBox1 System.Windows.Forms.TextBox

Public Methods

Method Description
CaptureScreen ( ) : void
CountStringOccurrences ( string text, string pattern ) : int
FindHeight ( Bitmap image ) : Bitmap
FindWidth ( Bitmap imagez ) : Bitmap
Form1 ( ) : System
GetItemData ( string Idata, string Sdata ) : string
GetItemStatPos ( string GetSPos ) : void
GetItemTypePos ( string GetTypelolPos ) : void
ItemMaxData ( string ItemPosX, string ItemPosY ) : string
PostToImgur ( string imagFilePath, string apiKey ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
DisplayItemValue ( string inputvalue ) : void
Form1_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RefreshList ( ) : void
RefreshListFirst ( ) : void
button1_Click ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
button5_Click ( object sender, EventArgs e ) : void
button6_Click ( object sender, EventArgs e ) : void
button7_Click ( object sender, EventArgs e ) : void
button8_Click ( object sender, EventArgs e ) : void
checkBox1_CheckedChanged ( object sender, EventArgs e ) : void
clickcombo ( ) : void
comboBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBox3_SelectedIndexChanged ( object sender, EventArgs e ) : void
cropImage ( Bitmap imga, Rectangle cropArea ) : Bitmap
gkh_KeyDown ( object sender, KeyEventArgs e ) : void
itemType ( ) : void
linkLabel1_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void
listBox1_KeyDown ( object sender, KeyEventArgs e ) : void
listBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
pictureBox2_MouseDown ( object sender, MouseEventArgs e ) : void
pictureBox2_MouseMove ( object sender, MouseEventArgs e ) : void
pictureBox2_MouseUp ( object sender, MouseEventArgs e ) : void
pictureBox2_Paint ( object sender, PaintEventArgs e ) : void

Method Details

CaptureScreen() public method

public CaptureScreen ( ) : void
return void

CountStringOccurrences() public static method

public static CountStringOccurrences ( string text, string pattern ) : int
text string
pattern string
return int

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

FindHeight() public method

public FindHeight ( Bitmap image ) : Bitmap
image Bitmap
return Bitmap

FindWidth() public method

public FindWidth ( Bitmap imagez ) : Bitmap
imagez Bitmap
return Bitmap

Form1() public method

public Form1 ( ) : System
return System

GetItemData() public method

public GetItemData ( string Idata, string Sdata ) : string
Idata string
Sdata string
return string

GetItemStatPos() public method

public GetItemStatPos ( string GetSPos ) : void
GetSPos string
return void

GetItemTypePos() public method

public GetItemTypePos ( string GetTypelolPos ) : void
GetTypelolPos string
return void

ItemMaxData() public method

public ItemMaxData ( string ItemPosX, string ItemPosY ) : string
ItemPosX string
ItemPosY string
return string

PostToImgur() public method

public PostToImgur ( string imagFilePath, string apiKey ) : void
imagFilePath string
apiKey string
return void

Property Details

folderBrowserDialog1 public_oe property

public System.Windows.Forms.FolderBrowserDialog folderBrowserDialog1
return System.Windows.Forms.FolderBrowserDialog

listBox1 public_oe property

public System.Windows.Forms.ListBox listBox1
return System.Windows.Forms.ListBox

richTextBox3 public_oe property

public System.Windows.Forms.RichTextBox richTextBox3
return System.Windows.Forms.RichTextBox

textBox1 public_oe property

public System.Windows.Forms.TextBox textBox1
return System.Windows.Forms.TextBox