📄 sequency.java
字号:
import com.ms.wfc.app.*;
import com.ms.wfc.core.*;
import com.ms.wfc.ui.*;
import com.ms.wfc.html.*;
/**
* This class can take a variable number of parameters on the command
* line. Program execution begins with the main() method. The class
* constructor is not invoked unless an object of type 'sequency'
* created in the main() method.
*/
public class sequency extends Form
{
public sequency()
{
super();
// Required for Visual J++ Form Designer support
initForm();
// TODO: Add any constructor code after initForm call
}
/**
* sequency overrides dispose so it can clean up the
* component list.
*/
public void dispose()
{
super.dispose();
components.dispose();
}
/**
* NOTE: The following code is required by the Visual J++ form
* designer. It can be modified using the form editor. Do not
* modify it using the code editor.
*/
Container components = new Container();
GroupBox groupBox1 = new GroupBox();
PictureBox pictureBox1 = new PictureBox();
Button button1 = new Button();
Button button2 = new Button();
private void initForm()
{
// NOTE: This form is storing resource information in an
// external file. Do not modify the string parameter to any
// resources.getObject() function call. For example, do not
// modify "foo1_location" in the following line of code
// even if the name of the Foo object changes:
// foo1.setLocation((Point)resources.getObject("foo1_location"));
IResourceManager resources = new ResourceManager(this, "sequency");
groupBox1.setLocation(new Point(8, 0));
groupBox1.setSize(new Point(544, 608));
groupBox1.setTabIndex(0);
groupBox1.setTabStop(false);
groupBox1.setText("");
pictureBox1.setLocation(new Point(8, 16));
pictureBox1.setSize(new Point(528, 584));
pictureBox1.setTabIndex(0);
pictureBox1.setTabStop(false);
pictureBox1.setText("pictureBox1");
pictureBox1.setImage((Bitmap)resources.getObject("pictureBox1_image"));
button1.setLocation(new Point(32, 616));
button1.setSize(new Point(96, 24));
button1.setTabIndex(1);
button1.setText("确定");
button1.setDialogResult(DialogResult.OK);
this.setText("程序流程");
this.setAcceptButton(button1);
this.setAutoScaleBaseSize(new Point(6, 12));
this.setBorderStyle(FormBorderStyle.FIXED_DIALOG);
this.setClientSize(new Point(559, 650));
this.setIcon((Icon)resources.getObject("this_icon"));
this.setMaximizeBox(false);
this.setStartPosition(FormStartPosition.CENTER_SCREEN);
button2.setLocation(new Point(424, 616));
button2.setSize(new Point(104, 24));
button2.setTabIndex(2);
button2.setText("取消");
button2.setDialogResult(DialogResult.CANCEL);
this.setNewControls(new Control[] {
button2,
button1,
groupBox1});
groupBox1.setNewControls(new Control[] {
pictureBox1});
}
/**
* The main entry point for the application.
*
* @param args Array of parameters passed to the application
* via the command line.
*/
public static void main(String args[])
{
Application.run(new sequency());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -