C# Класс Spryt.MainForm

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
ChangeImage void
CreateNewImage ImageInfo
InitializeComponent void
OpenImage ImageInfo
canvasTabs_SelectedIndexChanged void
canvasTabs_TabClosed void
colourPalettePanel_PaletteChanged void
colourPalettePanel_SelectedColourChanged void
editToolStripMenuItem_DropDownOpening void
fileToolStripMenuItem_DropDownOpening void
gridSizeToolStripMenuItem_Click void
newToolStripMenuItem_Click void
openToolStripMenuItem_Click void
redoToolStripMenuItem_Click void
saveAllToolStripMenuItem_Click void
saveAsToolStripMenuItem_Click void
saveToolStripMenuItem_Click void
showGridToolStripMenuItem_Click void
tiledViewToolStripMenuItem_Click void
toolPanel_CurrentToolChanged void
undoToolStripMenuItem_Click void
viewToolStripMenuItem_DropDownOpening void

Открытые методы

Метод Описание
MainForm ( ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnLoad ( EventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void

Приватные методы

Метод Описание
ChangeImage ( ImageInfo image ) : void
CreateNewImage ( int width = 16, int height = 16, string name = "untitled" ) : ImageInfo
InitializeComponent ( ) : void

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

OpenImage ( string filePath ) : ImageInfo
canvasTabs_SelectedIndexChanged ( object sender, EventArgs e ) : void
canvasTabs_TabClosed ( object sender, ClosedEventArgs e ) : void
colourPalettePanel_PaletteChanged ( object sender, PaletteChangedEventArgs e ) : void
colourPalettePanel_SelectedColourChanged ( object sender, SelectedColourChangedEventArgs e ) : void
editToolStripMenuItem_DropDownOpening ( object sender, EventArgs e ) : void
fileToolStripMenuItem_DropDownOpening ( object sender, EventArgs e ) : void
gridSizeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
newToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
redoToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
showGridToolStripMenuItem_Click ( object sender, EventArgs e ) : void
tiledViewToolStripMenuItem_Click ( object sender, EventArgs e ) : void
toolPanel_CurrentToolChanged ( object sender, CurrentToolChangedEventArgs e ) : void
undoToolStripMenuItem_Click ( object sender, EventArgs e ) : void
viewToolStripMenuItem_DropDownOpening ( object sender, EventArgs e ) : void

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

MainForm() публичный Метод

public MainForm ( ) : System
Результат System

OnLoad() защищенный Метод

protected OnLoad ( EventArgs e ) : void
e EventArgs
Результат void

OnMouseWheel() защищенный Метод

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Результат void